diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-12-13 20:13:10 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-12-13 20:13:10 +0000 |
| commit | 951e94e8670fb68d74adf6bf73425cd8a6fab42e (patch) | |
| tree | 412056d6746e357239980fc5755016ebab47ca8c /llvm/lib | |
| parent | 6b8632850ba6ea7196cd39852f047bbe50ab5b83 (diff) | |
| download | bcm5719-llvm-951e94e8670fb68d74adf6bf73425cd8a6fab42e.tar.gz bcm5719-llvm-951e94e8670fb68d74adf6bf73425cd8a6fab42e.zip | |
Add some notes
llvm-svn: 18911
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/SparcV8/README.txt | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/llvm/lib/Target/SparcV8/README.txt b/llvm/lib/Target/SparcV8/README.txt index 1b25922438d..d45a370e23e 100644 --- a/llvm/lib/Target/SparcV8/README.txt +++ b/llvm/lib/Target/SparcV8/README.txt @@ -53,7 +53,27 @@ To-do * 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) + +* 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$ |

