From 8c73e76a9e511dea46803f05fba7ac680cc306ca Mon Sep 17 00:00:00 2001 From: Edwin Smith Date: Thu, 24 Dec 2009 10:13:32 -0500 Subject: [PATCH] Fix PPC alignment of immediate quads (usually doubles) (bug 477779 r=stejohns+ r=rreitmai+) --HG-- extra : convert_revision : 5218b6ab33db0ebfbb8c555a6d42d2074c9c3a8e --- js/src/nanojit/NativePPC.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/src/nanojit/NativePPC.cpp b/js/src/nanojit/NativePPC.cpp index 20db140fdaf..f19f185ff96 100644 --- a/js/src/nanojit/NativePPC.cpp +++ b/js/src/nanojit/NativePPC.cpp @@ -1060,11 +1060,11 @@ namespace nanojit } w; }; d = ins->imm64f(); - LFD(r, 12, SP); + LFD(r, 8, SP); STW(R0, 12, SP); - asm_li(R0, w.hi); - STW(R0, 16, SP); asm_li(R0, w.lo); + STW(R0, 8, SP); + asm_li(R0, w.hi); } else { int64_t q = ins->imm64();