]> gcc.gnu.org Git - gcc.git/commitdiff
({,non_}short_cint_operand): Use (unsigned HOST_WIDE_INT).
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 17 Feb 1997 13:05:04 +0000 (08:05 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 17 Feb 1997 13:05:04 +0000 (08:05 -0500)
(non_add_cint_operand, includes_rshift_p): Likewise.

From-SVN: r13661

gcc/config/rs6000/rs6000.c

index 60e499d17f0151d902b9906c171f3089ddfebc07..949181676eae16d0835212ffd7c202c0b9b3abd0 100644 (file)
@@ -1,5 +1,5 @@
 /* Subroutines used for code generation on IBM RS/6000.
-   Copyright (C) 1991, 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1991, 93, 94, 95, 96, 1997 Free Software Foundation, Inc.
    Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
 
 This file is part of GNU CC.
@@ -446,7 +446,7 @@ short_cint_operand (op, mode)
      enum machine_mode mode;
 {
   return (GET_CODE (op) == CONST_INT
-         && (unsigned) (INTVAL (op) + 0x8000) < 0x10000);
+         && (unsigned HOST_WIDE_INT) (INTVAL (op) + 0x8000) < 0x10000);
 }
 
 /* Similar for a unsigned D field.  */
@@ -467,7 +467,7 @@ non_short_cint_operand (op, mode)
      enum machine_mode mode;
 {
   return (GET_CODE (op) == CONST_INT
-         && (unsigned) (INTVAL (op) + 0x8000) >= 0x10000);
+         && (unsigned HOST_WIDE_INT) (INTVAL (op) + 0x8000) >= 0x10000);
 }
 
 /* Returns 1 if OP is a register that is not special (i.e., not MQ,
@@ -791,7 +791,7 @@ non_add_cint_operand (op, mode)
      enum machine_mode mode;
 {
   return (GET_CODE (op) == CONST_INT
-         && (unsigned) (INTVAL (op) + 0x8000) >= 0x10000
+         && (unsigned HOST_WIDE_INT) (INTVAL (op) + 0x8000) >= 0x10000
          && (INTVAL (op) & 0xffff) != 0);
 }
 
@@ -1893,7 +1893,7 @@ includes_rshift_p (shiftop, andop)
      register rtx shiftop;
      register rtx andop;
 {
-  unsigned shift_mask = ~(unsigned)0;
+  unsigned HOST_WIDE_INT shift_mask = ~(unsigned HOST_WIDE_INT) 0;
 
   shift_mask >>= INTVAL (shiftop);
 
This page took 0.074485 seconds and 5 git commands to generate.