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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5965bbf846ef6d761af666451ba9c214f123bd87;p=gcc.git * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe. From-SVN: r45273 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ffc4ad598b9..3094a9e947b 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 d9d549673a9..67b5a61f26d 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\";