nickysn
fa7444a0d8
+ enabled compilation of unit classes for the WASI target
...
git-svn-id: trunk@49452 -
2021-06-01 22:16:16 +00:00
nickysn
b527ab694c
+ implemented twasmtypeconvnode.second_class_to_intf
...
git-svn-id: trunk@49451 -
2021-06-01 22:15:57 +00:00
nickysn
c69649782a
+ added tthread.inc rtl include file for WASI
...
git-svn-id: trunk@49450 -
2021-06-01 21:58:02 +00:00
nickysn
74bac86711
+ support loading a function result (on the evaluation stack) to a register in
...
thlcgwasm.gen_load_cgpara_loc
git-svn-id: trunk@49449 -
2021-06-01 21:52:51 +00:00
florian
c02b43fb93
* change fma cpu flag into an fpu flag
...
git-svn-id: trunk@49448 -
2021-06-01 21:16:52 +00:00
nickysn
84b3036574
+ added classes unit for the WASI target (not yet enabled in the makefiles)
...
git-svn-id: trunk@49446 -
2021-06-01 20:32:10 +00:00
nickysn
9bebe9bcb7
+ enabled compilation of unit fpwidestring for the WASI target
...
git-svn-id: trunk@49445 -
2021-06-01 20:19:16 +00:00
nickysn
3d56f75ba7
+ enabled compilation of units unicodedata and unicodenumtable for the WASI target
...
* fixed the dependencies of unit character
git-svn-id: trunk@49444 -
2021-06-01 20:14:58 +00:00
nickysn
d6fc3129b3
+ enabled compilation of unit character for the WASI target
...
git-svn-id: trunk@49443 -
2021-06-01 20:02:36 +00:00
nickysn
cf857a22ee
+ enabled compilation of unit cpall for the WASI target
...
git-svn-id: trunk@49442 -
2021-06-01 19:38:02 +00:00
nickysn
47b664ba92
+ enabled compilation of unit charset for the WASI target
...
git-svn-id: trunk@49441 -
2021-06-01 19:34:31 +00:00
nickysn
2a688eb948
+ enabled compilation of unit getopts for the WASI target
...
git-svn-id: trunk@49440 -
2021-06-01 19:30:23 +00:00
nickysn
a7dfbf0124
+ enabled compilation of unit iso7185 for the WASI target
...
git-svn-id: trunk@49439 -
2021-06-01 19:25:42 +00:00
nickysn
1e34f04729
+ enabled compilation of unit macpas for the WASI target
...
git-svn-id: trunk@49438 -
2021-06-01 19:20:40 +00:00
nickysn
d0b3a599a3
+ enabled compilation of unit fgl for the WASI target
...
git-svn-id: trunk@49437 -
2021-06-01 19:15:41 +00:00
nickysn
08520e032a
+ enabled compilation of unit typinfo for the WASI target
...
git-svn-id: trunk@49436 -
2021-06-01 19:11:54 +00:00
nickysn
08f9a68798
- removed unused local variables from twasmaddnode.second_generic_compare
...
git-svn-id: trunk@49435 -
2021-06-01 19:11:21 +00:00
nickysn
8dd591e838
+ implemented twasmaddnode.second_cmpsmallset for equaln and unequaln
...
git-svn-id: trunk@49434 -
2021-06-01 19:10:20 +00:00
nickysn
27ff471ff4
+ enabled compilation of unit types for the WASI target
...
git-svn-id: trunk@49433 -
2021-06-01 17:14:24 +00:00
nickysn
390be44cce
+ enable compilation of unit rtlconsts for the WASI target
...
git-svn-id: trunk@49432 -
2021-06-01 17:06:14 +00:00
nickysn
45620b11c0
+ enabled compilation of unit math for the WASI target
...
git-svn-id: trunk@49431 -
2021-06-01 16:56:55 +00:00
nickysn
c42e297bc6
+ implemented sqr(real) for the WebAssembly target
...
git-svn-id: trunk@49430 -
2021-06-01 16:41:39 +00:00
nickysn
87111246ca
+ enabled compilation of unit sortbase for the WASI target
...
git-svn-id: trunk@49429 -
2021-06-01 15:53:22 +00:00
nickysn
5085a04930
- removed the (deflist[i] is tdef) check from the tmodule destructor, since
...
only tdef descendants are added to the deflist and casting deflist entries to
tdef directly appears to be safe and is done in other parts of the compiler
git-svn-id: trunk@49428 -
2021-06-01 15:36:01 +00:00
nickysn
f59aab1371
* fixed typecast in tmodule.destroy after r49426, since registered_in_module is introduced in tdef, not in tstoreddef
...
git-svn-id: trunk@49427 -
2021-06-01 15:27:45 +00:00
nickysn
3ecb41cd2d
* improvements to the prevention of dangling pointers in tmodule.deflist,
...
introduced in r49417. Now it no longer depends on current_module, so it
handles the case when current_module changes between the time the tdef was
registered and the time it was freed. It also supports freeing the tmodule
before the defs, so the freeing order of the object is once again flexible.
git-svn-id: trunk@49426 -
2021-06-01 15:02:26 +00:00
pierre
1957ea11cb
Fix duplicate source_cpu_string after last patch, by using cpuwasm32 instead of wasm32 conditional
...
git-svn-id: trunk@49425 -
2021-06-01 08:22:44 +00:00
michael
d23feee55e
* Correctly initialize total_out
...
git-svn-id: trunk@49424 -
2021-06-01 08:00:42 +00:00
michael
affefb6ce0
* Fix issue ID #36822 . Total was being misused in check
...
git-svn-id: trunk@49421 -
2021-05-31 20:07:18 +00:00
nickysn
99f33824a7
* patch from Alfred for setting source_cpu_string for the wasm32 platform
...
git-svn-id: trunk@49420 -
2021-05-31 19:33:03 +00:00
nickysn
ea5ffd597f
* set self to nil in current_module.deflist for registered defs in the
...
tstoreddef.destroy destructor, instead of doing it after each call to
x.owner.deletedef(x)
git-svn-id: trunk@49417 -
2021-05-30 21:27:57 +00:00
nickysn
93fea6de3a
+ enabled compilation of unit SysUtils for the WASI target. Note that WASI
...
snapshot building fails, when compiler is built with -CR, because of a
use-after-free bug in the compiler, related to generics. A fix for this bug
is currently being worked on.
git-svn-id: trunk@49416 -
2021-05-30 20:52:21 +00:00
nickysn
830985bf17
* synchronized with trunk
...
git-svn-id: branches/unicodekvm@49415 -
2021-05-30 20:46:29 +00:00
florian
5e3efa4455
* Aarch64: apply OptPass1Data to CSEL as well
...
git-svn-id: trunk@49414 -
2021-05-30 18:08:37 +00:00
marco
9bc8f17f16
* implemented LeftPromotion to fmtbcd to fix mantis 38496 but unfortunately FPC doesn't call it.
...
git-svn-id: trunk@49413 -
2021-05-30 13:00:00 +00:00
nickysn
3c2c578386
* synchronized with trunk
...
git-svn-id: branches/unicodekvm@49412 -
2021-05-29 21:46:27 +00:00
pierre
0ed69fc662
Fix compilation with 3.2.2 release for arm and i386 CPUs
...
git-svn-id: trunk@49411 -
2021-05-29 21:25:16 +00:00
joost
8cdbf5887b
* test for r49387
...
git-svn-id: trunk@49410 -
2021-05-29 11:30:54 +00:00
joost
1e3de5db58
* Parse the contenttype according to rfc1341 also for non-streaming
...
processing
git-svn-id: trunk@49409 -
2021-05-29 11:17:54 +00:00
joost
52813c8965
* Fixed mime-multipart processing for solutions that do
...
not support chunked processing of content. (like CGI)
git-svn-id: trunk@49408 -
2021-05-29 10:57:51 +00:00
florian
0a3efb6702
+ test for already fixed #26016
...
git-svn-id: trunk@49407 -
2021-05-29 10:05:54 +00:00
nickysn
d5a0dd3d25
* prevent a range check error in TFPList.IndexOfItem when searching backwards in
...
an empty list and the compiler is compiled with range checking turned on
git-svn-id: trunk@49406 -
2021-05-28 21:59:57 +00:00
florian
f2e0af6d37
* check used registers properly for SETcc/TEST/Jcc -> Jcc, resolves #38940
...
git-svn-id: trunk@49405 -
2021-05-28 21:23:09 +00:00
florian
30df955001
* the MovOpMov2Op optimization needs to take care of the second operand, should resolve #38359
...
git-svn-id: trunk@49404 -
2021-05-27 21:13:23 +00:00
svenbarth
cb953f68c2
* as 3.2.0 is now the oldest compiler we support we can now use {$push} {$pop} to reset the $minenumsize in the RTTI header
...
git-svn-id: trunk@49403 -
2021-05-27 05:43:01 +00:00
florian
bae583118a
* patch by J. Gareth Moreton: x86 JccMovJmpMov2MovSetcc improvement, resolves #38761
...
git-svn-id: trunk@49402 -
2021-05-26 21:03:56 +00:00
yury
73448deda6
* Windows: Prevent removal of the TLS directory by the linker when RTL is compiled with -O4 or when inlining is enabled.
...
git-svn-id: trunk@49400 -
2021-05-25 16:03:34 +00:00
florian
8006900e8e
- clean up
...
git-svn-id: trunk@49399 -
2021-05-24 09:26:44 +00:00
florian
814b68fac0
* more fixes for VASM for ARM
...
git-svn-id: trunk@49398 -
2021-05-23 19:46:40 +00:00
florian
e9b3db0d78
* more fixes to support vasm on arm
...
* do not crash on empty eabi attribute strings
git-svn-id: trunk@49397 -
2021-05-22 20:22:53 +00:00