pierre
e6e49baed1
Add A_CALL to the list of instructions considered as a calljmp, even though it is a pseudo-instruction, fixes a long list of -O3 and -O4 testsuite failures
...
git-svn-id: trunk@49468 -
2021-06-02 20:00:28 +00:00
pierre
c2c7982a22
Fix check that third parameter of ADDI hp1 instruction is a constant
...
git-svn-id: trunk@49467 -
2021-06-02 19:58:38 +00:00
nickysn
5dd48078a6
+ enabled package fcl-registry for the WASI target
...
git-svn-id: trunk@49465 -
2021-06-01 23:26:22 +00:00
nickysn
378b5f73a5
+ enabled package fcl-stl for the WASI target
...
git-svn-id: trunk@49464 -
2021-06-01 23:23:31 +00:00
nickysn
56aa1e1bbe
+ enabled the regexpr package for the WASI target
...
git-svn-id: trunk@49463 -
2021-06-01 23:17:33 +00:00
nickysn
7c09f0be96
+ enabled the fcl-sound package for the WASI target
...
git-svn-id: trunk@49462 -
2021-06-01 23:14:28 +00:00
nickysn
14ec15be7b
+ enabled the fcl-xml package for the WASI target
...
git-svn-id: trunk@49461 -
2021-06-01 23:11:54 +00:00
nickysn
5b192cb82a
+ enabled the hash package for the WASI target
...
git-svn-id: trunk@49460 -
2021-06-01 23:09:41 +00:00
nickysn
1eec910561
+ enabled compilation of fcl-base for the WASI target
...
git-svn-id: trunk@49459 -
2021-06-01 23:06:40 +00:00
nickysn
eed9bc1f35
+ enabled several rtl-objpas units for the WASI target
...
git-svn-id: trunk@49458 -
2021-06-01 23:04:41 +00:00
nickysn
385c130e8d
+ enabled some rtl-extra units on the WASI target (matrix, ucomplex, objects)
...
git-svn-id: trunk@49457 -
2021-06-01 22:58:56 +00:00
nickysn
cdd7aaf2eb
+ compile the unicode collations and extra code pages for the WASI target
...
git-svn-id: trunk@49456 -
2021-06-01 22:50:19 +00:00
nickysn
e00dca1448
+ enabled compilation of unit extpas for the WASI target
...
git-svn-id: trunk@49455 -
2021-06-01 22:43:01 +00:00
nickysn
e830ed6cbc
+ compile the unit dos (OS-specific functions are dummies for now) for the WASI target
...
git-svn-id: trunk@49454 -
2021-06-01 22:38:54 +00:00
nickysn
de7ebe219c
+ enabled compilation of unit uuchar for the WASI platform
...
git-svn-id: trunk@49453 -
2021-06-01 22:22:45 +00:00
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
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
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