diff options
author | Kazu Hirata <kazu@hxi.com> | 2001-08-29 18:21:07 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2001-08-29 18:21:07 +0000 |
commit | 5965bbf846ef6d761af666451ba9c214f123bd87 (patch) | |
tree | 656be48b46c10f0e3d1fe36f8b5a32fdd2315832 /gcc | |
parent | 366a7b2715f740f22d428de3bcf31f2fb03d0bea (diff) | |
download | gcc-5965bbf846ef6d761af666451ba9c214f123bd87.zip gcc-5965bbf846ef6d761af666451ba9c214f123bd87.tar.gz gcc-5965bbf846ef6d761af666451ba9c214f123bd87.tar.bz2 |
* config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
From-SVN: r45273
Diffstat (limited to 'gcc')
-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\"; |