]> gcc.gnu.org Git - gcc.git/commitdiff
Fix 32 bit host alpha ev6 target failure.
authorJim Wilson <wilson@cygnus.com>
Mon, 19 Jan 1998 18:32:48 +0000 (18:32 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Mon, 19 Jan 1998 18:32:48 +0000 (10:32 -0800)
* alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host.
(print_operand): Handle 0xffffffff on 32 bit host.

From-SVN: r17424

gcc/ChangeLog
gcc/config/alpha/alpha.c

index 5313c3a9ea33911eef6c0ab5146f8df5e8ca0093..4613ac2d14746c0106fb940f5a7744ff6c080f6c 100644 (file)
@@ -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.
index d429b9931e0eb3a5d9f4963cd7fbce68a362f5b9..859683af8e87c1ad8a54e17f0474564f358b7329 100644 (file)
@@ -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
This page took 0.079319 seconds and 5 git commands to generate.