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
This commit is contained in:
Kazu Hirata 2004-01-31 23:21:25 +00:00 committed by Kazu Hirata
parent fadeed3b06
commit d37eb70511
2 changed files with 7 additions and 4 deletions

View 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.

View File

@ -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);