2
0
Эх сурвалжийг харах

* fix trgcpu.do_spill_replace for sparc64

git-svn-id: trunk@36998 -
florian 8 жил өмнө
parent
commit
b8354b9b60

+ 1 - 1
compiler/sparcgen/rgcpu.pas

@@ -196,7 +196,7 @@ implementation
         else if get_alias(getsupreg(instr.oper[1]^.reg))=orgreg then
         else if get_alias(getsupreg(instr.oper[1]^.reg))=orgreg then
           begin
           begin
             if (regtype=R_INTREGISTER) then
             if (regtype=R_INTREGISTER) then
-              instr.opcode:=A_ST
+              instr.opcode:=A_ST_R
             else if (getsubreg(instr.oper[1]^.reg)=R_SUBFS) then
             else if (getsubreg(instr.oper[1]^.reg)=R_SUBFS) then
               instr.opcode:=A_STF
               instr.opcode:=A_STF
             else
             else