mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-02-04 09:35:04 +01:00
* fixed the conversion of powerof2 mul/imuls to lea in tcgx86.a_op_const_reg_reg
git-svn-id: trunk@26509 -
This commit is contained in:
parent
cc1faad3d2
commit
1f7b14f38e
@ -1579,7 +1579,7 @@ unit cgx86;
|
||||
not(cs_check_overflow in current_settings.localswitches) and
|
||||
(a>1) and ispowerof2(int64(a),power) and (power in [1..3]) then
|
||||
begin
|
||||
reference_reset_base(href,src,0,0);
|
||||
reference_reset_base(href,NR_NO,0,0);
|
||||
href.index:=src;
|
||||
href.scalefactor:=a;
|
||||
list.concat(taicpu.op_ref_reg(A_LEA,TCgSize2OpSize[size],href,dst));
|
||||
|
||||
@ -1 +1 @@
|
||||
'2013-11-16 rev 26097'
|
||||
'2014-01-18 rev 26502'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user