Commit Graph

69585 Commits

Author SHA1 Message Date
Michaël Van Canneyt
33f6a9042d * Minor improvement of TFPSList.Expand 2024-03-31 11:11:08 +02:00
Michaël Van Canneyt
5c4f365be4 * Fix DeleteDirectory 2024-03-31 11:00:55 +02:00
Michaël Van Canneyt
0b38f99b47 * Fix compilation of example. Fixes issue #40715 2024-03-31 11:00:55 +02:00
florian
a90691435b + abs(long/int64): overflow checking for xtensa implemented 2024-03-30 20:29:48 +01:00
Michael Van Canneyt
c17cbbe788 * Observe max capacity. Resolves issue #40720 2024-03-30 11:23:42 +01:00
Rika Ichinose
e42209457e Shorter i386 Exp(). 2024-03-29 21:04:32 +00:00
florian
240739e71d * compilation on 64 bit targets fixed 2024-03-29 21:44:23 +01:00
florian
a8d496ade7 * i386 uses generic x86 abs(long/int64) code now 2024-03-29 20:54:52 +01:00
florian
13e7f947ea * all CPUs use now internal abs(<int64>) so overflow checking is possible
+ added overflow checking to generic abs(<longint>)
2024-03-29 20:30:57 +01:00
florian
c87213085f * overflow checking for generic abs(<int64>)
* fix overflow checking on arm for 64 bit signed numbers
  * arm uses generic abs(<int64>)
2024-03-29 20:06:23 +01:00
florian
8132ccd42b + generic implementation of abs(<int64>) 2024-03-29 15:30:18 +01:00
florian
9a32c00070 * improve TFPSList.Delete as proposed by Alexey Torgashin, resolves #40718 2024-03-29 14:28:54 +01:00
florian
56d84c9283 * compilation fixed 2024-03-28 18:31:38 +01:00
florian
0efd3afb8c + arm: internal abs(<int64>)
+ arm: overflow checking for abs(...)
2024-03-28 15:56:52 +01:00
florian
f0cc07fe68 + 8086: overflow checking for abs(<long/int64>) 2024-03-28 15:07:47 +01:00
florian
2641f65bb7 * compilation with -dEXTDEBUG fixed 2024-03-28 15:07:35 +01:00
florian
22e9033076 + MMXSupport added to cpu unit
* mmx unit makes more use of cpu unit
2024-03-28 10:42:08 +01:00
Rika Ichinose
6c8acf28cd Shorten MMX unit. 2024-03-28 09:13:43 +00:00
florian
f28cbbf73b * run test with different options as it is tricky 2024-03-27 22:40:06 +01:00
J. Gareth "Curious Kit" Moreton
889c55ecae * "tminmax" test now prints out 'ok' if it passes and the error code if it fails 2024-03-27 02:56:44 +00:00
florian
fea8050457 * fix i386 building after fb3c4ff75b 2024-03-27 00:04:46 +01:00
florian
15398549a4 * fix simplication of max(double,double) with both values being constants 2024-03-26 23:55:47 +01:00
florian
fb3c4ff75b * avoid CMPs with constants outside the range of signed 32 bit values 2024-03-26 23:53:46 +01:00
Michaël Van Canneyt
b1312ed3c6 * Patch from Thierry Gayet to fix double prefix when using aliases 2024-03-26 16:38:17 +01:00
Michaël Van Canneyt
564597a573 * Fix access violation: module can be reset while loading dependent units. Fixes issue #40705 2024-03-26 16:06:27 +01:00
J. Gareth "Curious Kit" Moreton
ee1916e919 * i8086: Local variables unused in "second_AndOrXorShiftRot_assign" on i8086 are now not defined on this platform 2024-03-26 14:18:31 +00:00
J. Gareth "Curious Kit" Moreton
11b341cc97 * x86: Added new OptPass1CMOVcc peephole optimisation routine to dust up min/max code 2024-03-26 14:18:31 +00:00
J. Gareth "Curious Kit" Moreton
c79361c010 * Min/max intrinsics now simplify deterministic results 2024-03-26 14:18:31 +00:00
J. Gareth "Curious Kit" Moreton
e4a0ce2fb5 * x86: Min/max intrinsic support 2024-03-26 14:18:31 +00:00
J. Gareth "Curious Kit" Moreton
77c86cafd0 * a64: Fixed bug where unsigned min/max inlines used a signed comparison 2024-03-26 14:18:31 +00:00
J. Gareth "Curious Kit" Moreton
81b7b80749 * Added support for 64-bit min/max intrinsics 2024-03-26 14:18:31 +00:00
florian
961e8fb749 * patch by Joeny Ang: fix TDbf memory leak, resolves #40709 2024-03-26 15:02:50 +01:00
Michaël Van Canneyt
14d4b0808b * Patch from Thierry Gayet to fix compilation of tests 2024-03-26 14:54:19 +01:00
florian
8971103a00 * use bit_set_reg_reg also to clear single bits in thlcgobj.a_load_regconst_subsetref_intern 2024-03-26 14:46:01 +01:00
ccrause
f4828950a2 Add efuse library to default list of static link libraries. 2024-03-26 13:26:45 +00:00
J. Gareth "Curious Kit" Moreton
4378319f87 * Added missing "override" directive for XML node dump routine on TDerefNode 2024-03-26 13:25:46 +00:00
Pierre Muller
afea558fbe Add -32/-64 for sparc GNU assembler calls 2024-03-25 23:48:14 +01:00
Pierre Muller
c68ddc5360 Add $EMUL also for sparc CPU GNU linker call on solaris OS 2024-03-25 23:48:14 +01:00
J. Gareth "Curious Kit" Moreton
948766a37a * x86: New Op/TEST optimisation that rearranges register usage for the most efficient execution 2024-03-25 22:25:29 +00:00
florian
7c609ee7c4 * proper fix for 9056ab8025 2024-03-25 22:33:30 +01:00
Michaël Van Canneyt
dcadafa1b8 * Fix memleak 2024-03-25 15:47:30 +01:00
Michaël Van Canneyt
04e715445f * Patch from Thierry Gayet to fix crash when no options are specified on command-line 2024-03-25 15:47:06 +01:00
Pierre Muller
9056ab8025 Fix generation of i8086 CPU code, as BTR/BTS instructions require at least 386 CPU 2024-03-25 14:29:08 +00:00
florian
ac150e58c8 * thlcgobj.a_load_regconst_subsetref_intern uses a_bit_set_reg_reg if applicable 2024-03-25 00:01:24 +01:00
florian
12176d3683 * avoid to generate bts/r with memory operand
+ thlcgx86.a_bit_set_reg_reg
2024-03-24 23:03:33 +01:00
J. Gareth "Curious Kit" Moreton
2b7df4237b * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute
have been moved to a new "transientflags" node field that
    isn't stored in PPU files
2024-03-24 18:14:49 +00:00
ccrause
dd858f37aa Ensure register to be eliminated is de-allocated before applying optimization LdsMov2Lds. 2024-03-24 13:54:31 +00:00
J. Gareth "Curious Kit" Moreton
99851f22f5 * a64: New B -> RET peephole optimisation 2024-03-24 13:31:52 +00:00
florian
3327204ebd * restored overwritten test 2024-03-24 14:30:07 +01:00
florian
20f9b82543 * AArch64: overflow checking for abs
* tabs adapted: also abs(longint) must overflow check on 64 bit platforms
2024-03-24 12:47:16 +01:00