Skip to content

Commit 77ae045

Browse files
committed
Optimize AArch64 code generator
- use cbz/cbnz for comparison with zero - use xzr/wzr instead of #0 in mov/cmp - use "subs" imstead of "sub x1,...; cmp x1, xzr" - avoid loading immediate value to register when it may be direclu used as a source immendiate operand in ldr*/str*/add*/sub*/cmp
1 parent 1e59a8d commit 77ae045

File tree

1 file changed

+189
-208
lines changed

1 file changed

+189
-208
lines changed

0 commit comments

Comments
 (0)