[PATCH] [AArch64] Generate tbz/tbnz when comparing against zero.
mcrosier at codeaurora.org
Wed Jul 9 13:08:04 PDT 2014
Hi t.p.northover, jmolloy,
This patch generates tbz/tbnz when comparing against zero. The tbz/tbnz checks the sign bit to convert
add/sub w1, w1, w10
cmp w1, #0
adds/subs w1, w1, w10
tbnz w1, #31, .LBB0_0
Please have a look.
On an A53 processor this improves the following benchmarks:
I also saw improvements in spec2000 parser, vortex, and vpr, but just barely above noise, so I wouldn't bank on them. These numbers were based on the community mainline.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4874 bytes
Desc: not available
More information about the llvm-commits