[PATCH][ARM]Fix addsi3_compare_op2 pattern.
Renlin Li
renlin.li@arm.com
Thu Nov 12 09:29:00 GMT 2015
Hi all,
This is a simply patch to adjust the assembly output for
addsi3_compare_op2 rtx pattern in ARM backend.
According to the constraints, it's the second alternative which allows
the second operand to be a constant.
The original pattern will trigger an ICE when the third alternative is
chosen, and trying to output a constant while the second operand is a
register.
This is triggered by my experimental backend changes. branch 5, 4.9 all
have this problem.
arm-none-linux-gnueabihf bootstrap Okay, arm-none-eabi regression test Okay.
Okay to commit into trunk and backport to branch 5 and 4.9?
Regards,
Renlin Li
gcc/ChangeLog:
2015-11-12 Renlin Li <renlin.li@arm.com>
* config/arm/arm.md (addsi3_compare_op2): Make the order of
assembly pattern consistent with constraint order.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug-1.diff
Type: text/x-patch
Size: 400 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20151112/a8cede36/attachment.bin>
More information about the Gcc-patches
mailing list