[PATCH, AArch64] Compare Negative instruction in shift and extend mode

Hurugalawadi, Naveen Naveen.Hurugalawadi@caviumnetworks.com
Wed Apr 10 14:13:00 GMT 2013


Hi,

Please find attached the patch that implements compare negative
instruction with shift and extend mode for aarch64 target.
Testcase have been added for compare and compare negative instruction.

Please review the same and let me know if there should be any 
modifications in the patch.
 
Build and tested on aarch64-thunder-elf (using Cavium's internal
simulator). No new regressions.

Thanks,
Naveen

gcc/

2013-04-10   Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>

	* config/aarch64/aarch64.c (aarch64_select_cc_mode): Use NEG
	code in CC_SWP mode.
	* config/aarch64/aarch64.md (*cmn_swp_<shift>_reg<mode>): New
	pattern.
	(*cmn_swp_<optab><ALLX:mode>_reg<GPI:mode>): New pattern.

gcc/testsuite/

2013-04-10   Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>

	* gcc.target/aarch64/cmn-1.c: New.
	* gcc.target/aarch64/cmp.c: New.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmn.patch
Type: text/x-patch
Size: 7076 bytes
Desc: cmn.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130410/27353709/attachment.bin>


More information about the Gcc-patches mailing list