[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcV9CodeEmitter.cpp

Misha Brukman brukman at cs.uiuc.edu
Fri Aug 15 11:16:02 PDT 2003


Changes in directory llvm/lib/Target/Sparc:

SparcV9CodeEmitter.cpp updated: 1.28 -> 1.29

---
Log message:

Fix register and parameter numbers in saving double FP registers.


---
Diffs of the changes:

Index: llvm/lib/Target/Sparc/SparcV9CodeEmitter.cpp
diff -u llvm/lib/Target/Sparc/SparcV9CodeEmitter.cpp:1.28 llvm/lib/Target/Sparc/SparcV9CodeEmitter.cpp:1.29
--- llvm/lib/Target/Sparc/SparcV9CodeEmitter.cpp:1.28	Thu Aug 14 19:26:50 2003
+++ llvm/lib/Target/Sparc/SparcV9CodeEmitter.cpp	Fri Aug 15 11:15:28 2003
@@ -218,7 +218,7 @@
 
   __asm__ __volatile__ (// Save Double FP registers
                         "std %%f32, %0;\n\t"  "std %%f34, %1;\n\t"
-                        "std %%f32, %0;\n\t"  "std %%f34, %1;\n\t"
+                        "std %%f36, %2;\n\t"  "std %%f38, %3;\n\t"
                         "std %%f40, %4;\n\t"  "std %%f42, %5;\n\t"
                         "std %%f44, %6;\n\t"  "std %%f46, %7;\n\t"
                         "std %%f48, %8;\n\t"  "std %%f50, %9;\n\t"





More information about the llvm-commits mailing list