[llvm-commits] CVS: llvm/lib/Target/SparcV8/README.txt

Chris Lattner lattner at cs.uiuc.edu
Mon Dec 13 12:13:25 PST 2004



Changes in directory llvm/lib/Target/SparcV8:

README.txt updated: 1.33 -> 1.34
---
Log message:

Add some notes


---
Diffs of the changes:  (+22 -2)

Index: llvm/lib/Target/SparcV8/README.txt
diff -u llvm/lib/Target/SparcV8/README.txt:1.33 llvm/lib/Target/SparcV8/README.txt:1.34
--- llvm/lib/Target/SparcV8/README.txt:1.33	Sun Dec 12 18:27:35 2004
+++ llvm/lib/Target/SparcV8/README.txt	Mon Dec 13 14:13:10 2004
@@ -53,7 +53,27 @@
 
 * support shl on longs (fourinarow needs this)
 * support casting 64-bit integers to FP types (fhourstones needs this)
-* support FP rem
+* support FP rem (call fmod)
 
-$Date: 2004/12/13 00:27:35 $
+* Eliminate srl/sll by zero bits like this:
+        sll %l0, 0, %l0
+        srl %l0, 0, %o0
+
+  We think these are only used by V9 to clear off the top 32 bits of a reg,
+  so they are not needed.
+
+* Keep the address of the constant pool in a register instead of forming its
+  address all of the time.
+
+* Change code like this:
+        or      %o0, %lo(.CPI_main_0), %o0
+        ld      [%o0+0], %o0
+  into:
+        ld	[%o0+%lo(.CPI_main_0)], %o0
+  for constant pool access.
+
+* We can fold small constant offsets into the %hi/%lo references to constant
+  pool addresses as well.
+
+$Date: 2004/12/13 20:13:10 $
 






More information about the llvm-commits mailing list