aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2008-04-29 20:10:18 +0000
committerAnatoly Sokolov <aesok@gcc.gnu.org>2008-04-30 00:10:18 +0400
commitcf2758e3d4b726640ddc27628506700ffa623009 (patch)
treec243c5562e2946fe318ad8660fb2fe5fb872b4c6 /gcc
parentf318ff0a6fda0434e3fc62b77dd921af34cf5162 (diff)
downloadgcc-cf2758e3d4b726640ddc27628506700ffa623009.zip
gcc-cf2758e3d4b726640ddc27628506700ffa623009.tar.gz
gcc-cf2758e3d4b726640ddc27628506700ffa623009.tar.bz2
avr.md (*sbrx_branch, [...]): Add mode to zero_extract.
* config/avr/avr.md (*sbrx_branch, *sbix_branch, *sbix_branch_tmp): Add mode to zero_extract. (sign bit tests peepholes): (Ditto.). From-SVN: r134809
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/avr/avr.md18
2 files changed, 15 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9cd2d28..2e29305 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2008-04-29 Paolo Bonzini <bonzini@gnu.org>
+
+ * config/avr/avr.md (*sbrx_branch, *sbix_branch, *sbix_branch_tmp):
+ Add mode to zero_extract.
+ (sign bit tests peepholes): (Ditto.).
+
2008-04-29 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (ix86_builtins): Replace Prescott New
diff --git a/gcc/config/avr/avr.md b/gcc/config/avr/avr.md
index 922c4af..adaeb0e 100644
--- a/gcc/config/avr/avr.md
+++ b/gcc/config/avr/avr.md
@@ -2056,7 +2056,7 @@
[(set (pc)
(if_then_else
(match_operator 0 "eqne_operator"
- [(zero_extract
+ [(zero_extract:QI
(match_operand:QI 1 "register_operand" "r")
(const_int 1)
(match_operand 2 "const_int_operand" "n"))
@@ -2123,9 +2123,9 @@
(label_ref (match_operand 1 "" ""))
(pc)))]
""
- [(set (pc) (if_then_else (eq (zero_extract (match_dup 0)
- (const_int 1)
- (const_int 7))
+ [(set (pc) (if_then_else (eq (zero_extract:QI (match_dup 0)
+ (const_int 1)
+ (const_int 7))
(const_int 0))
(label_ref (match_dup 1))
(pc)))]
@@ -2137,9 +2137,9 @@
(label_ref (match_operand 1 "" ""))
(pc)))]
""
- [(set (pc) (if_then_else (ne (zero_extract (match_dup 0)
- (const_int 1)
- (const_int 7))
+ [(set (pc) (if_then_else (ne (zero_extract:QI (match_dup 0)
+ (const_int 1)
+ (const_int 7))
(const_int 0))
(label_ref (match_dup 1))
(pc)))]
@@ -2518,7 +2518,7 @@
[(set (pc)
(if_then_else
(match_operator 0 "eqne_operator"
- [(zero_extract
+ [(zero_extract:QI
(mem:QI (match_operand 1 "low_io_address_operand" "n"))
(const_int 1)
(match_operand 2 "const_int_operand" "n"))
@@ -2565,7 +2565,7 @@
[(set (pc)
(if_then_else
(match_operator 0 "eqne_operator"
- [(zero_extract
+ [(zero_extract:QI
(mem:QI (match_operand 1 "high_io_address_operand" "n"))
(const_int 1)
(match_operand 2 "const_int_operand" "n"))