* 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:
nickysn 2014-01-18 17:58:31 +00:00
parent cc1faad3d2
commit 1f7b14f38e
2 changed files with 2 additions and 2 deletions

View File

@ -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));

View File

@ -1 +1 @@
'2013-11-16 rev 26097'
'2014-01-18 rev 26502'