From b7de39b780a79145af9fda7eb7569bffeeba6888 Mon Sep 17 00:00:00 2001 From: Georg-Johann Lay Date: Fri, 9 Dec 2011 11:54:29 +0000 Subject: [PATCH] re PR target/51425 (Compiler fails to produce SBIS/SBIC instructions) PR target/51425 * config/avr/avr.md (config/avr/avr.md, *sbix_branch_tmp): Use zero_extract:QIHI instead of zero_extract:HI. From-SVN: r182159 --- gcc/ChangeLog | 6 ++++++ gcc/config/avr/avr.md | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7dfa77fc54d..75fae33482a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-12-09 Georg-Johann Lay + + PR target/51425 + * config/avr/avr.md (config/avr/avr.md, *sbix_branch_tmp): Use + zero_extract:QIHI instead of zero_extract:HI. + 2011-12-09 Jakub Jelinek Andrew Pinski diff --git a/gcc/config/avr/avr.md b/gcc/config/avr/avr.md index 1c79894f184..940a46fe752 100644 --- a/gcc/config/avr/avr.md +++ b/gcc/config/avr/avr.md @@ -4699,7 +4699,7 @@ [(set (pc) (if_then_else (match_operator 0 "eqne_operator" - [(zero_extract:HI + [(zero_extract:QIHI (mem:QI (match_operand 1 "low_io_address_operand" "n")) (const_int 1) (match_operand 2 "const_int_operand" "n")) @@ -4746,7 +4746,7 @@ [(set (pc) (if_then_else (match_operator 0 "eqne_operator" - [(zero_extract:HI + [(zero_extract:QIHI (mem:QI (match_operand 1 "high_io_address_operand" "n")) (const_int 1) (match_operand 2 "const_int_operand" "n")) -- 2.30.2