mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-23 16:31:20 +00:00
Drop some non-ascii stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109456 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e4373b0da6
commit
4e084e93a7
@ -645,13 +645,13 @@ void foo(unsigned char *a, unsigned char *b, int *c) {
|
||||
|
||||
currently llvm-gcc generates something like this (nice branchless code I'd say):
|
||||
|
||||
ldrb r0, [r0]
|
||||
ldrb r1, [r1]
|
||||
orr r0, r1, r0
|
||||
tst r0, #255
|
||||
moveq r0, #0
|
||||
streq r0, [r2]
|
||||
bx lr
|
||||
ldrb r0, [r0]
|
||||
ldrb r1, [r1]
|
||||
orr r0, r1, r0
|
||||
tst r0, #255
|
||||
moveq r0, #0
|
||||
streq r0, [r2]
|
||||
bx lr
|
||||
|
||||
Note that both "tst" and "moveq" are redundant.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user