mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 13:08:00 +02:00
* getmmregister should test the mm register allocator for being assigned
git-svn-id: trunk@221 -
This commit is contained in:
parent
6ac47e7d81
commit
83209064f9
@ -181,15 +181,15 @@ unit cgx86;
|
||||
function Tcgx86.getmmxregister(list:Taasmoutput):Tregister;
|
||||
begin
|
||||
if not assigned(rg[R_MMXREGISTER]) then
|
||||
internalerror(200312124);
|
||||
internalerror(2003121214);
|
||||
result:=rg[R_MMXREGISTER].getregister(list,R_SUBNONE);
|
||||
end;
|
||||
|
||||
|
||||
function Tcgx86.getmmregister(list:Taasmoutput;size:Tcgsize):Tregister;
|
||||
begin
|
||||
if not assigned(rg[R_MMXREGISTER]) then
|
||||
internalerror(200312124);
|
||||
if not assigned(rg[R_MMREGISTER]) then
|
||||
internalerror(2003121234);
|
||||
case size of
|
||||
OS_F64:
|
||||
result:=rg[R_MMREGISTER].getregister(list,R_SUBMMD);
|
||||
|
Loading…
Reference in New Issue
Block a user