diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-31 23:21:25 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-31 23:21:25 +0000 |
commit | eae12af7825b1f01e978003a75062aff4b7a047d (patch) | |
tree | 011092aefbd75fe7386fedff6c5a2607ac6afece /gcc/config/c4x | |
parent | 82032a87f1eaa50659fe96fd5d7bdb3c9b22dcdd (diff) | |
download | gcc-eae12af7825b1f01e978003a75062aff4b7a047d.tar.gz |
* config/c4x/c4x.md: Use GEN_INT instead of
gen_rtx (CONST_INT, ...).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77057 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/c4x')
-rw-r--r-- | gcc/config/c4x/c4x.md | 6 |
1 files changed, 2 insertions, 4 deletions
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); |