Changes in directory llvm/lib/Target/ARM:

README.txt updated: 1.8 -> 1.9
---
Log message:

add note


---
Diffs of the changes:  (+13 -0)

 README.txt |   13 +++++++++++++
 1 files changed, 13 insertions(+)


Index: llvm/lib/Target/ARM/README.txt
diff -u llvm/lib/Target/ARM/README.txt:1.8 llvm/lib/Target/ARM/README.txt:1.9
--- llvm/lib/Target/ARM/README.txt:1.8  Tue Oct 17 08:36:07 2006
+++ llvm/lib/Target/ARM/README.txt      Mon Dec 11 17:56:10 2006
@@ -27,6 +27,19 @@
 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



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to