mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 21:11:23 +02:00
movhlps/movlhps only take xmm registers.
Handle spilling of SSE registers. git-svn-id: trunk@44272 -
This commit is contained in:
parent
6cac8cc77b
commit
135a88c888
@ -4777,6 +4777,8 @@ implementation
|
||||
R_SUBQ,
|
||||
R_SUBMMWHOLE:
|
||||
result:=taicpu.op_ref_reg(A_VMOVQ,S_NO,tmpref,r);
|
||||
R_SUBMMX:
|
||||
result:=taicpu.op_ref_reg(A_VMOVDQU,S_NO,tmpref,r);
|
||||
else
|
||||
internalerror(200506043);
|
||||
end
|
||||
@ -4789,6 +4791,8 @@ implementation
|
||||
R_SUBQ,
|
||||
R_SUBMMWHOLE:
|
||||
result:=taicpu.op_ref_reg(A_MOVQ,S_NO,tmpref,r);
|
||||
R_SUBMMX:
|
||||
result:=taicpu.op_ref_reg(A_MOVDQA,S_NO,tmpref,r);
|
||||
else
|
||||
internalerror(200506043);
|
||||
end;
|
||||
|
@ -274,6 +274,11 @@ implementation
|
||||
A_UNPCKLPD,
|
||||
A_UNPCKLPS :
|
||||
replaceoper:=-1;
|
||||
|
||||
{ movlhps/movhlps requires the second parameter to be XMM registers }
|
||||
A_MOVHLPS,
|
||||
A_MOVLHPS:
|
||||
replaceoper:=-1;
|
||||
else
|
||||
;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user