aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2005-08-01 14:07:59 -0700
committerRichard Henderson <rth@gcc.gnu.org>2005-08-01 14:07:59 -0700
commit5671655ef929c56174f48355ba0e74e117006264 (patch)
treee499e40eae98ec666c8f84d2628f3a9a8a84ccd3 /gcc
parent72ce3d4ac1e4cbe6df17edfd13c21727c2b929d2 (diff)
downloadgcc-5671655ef929c56174f48355ba0e74e117006264.zip
gcc-5671655ef929c56174f48355ba0e74e117006264.tar.gz
gcc-5671655ef929c56174f48355ba0e74e117006264.tar.bz2
* config/alpha/predicates.md (and_operand): Test mode of CONST_DOUBLE.
From-SVN: r102639
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/alpha/predicates.md3
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1f64ae3..bb1325e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-08-01 Richard Henderson <rth@redhat.com>
+
+ * config/alpha/predicates.md (and_operand): Test mode of CONST_DOUBLE.
+
2005-08-01 Jan Hubicka <jh@suse.cz>
* i386-protos.h (asm_preferred_eh_data_format): Declare.
diff --git a/gcc/config/alpha/predicates.md b/gcc/config/alpha/predicates.md
index 51f9f60..8b7b8bd 100644
--- a/gcc/config/alpha/predicates.md
+++ b/gcc/config/alpha/predicates.md
@@ -89,7 +89,8 @@
|| (unsigned HOST_WIDE_INT) ~ INTVAL (op) < 0x100
|| zap_mask (INTVAL (op))")
(if_then_else (match_code "const_double")
- (match_test "zap_mask (CONST_DOUBLE_LOW (op))
+ (match_test "GET_MODE (op) == VOIDmode
+ && zap_mask (CONST_DOUBLE_LOW (op))
&& zap_mask (CONST_DOUBLE_HIGH (op))")
(match_operand 0 "register_operand"))))