Yuriy Sydorov
|
07698050e5
* Before r35961 (back in 2017) some simple assignment optimizations, such as "x:=x+y" to "inc(x,y)", were performed when -O2 in tassignmentnode.simplify. In r35961 these optimizations were moved to a separate pass which is enabled only when -O3 by cs_opt_use_load_modify_store. This separate pass can benefit from other optimization. But worse code is generated with -O2 since then.
|
4 anos atrás |
florian
|
637976e83f
* patch by Marģers to unify internal error numbers, resolves #37888
|
4 anos atrás |
nickysn
|
9853c4a2a3
+ enabled the load-modify-store optimization for the double argument version
|
8 anos atrás |
nickysn
|
c8377d3bfc
+ enabled the load-modify-store optimization for the double argument version
|
8 anos atrás |
nickysn
|
e562926763
+ implemented the load/modify/store optimization for i:=sar/rol/ror(i) when
|
8 anos atrás |
nickysn
|
cb0c947f37
+ enabled the load-modify-store optimization for the single argument version
|
8 anos atrás |
Károly Balogh
|
dd01b7ca8b
fix a typo to hopefully fix the build
|
8 anos atrás |
nickysn
|
720ac63a28
+ preserve the node fileinfo and verbosity properties from the previous
|
8 anos atrás |
nickysn
|
751d47c568
+ enable the optloadmodifystore optimization for statements such as "x:=x shl k"
|
8 anos atrás |
nickysn
|
a7ca75a4b6
* use current node's localswitches field for checking whether range and overflow
|
8 anos atrás |
nickysn
|
1529aee506
+ apply the "x:=k+x" / "x:=k [and/or/xor] x" optimization even when there are
|
8 anos atrás |
nickysn
|
efc5e339d0
* use an enum instead of integer constants to represent inline numbers
|
8 anos atrás |
nickysn
|
012153201a
* moved the conversion of "x:=x op k" to inline nodes to a separate optimization
|
8 anos atrás |