Ignore:
Timestamp:
Jan 14, 2022, 7:13:36 PM (3 years ago)
Author:
chronos
Message:
  • Modified: SetZero optimization made as separate step.
  • Fixed: Error during compilation in CopyMultiply optimization.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r116 r126  
    306306      Core.CurrentTarget := TTarget(Core.Targets[0]);
    307307    Core.Optimizations.AddSub := ReadBoolWithDefault('OptimizationAddSubEnabled', True);
     308    Core.Optimizations.SetZero := ReadBoolWithDefault('OptimizationSetZeroEnabled', True);
    308309    Core.Optimizations.Merge := ReadBoolWithDefault('OptimizationMerge', True);
    309310    Core.Optimizations.CopyMultiply := ReadBoolWithDefault('OptimizationCopyMultiplyEnabled', True);
     
    321322    WriteString('TargetName', Core.CurrentTarget.Name);
    322323    WriteBool('OptimizationAddSubEnabled', Core.Optimizations.AddSub);
     324    WriteBool('OptimizationSetZeroEnabled', Core.Optimizations.SetZero);
    323325    WriteBool('OptimizationMerge', Core.Optimizations.Merge);
    324326    WriteBool('OptimizationCopyMultiplyEnabled', Core.Optimizations.CopyMultiply);
Note: See TracChangeset for help on using the changeset viewer.