Browse Source

* fixed the conversion of powerof2 mul/imuls to lea in tcgx86.a_op_const_reg_reg

git-svn-id: trunk@26509 -
nickysn 11 years ago
parent
commit
1f7b14f38e
2 changed files with 2 additions and 2 deletions
  1. 1 1
      compiler/x86/cgx86.pas
  2. 1 1
      utils/fpcm/revision.inc

+ 1 - 1
compiler/x86/cgx86.pas

@@ -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
utils/fpcm/revision.inc

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