From 16cd96bf4a40274391df57161a9f874ed1c3d67b Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Fri, 15 Aug 2003 16:15:28 +0000 Subject: [PATCH] Fix register and parameter numbers in saving double FP registers. llvm-svn: 7884 --- lib/Target/Sparc/SparcV9CodeEmitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/Sparc/SparcV9CodeEmitter.cpp b/lib/Target/Sparc/SparcV9CodeEmitter.cpp index c9718872ec7..82868827c3f 100644 --- a/lib/Target/Sparc/SparcV9CodeEmitter.cpp +++ b/lib/Target/Sparc/SparcV9CodeEmitter.cpp @@ -218,7 +218,7 @@ void JITResolver::SaveRestoreRegisters() { __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"