Fix register and parameter numbers in saving double FP registers.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7884 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/SparcV9/SparcV9CodeEmitter.cpp b/lib/Target/SparcV9/SparcV9CodeEmitter.cpp
index c971887..8286882 100644
--- a/lib/Target/SparcV9/SparcV9CodeEmitter.cpp
+++ b/lib/Target/SparcV9/SparcV9CodeEmitter.cpp
@@ -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"