aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>1998-01-19 18:32:48 +0000
committerJim Wilson <wilson@gcc.gnu.org>1998-01-19 10:32:48 -0800
commit11ea364a691943c03275f081d97c75f75777d83c (patch)
tree6b3b63550bac644a9dfb08a0bd1fbd4608c39741 /gcc
parenta851212aac92c8ae35bb40c876d87e0520fcdf83 (diff)
downloadgcc-11ea364a691943c03275f081d97c75f75777d83c.zip
gcc-11ea364a691943c03275f081d97c75f75777d83c.tar.gz
gcc-11ea364a691943c03275f081d97c75f75777d83c.tar.bz2
Fix 32 bit host alpha ev6 target failure.
* alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host. (print_operand): Handle 0xffffffff on 32 bit host. From-SVN: r17424
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/alpha/alpha.c6
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5313c3a..4613ac2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
Mon Jan 19 11:15:38 1998 Jim Wilson <wilson@cygnus.com>
+ * alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host.
+ (print_operand): Handle 0xffffffff on 32 bit host.
+
* configure.in (thread_file): Rename uses before main loop to
target_thread_file. Initialize to empty in main loop. Set thread_file
to target_thread_file after main loop if not set.
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index d429b99..859683a 100644
--- a/gcc/config/alpha/alpha.c
+++ b/gcc/config/alpha/alpha.c
@@ -475,8 +475,8 @@ mode_mask_operand (op, mode)
return (GET_CODE (op) == CONST_INT
&& (INTVAL (op) == 0xff
|| INTVAL (op) == 0xffff
-#if HOST_BITS_PER_WIDE_INT == 64
|| INTVAL (op) == 0xffffffff
+#if HOST_BITS_PER_WIDE_INT == 64
|| INTVAL (op) == 0xffffffffffffffff
#endif
));
@@ -2278,6 +2278,8 @@ print_operand (file, x, code)
fprintf (file, "b");
else if (GET_CODE (x) == CONST_INT && INTVAL (x) == 0xffff)
fprintf (file, "w");
+ else if (GET_CODE (x) == CONST_INT && INTVAL (x) == 0xffffffff)
+ fprintf (file, "l");
#if HOST_BITS_PER_WIDE_INT == 32
else if (GET_CODE (x) == CONST_DOUBLE
&& CONST_DOUBLE_HIGH (x) == 0
@@ -2288,8 +2290,6 @@ print_operand (file, x, code)
&& CONST_DOUBLE_LOW (x) == -1)
fprintf (file, "q");
#else
- else if (GET_CODE (x) == CONST_INT && INTVAL (x) == 0xffffffff)
- fprintf (file, "l");
else if (GET_CODE (x) == CONST_INT && INTVAL (x) == 0xffffffffffffffff)
fprintf (file, "q");
else if (GET_CODE (x) == CONST_DOUBLE