mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-24 20:00:46 +01:00
* handle OP_XOR for a full mm register correctly in tcgx86.opmm_loc_reg
git-svn-id: trunk@45348 -
This commit is contained in:
parent
4beb4bf8b2
commit
7dbab3a78f
@ -1849,6 +1849,9 @@ unit cgx86;
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
opmm2asmop_full : array[topcg] of tasmop = (
|
||||||
|
A_NOP,A_NOP,A_NOP,A_PAND,A_NOP,A_NOP,A_NOP,A_NOP,A_NOP,A_NOP,A_POR,A_NOP,A_NOP,A_NOP,A_NOP,A_PXOR,A_NOP,A_NOP
|
||||||
|
);
|
||||||
var
|
var
|
||||||
resultreg : tregister;
|
resultreg : tregister;
|
||||||
asmop : tasmop;
|
asmop : tasmop;
|
||||||
@ -1865,8 +1868,8 @@ unit cgx86;
|
|||||||
begin
|
begin
|
||||||
internalerror(2010060101);
|
internalerror(2010060101);
|
||||||
end
|
end
|
||||||
else if (shuffle=nil) then
|
else if shuffle=nil then
|
||||||
asmop:=opmm2asmop[1,size,op]
|
asmop:=opmm2asmop_full[op]
|
||||||
else if shufflescalar(shuffle) then
|
else if shufflescalar(shuffle) then
|
||||||
begin
|
begin
|
||||||
asmop:=opmm2asmop[0,size,op];
|
asmop:=opmm2asmop[0,size,op];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user