diff options
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/config/h8300/h8300.md | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ffc4ad5..3094a9e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2001-08-29 Kazu Hirata <kazu@hxi.com> + * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe. + +2001-08-29 Kazu Hirata <kazu@hxi.com> + * config/h8300/h8300-protos.h: Add a prototype for emit_logical_op. * config/h8300/h8300.c (emit_logical_op): New. diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index d9d5496..67b5a61 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -448,7 +448,7 @@ /* Look for constants that can be obtained by subs, inc, and dec to 0. */ - switch (val) + switch (val & 0xffffffff) { case 0xffffffff: return \"sub.l\\t%S0,%S0\;subs\\t#1,%S0\"; |
