mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
add note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32452 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
57fc62c8d2
commit
4dfab986ab
@ -27,6 +27,19 @@ compiles to
|
||||
mov r1, r1, lsl r2
|
||||
add r0, r1, r0
|
||||
|
||||
---------------------------------------------------------
|
||||
%tmp1 = shl int %b, ubyte 4
|
||||
%tmp2 = add int %a, %tmp1
|
||||
|
||||
compiles to
|
||||
|
||||
mov r2, #4
|
||||
add r0, r0, r1, lsl r2
|
||||
|
||||
should be
|
||||
|
||||
add r0, r0, r1, lsl #4
|
||||
|
||||
----------------------------------------------------------
|
||||
|
||||
add an offset to FLDS/FLDD/FSTD/FSTS addressing mode
|
||||
|
Loading…
Reference in New Issue
Block a user