[PATCH][AArch64] Implement ALU_BRANCH fusion

Hurugalawadi, Naveen Naveen.Hurugalawadi@cavium.com
Wed Mar 15 05:33:00 GMT 2017


Hi James,

>> My reason for asking is that the instruction fusion implemented in LLVM
>> ( lib/Target/AArch64/AArch64MacroFusion.cpp::shouldScheduleAdjacent )

Sorry. There seems to be some confusion in the branch instructions.
The branch should be conditional for ALU_BRANCH fusion.

Please find attached the modified patch that fuses ALU instructions and
conditional branches.

Bootstrapped and Regression tested on aarch64-thunder-linux.
Please review the patch and let us know if its okay?

Thanks,
Naveen
    
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alu-branch-1.patch
Type: text/x-patch
Size: 1947 bytes
Desc: alu-branch-1.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170315/0db749e1/attachment.bin>


More information about the Gcc-patches mailing list