From: Kazu Hirata Date: Wed, 29 Aug 2001 18:21:07 +0000 (+0000) Subject: * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe. X-Git-Tag: prereleases/libstdc++-3.0.95~2358 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5965bbf846ef6d761af666451ba9c214f123bd87;p=thirdparty%2Fgcc.git * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe. From-SVN: r45273 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ffc4ad598b90..3094a9e947ba 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-08-29 Kazu Hirata + + * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe. + 2001-08-29 Kazu Hirata * config/h8300/h8300-protos.h: Add a prototype for diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index d9d549673a9e..67b5a61f26df 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\";