diff options
| author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-07 15:51:27 +0000 |
|---|---|---|
| committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-07 15:51:27 +0000 |
| commit | 853141a25e0dca7c66af96953480887b4a9800fc (patch) | |
| tree | 03f3930c6c379b1e7e96b7284332a4fbcc31d3ca /gcc | |
| parent | 960ade81e7b98a5a603748ddcf4544b522b9e499 (diff) | |
| download | ppe42-gcc-853141a25e0dca7c66af96953480887b4a9800fc.tar.gz ppe42-gcc-853141a25e0dca7c66af96953480887b4a9800fc.zip | |
* config/h8300/h8300.md: Use gen_int_mode instead of
GEN_INT (trunc_int_for_mode (...)).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69043 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/h8300/h8300.md | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a762872b9d6..b5bd6df103a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2003-07-07 Kazu Hirata <kazu@cs.umass.edu> + * config/h8300/h8300.md: Use gen_int_mode instead of + GEN_INT (trunc_int_for_mode (...)). + +2003-07-07 Kazu Hirata <kazu@cs.umass.edu> + * config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing 2 bytes and then subtract 2 from the stack pointer. (pushhi1_h8300hs): Likewise. diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index 19dc9c88a0e..8a1ef34ea35 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -4491,7 +4491,7 @@ (label_ref (match_dup 2)) (pc)))] "operands[4] = gen_rtx_REG (QImode, REGNO (operands[0])); - operands[5] = GEN_INT (trunc_int_for_mode (INTVAL (operands[1]), QImode));") + operands[5] = gen_int_mode (INTVAL (operands[1]), QImode);") (define_peephole2 [(set (match_operand:SI 0 "register_operand" "") @@ -4515,7 +4515,7 @@ (label_ref (match_dup 2)) (pc)))] "operands[4] = gen_rtx_REG (QImode, REGNO (operands[0])); - operands[5] = GEN_INT (trunc_int_for_mode (INTVAL (operands[1]), QImode));") + operands[5] = gen_int_mode (INTVAL (operands[1]), QImode);") (define_peephole2 [(set (match_operand:SI 0 "register_operand" "") @@ -4539,7 +4539,7 @@ (label_ref (match_dup 2)) (pc)))] "operands[4] = gen_rtx_REG (HImode, REGNO (operands[0])); - operands[5] = GEN_INT (trunc_int_for_mode (INTVAL (operands[1]), HImode));") + operands[5] = gen_int_mode (INTVAL (operands[1]), HImode);") (define_peephole2 [(set (match_operand:SI 0 "register_operand" "") @@ -4570,5 +4570,5 @@ (label_ref (match_dup 3)) (pc)))] "operands[5] = gen_rtx_REG (QImode, REGNO (operands[0])); - operands[6] = GEN_INT (trunc_int_for_mode (INTVAL (operands[1]), QImode)); - operands[7] = GEN_INT (trunc_int_for_mode (INTVAL (operands[2]), QImode));") + operands[6] = gen_int_mode (INTVAL (operands[1]), QImode); + operands[7] = gen_int_mode (INTVAL (operands[2]), QImode);") |

