llvm-svn: 32452
This commit is contained in:
Rafael Espindola 2006-12-11 23:56:10 +00:00
parent f4646a7e54
commit eb3e8d75df
1 changed files with 13 additions and 0 deletions

View File

@ -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