OSDN Git Service

* config/c4x/c4x.md: Use GEN_INT instead of
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 31 Jan 2004 23:21:25 +0000 (23:21 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 31 Jan 2004 23:21:25 +0000 (23:21 +0000)
gen_rtx (CONST_INT, ...).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77057 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 3f39583..1eb1e15 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 8dbd6be..a27e29b 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);