[PATCH] ARM optimize
Richard Earnshaw
rearnsha@buzzard.freeserve.co.uk
Mon May 17 00:13:00 GMT 2004
This patch adds combiner patterns to the ARM back end to match sequences
such as
A = (B & ((1 << n) - 1) ? X : A
And
A = (B & C) ? X : A
where C is a legitimate ARM immediate operand.
Tested on arm-elf and installed on the mainline..
2004-05-16 Richard Earnshaw <rearnsha@arm.com>
PR target/10982
* arm.md (ne_zeroextractsi): Convert to insn-and-split.
(ne_zeroextractsi_shifted): New pattern.
(ite_ne_zeroextractsi): New pattern.
(ite_ne_zeroextractsi_shifted): New pattern.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ze_shifted.patch
Type: text/x-patch
Size: 5345 bytes
Desc: ze_shifted.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040517/baf35b11/attachment.bin>
More information about the Gcc-patches
mailing list