c4x.md: Use GEN_INT instead of gen_rtx (CONST_INT, ...).
authorKazu Hirata <kazu@cs.umass.edu>
Sat, 31 Jan 2004 23:21:25 +0000 (23:21 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sat, 31 Jan 2004 23:21:25 +0000 (23:21 +0000)
* config/c4x/c4x.md: Use GEN_INT instead of
gen_rtx (CONST_INT, ...).

From-SVN: r77057

gcc/ChangeLog
gcc/config/c4x/c4x.md

index 3f395838b002a220aa11212b131391017c10f666..1eb1e15fb19c7d1fe942f96cb5573740623aaef6 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-31  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/c4x/c4x.md: Use GEN_INT instead of
+       gen_rtx (CONST_INT, ...).
+
 2004-01-31  Richard Henderson  <rth@redhat.com>
 
        * varasm.c (output_constant_pool): Don't zap the pool.
index 8dbd6be07d1ca5904031025b01fa30c3c8b114ad..a27e29b64c102ab62cb2562e6953f5439a34e7e0 100644 (file)
   "
 {
    /* Generate two's complement value of 16 MSBs.  */
-   operands[2] = gen_rtx (CONST_INT, VOIDmode,
-                         (((INTVAL (operands[1]) >> 16) & 0xffff)
+   operands[2] = GEN_INT ((((INTVAL (operands[1]) >> 16) & 0xffff)
                           - 0x8000) ^ ~0x7fff);
    operands[3] = GEN_INT (INTVAL (operands[1]) & 0xffff);
    operands[4] = GEN_INT (16);
   "
 {
    /* Generate two's complement value of 16 MSBs.  */
-   operands[2] = gen_rtx (CONST_INT, VOIDmode,
-                         (((INTVAL (operands[1]) >> 16) & 0xffff)
+   operands[2] = GEN_INT ((((INTVAL (operands[1]) >> 16) & 0xffff)
                           - 0x8000) ^ ~0x7fff);
    operands[3] = GEN_INT (INTVAL (operands[1]) & 0xffff);
    operands[4] = GEN_INT (16);