aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/c4x
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-01-31 23:21:25 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-01-31 23:21:25 +0000
commitd37eb70511ee90dce4addd1b0f96d7baf0ae6963 (patch)
tree011092aefbd75fe7386fedff6c5a2607ac6afece /gcc/config/c4x
parentfadeed3b069258037b0c38c3caec7004e2546267 (diff)
downloadgcc-d37eb70511ee90dce4addd1b0f96d7baf0ae6963.zip
gcc-d37eb70511ee90dce4addd1b0f96d7baf0ae6963.tar.gz
gcc-d37eb70511ee90dce4addd1b0f96d7baf0ae6963.tar.bz2
c4x.md: Use GEN_INT instead of gen_rtx (CONST_INT, ...).
* config/c4x/c4x.md: Use GEN_INT instead of gen_rtx (CONST_INT, ...). From-SVN: r77057
Diffstat (limited to 'gcc/config/c4x')
-rw-r--r--gcc/config/c4x/c4x.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/config/c4x/c4x.md b/gcc/config/c4x/c4x.md
index 8dbd6be..a27e29b 100644
--- a/gcc/config/c4x/c4x.md
+++ b/gcc/config/c4x/c4x.md
@@ -1022,8 +1022,7 @@
"
{
/* 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);
@@ -1043,8 +1042,7 @@
"
{
/* 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);