mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-29 12:41:45 +01:00
* fixed copy-paste error in r15600
* fixed spilling error after r15600 the same register appears twice in an
instruction (it was spilled once in that case)
git-svn-id: trunk@15601 -
This commit is contained in:
parent
a75016e67b
commit
99a75c56fc
@ -124,7 +124,7 @@ implementation
|
|||||||
1 :
|
1 :
|
||||||
begin
|
begin
|
||||||
if (oper[0]^.typ=top_reg) and
|
if (oper[0]^.typ=top_reg) and
|
||||||
(getregtype(oper[n+0]^.reg)=regtype) then
|
(getregtype(oper[0]^.reg)=regtype) then
|
||||||
begin
|
begin
|
||||||
if get_alias(getsupreg(oper[0]^.reg))<>orgreg then
|
if get_alias(getsupreg(oper[0]^.reg))<>orgreg then
|
||||||
internalerror(200410101);
|
internalerror(200410101);
|
||||||
@ -143,7 +143,10 @@ implementation
|
|||||||
if ops=3 then
|
if ops=3 then
|
||||||
n:=1;
|
n:=1;
|
||||||
if (oper[n+0]^.typ=top_reg) and
|
if (oper[n+0]^.typ=top_reg) and
|
||||||
(oper[n+1]^.typ=top_reg) then
|
(oper[n+1]^.typ=top_reg) and
|
||||||
|
((getregtype(oper[n+0]^.reg)<>regtype) or
|
||||||
|
(getregtype(oper[n+1]^.reg)<>regtype) or
|
||||||
|
(get_alias(getsupreg(oper[n+0]^.reg))<>get_alias(getsupreg(oper[n+1]^.reg)))) then
|
||||||
begin
|
begin
|
||||||
if (getregtype(oper[n+0]^.reg)=regtype) and
|
if (getregtype(oper[n+0]^.reg)=regtype) and
|
||||||
(get_alias(getsupreg(oper[n+0]^.reg))=orgreg) then
|
(get_alias(getsupreg(oper[n+0]^.reg))=orgreg) then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user