diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3f395838b00..1eb1e15fb19 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-01-31 Kazu Hirata + + * config/c4x/c4x.md: Use GEN_INT instead of + gen_rtx (CONST_INT, ...). + 2004-01-31 Richard Henderson * varasm.c (output_constant_pool): Don't zap the pool. diff --git a/gcc/config/c4x/c4x.md b/gcc/config/c4x/c4x.md index 8dbd6be07d1..a27e29b64c1 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);