Commit Graph

66245 Commits

Author SHA1 Message Date
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
+ added tests
2022-12-02 17:47:15 +01:00
florian
aff133cac2 * disable timing check as it causes too much false negatives on machines under load 2022-12-01 22:56:42 +01:00
Jonas Maebe
c5f4a6acd0 LLVM: fix variant records when alignment of first part is not the highest
Resolves #40015
2022-12-01 22:43:40 +01:00
Jonas Maebe
f1abd2c2f0 Linux: fix pthread types
Remove legacy implementation-specific fields (they don't match the current
glibc fields anymore since a long time) and fix alignment fields (they are
union fields that overlap with the rest of the record).

All platforms now use the modern opaque array-based definitions.
2022-12-01 22:43:26 +01:00
Pierre Muller
b202fb2b0a Fix two tests for ELFV2 powerpc64 ABI 2022-12-01 00:05:05 +00:00
florian
b835005941 * proper naming for test, resolves #40013 2022-11-30 22:17:58 +01:00
florian
96d4bd19ac * use bzhi only (if at all) for in_and_assign_x_y and not other in_*_x_y operations, resolves #40016 2022-11-30 22:16:21 +01:00
florian
a1a2549cf1 + Debug message 2022-11-29 23:20:35 +01:00
Michaël Van Canneyt
2c3b78682a * Add IsConstValue 2022-11-29 09:05:42 +01:00
J. Gareth "Curious Kit" Moreton
5704626762 * New test to catch issue identified in #40003 2022-11-28 21:43:50 +00:00
J. Gareth "Curious Kit" Moreton
cc27576339 * x86: Fixed movzwl/movzbl bug in OptPass2Movx (resolves i40003) 2022-11-28 21:43:50 +00:00
Michaël Van Canneyt
348fbfde9d * Add stub for IsManagedType 2022-11-28 10:39:17 +01:00
florian
f8f824aa8d * avoid unneeded widening of expressions due to constants defaulting to extended 2022-11-26 23:27:02 +01:00
florian
1700516721 * cleanup 2022-11-26 23:27:02 +01:00
J. Gareth "Curious Kit" Moreton
170c112301 * x86: Added FMA as an FPU target distinct from AVX and AVX2 (the latter of which has a new FPUX86_HAS_AVX2 flag) 2022-11-25 22:14:59 +00:00
J. Gareth "Curious Kit" Moreton
69c7838571 * x86: Addition of AMD CPUs: Bobcat, Jaguar, Piledriver, Excavator, Zen2 and Zen3 (and supporting flags) 2022-11-25 22:14:59 +00:00
florian
74bef61b99 * try to improve result stability by longer runtime 2022-11-25 23:11:11 +01:00
florian
247423400f * create muln with create instead of create_internal when converting "n - n mod const)" so pass1 works properly, resolves #40004 2022-11-24 22:43:27 +01:00
Pierre Muller
84be45f55d Fix compilation failure of RTL with -Co option for x86_64-linux target 2022-11-24 17:01:37 +00:00
Michaël Van Canneyt
9cbcd399b1 * Accept I option 2022-11-23 21:50:31 +01:00
Michaël Van Canneyt
5288194d3c * Simulate position 2022-11-23 21:50:03 +01:00
Michaël Van Canneyt
dbd87a3cfc * More specific constant names 2022-11-23 19:12:07 +01:00
florian
e7fda48327 + missing halt instructions 2022-11-23 19:01:32 +01:00
Michaël Van Canneyt
68b092a466 * LZW stream based on implementation in fpreadtiff 2022-11-23 16:48:43 +01:00
Michaël Van Canneyt
00dc793097 * Some improvements as proposed by Alexey Torgashin 2022-11-23 12:55:14 +01:00
Ondrej Pokorny
d9f5c47d2a fix broken JPEG loading. Issue #40001 2022-11-23 10:27:40 +01:00
Michaël Van Canneyt
d338206814 * Version number for compatibility with lazarus webserver 2022-11-23 09:02:17 +01:00
Michaël Van Canneyt
a1fae7a767 * Chained stream implementation 2022-11-23 09:02:17 +01:00
Pierre Muller
1a19fe1f03 Use correct class typecast for commit ba4cee279b 2022-11-23 08:43:28 +01:00
Pierre Muller
d38c24fee7 Add test for avx2 support using cpu unit function avx2support 2022-11-22 22:48:35 +01:00
florian
0ba4cee279 * convert n-n mod const into n div const*const, resolves #39615 2022-11-22 22:41:58 +01:00
florian
7da8c774be + ShlShl2Shl optimization 2022-11-21 22:23:55 +01:00
florian
f6a8b045c2 * cosmetics 2022-11-21 22:10:29 +01:00
J. Gareth "Curious Kit" Moreton
735f297f5b * Range check fixes to BZHI tests 2022-11-21 14:44:39 +00:00
florian
4778973492 * further look ahead for temp. deallocation for FstpFldFstp2Fstp and FstpFld2<Nop> 2022-11-19 21:05:22 +01:00
florian
ef53f9bc25 + FstpFldFstp2Fstp optimization 2022-11-18 23:37:34 +01:00
J. Gareth "Curious Kit" Moreton
e7e4044bf0 * CollapseZeroDistJump no longer updates registers or strips dead labels, instead just setting p to p.Next 2022-11-18 17:20:20 +00:00
J. Gareth "Curious Kit" Moreton
c21bf747fb * x86: Extension to Cmp1Jl2Cmp0Jle to catch inverted variant 2022-11-18 17:20:20 +00:00
J. Gareth "Curious Kit" Moreton
e57ef24e37 * x86: TEST and CMP optimisations now perform jump optimisations prematurely to remove unnecessary TEST/CMPs 2022-11-18 17:20:20 +00:00
florian
c1ec558d0a * first (modified, added a comment) patch by Rika to improve generic Index*, part of #39996 2022-11-17 23:11:23 +01:00
Pierre Muller
5e0eb521c4 Fix use of unaligned for big endian code 2022-11-15 21:48:40 +00:00
J. Gareth "Curious Kit" Moreton
3cf8ae8433 * x86: New XOR->BTC peephole optimisation 2022-11-15 21:10:47 +00:00
J. Gareth "Curious Kit" Moreton
f2bd099afb * x86: Converted BTR and BTS tests to use a new utility function to check if BTx instructions are acceptable to use 2022-11-15 21:10:47 +00:00
J. Gareth "Curious Kit" Moreton
8220221866 * x86: New AND(NOT X)->BTR peephole optimisation 2022-11-15 21:10:47 +00:00
J. Gareth "Curious Kit" Moreton
827fe2bd83 * x86: New OR->BTS peephole optimisation 2022-11-15 21:10:47 +00:00
J. Gareth "Curious Kit" Moreton
314f632377 * x86: New TEST->BT peephole optimisation 2022-11-15 21:10:47 +00:00
florian
a27cb35fa8 * propagate life info properly 2022-11-15 22:06:56 +01:00
Marcus Sackrow
94368d06ee Amiga: Bugfix for Tagged Version of OpenWindow at WB1.2/1.3 2022-11-14 17:55:56 +01:00
Michaël Van Canneyt
75c252fd8f * Extra linux fcntl constants 2022-11-13 23:46:59 +01:00
Michaël Van Canneyt
9cda1666a6 * Modifier for allowed schemas 2022-11-13 23:46:59 +01:00