mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-05 17:30:49 +02:00
- removed mov "reg, reg" optimizations, as they are removed by the
register allocator and may be necessary to indicate a register may not be reused before some point
This commit is contained in:
parent
0d004c1e35
commit
5a98f00e7f
@ -434,12 +434,6 @@ const
|
||||
|
||||
var
|
||||
instr: taicpu;
|
||||
begin
|
||||
if (reg1<>reg2) or
|
||||
(tcgsize2size[tosize] < tcgsize2size[fromsize]) or
|
||||
((tcgsize2size[tosize] = tcgsize2size[fromsize]) and
|
||||
(tosize <> fromsize) and
|
||||
not(fromsize in [OS_32,OS_S32])) then
|
||||
begin
|
||||
case tosize of
|
||||
OS_8:
|
||||
@ -459,7 +453,6 @@ const
|
||||
list.concat(instr);
|
||||
rg[R_INTREGISTER].add_move_instruction(instr);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
procedure tcgppc.a_loadfpu_reg_reg(list: taasmoutput; size: tcgsize; reg1, reg2: tregister);
|
||||
@ -2299,7 +2292,12 @@ begin
|
||||
end.
|
||||
{
|
||||
$Log$
|
||||
Revision 1.156 2004-01-25 16:36:34 jonas
|
||||
Revision 1.157 2004-02-03 19:49:24 jonas
|
||||
- removed mov "reg, reg" optimizations, as they are removed by the
|
||||
register allocator and may be necessary to indicate a register may not
|
||||
be reused before some point
|
||||
|
||||
Revision 1.156 2004/01/25 16:36:34 jonas
|
||||
- removed double construction of fpu register allocator
|
||||
|
||||
Revision 1.155 2004/01/12 22:11:38 peter
|
||||
|
Loading…
Reference in New Issue
Block a user