Fix for DE40487
Richard Earnshaw
rearnsha@arm.com
Thu Jul 23 15:27:00 GMT 2009
On Wed, 2009-07-15 at 11:28 +0100, Richard Earnshaw wrote:
> This patch allows combine to correctly simplify the instruction sequence
> demonstrated by de 40487 (where we are getting redundant zero-extend
> operations in logical operations). tested on an arm-elf cross and
> installed on mainline.
>
> R.
>
> 2009-07-15 Richard Earnshaw <rearnsha@arm.com>
>
> * arm.md (ior_xor): New code iterator.
> (split for ior/xor with shift and zero-extend): New split pattern.
> * arm/predicates.md (subreg_lowpart_operator): New special predicate.
>
>
This patch introduced a warning for signed/unsigned comparison, which of
course broke native bootstraps.
Fixed thusly:
2009-07-23 Richard Earnshaw <rearnsha@arm.com>
(split for ior/xor with shift and zero-extend): Cast op3 to
unsigned HWI.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-patch
Size: 759 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090723/4392444f/attachment.bin>
More information about the Gcc-patches
mailing list