mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-30 09:19:34 +02:00
* TCGSparcGen.maybeadjustresult adapted for sparc64
git-svn-id: trunk@36711 -
This commit is contained in:
parent
52cd572cec
commit
f30bf547e2
@ -637,8 +637,8 @@ implementation
|
|||||||
overflowops = [OP_MUL,OP_SHL,OP_ADD,OP_SUB,OP_NOT,OP_NEG];
|
overflowops = [OP_MUL,OP_SHL,OP_ADD,OP_SUB,OP_NOT,OP_NEG];
|
||||||
begin
|
begin
|
||||||
if (op in overflowops) and
|
if (op in overflowops) and
|
||||||
(size in [OS_8,OS_S8,OS_16,OS_S16]) then
|
(size in [OS_8,OS_S8,OS_16,OS_S16{$ifdef SPARC64},OS_32,OS_S32{$endif SPARC64}]) then
|
||||||
a_load_reg_reg(list,OS_32,size,dst,dst);
|
a_load_reg_reg(list,OS_INT,size,dst,dst);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user