[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrInfo.td README.txt

Rafael Espindola rafael.espindola at gmail.com
Sat Oct 7 09:03:57 CDT 2006



Changes in directory llvm/lib/Target/ARM:

ARMInstrInfo.td updated: 1.34 -> 1.35
README.txt updated: 1.3 -> 1.4
---
Log message:

implement FLDD


---
Diffs of the changes:  (+11 -5)

 ARMInstrInfo.td |   14 ++++++++++----
 README.txt      |    2 +-
 2 files changed, 11 insertions(+), 5 deletions(-)


Index: llvm/lib/Target/ARM/ARMInstrInfo.td
diff -u llvm/lib/Target/ARM/ARMInstrInfo.td:1.34 llvm/lib/Target/ARM/ARMInstrInfo.td:1.35
--- llvm/lib/Target/ARM/ARMInstrInfo.td:1.34	Sat Oct  7 08:46:42 2006
+++ llvm/lib/Target/ARM/ARMInstrInfo.td	Sat Oct  7 09:03:39 2006
@@ -104,10 +104,6 @@
                      "ldr $dst, $addr",
                      [(set IntRegs:$dst, (load iaddr:$addr))]>;
 
-def FLDS  : InstARM<(ops FPRegs:$dst, IntRegs:$addr),
-                     "flds $dst, $addr",
-                     [(set FPRegs:$dst, (load IntRegs:$addr))]>;
-
 def str  : InstARM<(ops IntRegs:$src, memri:$addr),
                     "str $src, $addr",
                     [(store IntRegs:$src, iaddr:$addr)]>;
@@ -205,3 +201,13 @@
 def FMULD   : InstARM<(ops DFPRegs:$dst, DFPRegs:$a, DFPRegs:$b),
                        "fmuld $dst, $a, $b",
 		       [(set DFPRegs:$dst, (fmul DFPRegs:$a, DFPRegs:$b))]>;
+
+
+// Floating Point Load
+def FLDS  : InstARM<(ops FPRegs:$dst, IntRegs:$addr),
+                     "flds $dst, $addr",
+                     [(set FPRegs:$dst, (load IntRegs:$addr))]>;
+
+def FLDD  : InstARM<(ops DFPRegs:$dst, IntRegs:$addr),
+                     "fldd $dst, $addr",
+                     [(set DFPRegs:$dst, (load IntRegs:$addr))]>;


Index: llvm/lib/Target/ARM/README.txt
diff -u llvm/lib/Target/ARM/README.txt:1.3 llvm/lib/Target/ARM/README.txt:1.4
--- llvm/lib/Target/ARM/README.txt:1.3	Tue Oct  3 12:27:58 2006
+++ llvm/lib/Target/ARM/README.txt	Sat Oct  7 09:03:39 2006
@@ -29,6 +29,6 @@
 
 ----------------------------------------------------------
 
-add an offset to FLDS addressing mode
+add an offset to FLDS/FLDD addressing mode
 
 ----------------------------------------------------------






More information about the llvm-commits mailing list