mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 01:09:31 +02:00
* do not force the index location to a register for vec. nodes if the index is already in a register
git-svn-id: trunk@26629 -
This commit is contained in:
parent
cd235d8409
commit
1d73f49330
@ -1053,7 +1053,8 @@ implementation
|
||||
secondpass(right);
|
||||
|
||||
{ if mulsize = 1, we won't have to modify the index }
|
||||
hlcg.location_force_reg(current_asmdata.CurrAsmList,right.location,right.resultdef,ptruinttype,true);
|
||||
if not(right.location.loc in [LOC_CREGISTER,LOC_REGISTER]) or (right.location.size<>OS_ADDR) then
|
||||
hlcg.location_force_reg(current_asmdata.CurrAsmList,right.location,right.resultdef,ptruinttype,true);
|
||||
|
||||
if isjump then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user