florian
|
09b435cdab
* transform a/a only into 1 if fastmath is on
|
2 lat temu |
florian
|
789031a6e6
* compile float*2 as float+float if possible as proposed by Rika, resolves #40116
|
2 lat temu |
florian
|
30e0df384d
* second part of #40041 fixed
|
2 lat temu |
florian
|
e0fef23d77
* properly transform a+const1-const2 into a+const1+(-const2), resolves #40041
|
2 lat temu |
Sven/Sarah Barth
|
7a34677b2a
* as long as the type passed into a TypeInfo() is not an undefined or error def the resulting value will always be constant at compile time, so it can be compared to another then no matter if typenode or not
|
2 lat temu |
florian
|
1700516721
* cleanup
|
2 lat temu |
florian
|
247423400f
* create muln with create instead of create_internal when converting "n - n mod const)" so pass1 works properly, resolves #40004
|
2 lat temu |
Pierre Muller
|
84be45f55d
Fix compilation failure of RTL with -Co option for x86_64-linux target
|
2 lat temu |
Pierre Muller
|
1a19fe1f03
Use correct class typecast for commit ba4cee279b
|
2 lat temu |
florian
|
0ba4cee279
* convert n-n mod const into n div const*const, resolves #39615
|
2 lat temu |
florian
|
f6a8b045c2
* cosmetics
|
2 lat temu |
Sven/Sarah Barth
|
02aac653d2
* optimize shortstring concatenations if they're on the right side of an assignment to directly use the left side instead of a temporary
|
2 lat temu |
Sven/Sarah Barth
|
32261a0f6d
* fix copy/paste typo in comments
|
2 lat temu |
florian
|
ad7cc0e69d
* handle <dyn.array>+[] (and swapped) correctly, resolves #39919
|
2 lat temu |
Jonas Maebe
|
a6c7ed5e61
vector support: use vector result types
|
2 lat temu |
Jonas Maebe
|
cb96acefc9
vector support: check supported type during parsing already
|
2 lat temu |
florian
|
f9a4631adf
* don't switch a+/-/sqr(b) into an fma statement if b is too complex
|
2 lat temu |
florian
|
f6b5c513bb
* patch by Rika: makes #39786 work on more setups, resolves #39786
|
3 lat temu |
florian
|
fcb5531fbc
* convert a+/-const1-/const2 in into a+/-(-const1)+(-const2) to enable further optimizations, resolves #39782
|
3 lat temu |
florian
|
95dfccbb5e
* do not optimize away +0.0 if no fastmath is passed as -0.0+(+0.0)=+0.0
|
3 lat temu |
florian
|
94665a40d7
* optimize a-const1-const2 when const1 and const2 are real constants and fast math is on, part of fixing #39782
|
3 lat temu |
Jonas Maebe
|
573f2c20d7
taddnode.cmp_of_disjunct_ranges: fortify in case of programs with errors
|
3 lat temu |
Sergey Larin
|
60c967f255
Optimized the comparison of a widestring variable with ''
|
3 lat temu |
Sergey Larin
|
35db2b2da3
Fixed optimization `Length(W)=0` -> `(Pointer(W)=nil) or (PLongword(Pointer(W)-4)^=0)` for WideString
|
3 lat temu |
florian
|
81c8078735
* reorder string expressions with parentheses so fpc_*_concat_multi can be used efficiently, resolved #39479
|
3 lat temu |
florian
|
f21f7f0f50
* handle result type of unsigned ordinal operations in ISO/Extpas mode similiar to TP, solves
|
3 lat temu |
florian
|
e132ae2fee
* last commit was not correct, fixed
|
3 lat temu |
florian
|
bf5f37b14a
* fix conditional statement as pointed out by Sergey Larin
|
3 lat temu |
florian
|
6404478ea4
* cleanup of VER3_0 defines
|
3 lat temu |
florian
|
292be9029e
* when converting a*a into sqr(a), set the result type correctly
|
3 lat temu |