nickysn
|
9bd8b66e86
|
+ first attempts to compile a full WASI rtl
git-svn-id: branches/wasm@47958 -
|
2021-01-02 08:05:02 +00:00 |
|
nickysn
|
4c85306f69
|
+ added wasm32 type defines
git-svn-id: branches/wasm@47957 -
|
2021-01-02 07:58:33 +00:00 |
|
nickysn
|
0ec39281f9
|
+ added rtl directory and some rtl include files for wasm32
git-svn-id: branches/wasm@47956 -
|
2021-01-02 07:57:17 +00:00 |
|
nickysn
|
b01a0a7018
|
+ define the CPUWASM32 system macro for wasm32
git-svn-id: branches/wasm@47955 -
|
2021-01-02 07:54:53 +00:00 |
|
nickysn
|
76a3014e3a
|
+ added DebugWriteHexByte
git-svn-id: branches/wasm@47954 -
|
2021-01-02 07:30:21 +00:00 |
|
nickysn
|
7221e9fe7f
|
+ added DebugWriteHexDigit
git-svn-id: branches/wasm@47953 -
|
2021-01-02 07:28:56 +00:00 |
|
nickysn
|
b80a650c7d
|
+ added DebugWriteChar
git-svn-id: branches/wasm@47952 -
|
2021-01-02 07:27:13 +00:00 |
|
nickysn
|
017b7903cf
|
+ added validation for the base and index registers in taicpu.op_ref
git-svn-id: branches/wasm@47951 -
|
2021-01-02 07:26:43 +00:00 |
|
nickysn
|
64a02834ff
|
- commented out thlcgwasm.g_copyvalueparas
git-svn-id: branches/wasm@47950 -
|
2021-01-02 07:22:01 +00:00 |
|
nickysn
|
91ed9f12ac
|
- removed unused local var from thlcgwasm.prepare_stack_for_ref
git-svn-id: branches/wasm@47949 -
|
2021-01-02 06:55:44 +00:00 |
|
nickysn
|
065d2c718d
|
* no need to copy the local var paramater in StrLen()
git-svn-id: branches/wasm@47948 -
|
2021-01-02 06:37:52 +00:00 |
|
nickysn
|
c24446c037
|
* copy all wasm parameters to the local stack, so that their address can be taken
git-svn-id: branches/wasm@47947 -
|
2021-01-02 06:36:20 +00:00 |
|
nickysn
|
40e4dadcdf
|
- removed wrong comment from tcpuparamanager.create_paraloc_info_intern
git-svn-id: branches/wasm@47946 -
|
2021-01-02 06:23:41 +00:00 |
|
nickysn
|
c470e851ba
|
+ generic implementation of thlcgwasm.a_loadaddr_ref_reg that should handle all possible combinations of base, index
and scalefactor
git-svn-id: branches/wasm@47945 -
|
2021-01-02 06:08:38 +00:00 |
|
nickysn
|
e4f4f25c44
|
+ handle any base and no index in the second if case in thlcgwasm.a_loadaddr_ref_reg
git-svn-id: branches/wasm@47944 -
|
2021-01-02 05:52:19 +00:00 |
|
nickysn
|
2084fede95
|
+ handle all constant address (regardless of whether they are relative to a symbol or not) in thlcgwasm.a_loadaddr_ref_reg
git-svn-id: branches/wasm@47943 -
|
2021-01-02 05:48:40 +00:00 |
|
nickysn
|
ded9afb787
|
+ check and generate an internal error if you attempt to take the address of a reference that exists in the local
stack in thlcgwasm.a_loadaddr_ref_reg
git-svn-id: branches/wasm@47942 -
|
2021-01-02 05:44:19 +00:00 |
|
nickysn
|
a1f5b57070
|
+ also check for ref.index and ref.symbol in the NR_LOCAL_FRAME_POINTER_REG base case in thlcgwasm.a_loadaddr_ref_reg
git-svn-id: branches/wasm@47941 -
|
2021-01-02 05:40:17 +00:00 |
|
nickysn
|
46bf123fcd
|
+ also ensure that ref.base and ref.index are not set for symbols in thlcgwasm.a_loadaddr_ref_reg
git-svn-id: branches/wasm@47940 -
|
2021-01-02 05:35:31 +00:00 |
|
nickysn
|
15387514b4
|
* changed the formatting in thlcgwasm.a_loadaddr_ref_reg to fit the style of the other compiler code
git-svn-id: branches/wasm@47939 -
|
2021-01-02 05:30:22 +00:00 |
|
nickysn
|
88d42344db
|
- removed comment thlcgwasm.a_loadaddr_ref_reg that is not true for wasm
git-svn-id: branches/wasm@47938 -
|
2021-01-02 05:25:32 +00:00 |
|
nickysn
|
f87f9969a7
|
* synchronized with trunk
git-svn-id: branches/wasm@47937 -
|
2021-01-02 04:55:50 +00:00 |
|
Mattias Gaertner
|
f0122bd4a0
|
fcl-passrc: resolver: parse library
git-svn-id: trunk@47936 -
|
2021-01-01 22:29:58 +00:00 |
|
florian
|
e6037961e3
|
* refactored constant folding code
git-svn-id: trunk@47935 -
|
2021-01-01 21:58:12 +00:00 |
|
florian
|
97abf6b495
|
* first part of fixing #38267: do not bail out early during constant folding
if the constant is 1 or -1
git-svn-id: trunk@47933 -
|
2021-01-01 15:26:13 +00:00 |
|
marco
|
8311837468
|
--no-offset option for chmls, makes it easier to compare listings.
git-svn-id: trunk@47932 -
|
2021-01-01 13:45:28 +00:00 |
|
nickysn
|
4b9397fce4
|
* our_iov converted to a local var
git-svn-id: branches/wasm@47931 -
|
2020-12-31 18:37:59 +00:00 |
|
nickysn
|
82e9cb0189
|
* our_nwritten converted to a local var
git-svn-id: branches/wasm@47930 -
|
2020-12-31 18:37:07 +00:00 |
|
nickysn
|
acb13602ea
|
* fixed getting the address of local variables
git-svn-id: branches/wasm@47929 -
|
2020-12-31 18:36:45 +00:00 |
|
nickysn
|
08ae48aebf
|
* i in strlen converted to a local variable, because that now works
git-svn-id: branches/wasm@47928 -
|
2020-12-31 18:24:16 +00:00 |
|
nickysn
|
31bc357c1b
|
* fixed internal error 2019083002 with e.g. inc(local)
git-svn-id: branches/wasm@47927 -
|
2020-12-31 18:23:49 +00:00 |
|
florian
|
b4a6c22234
|
* do not check inlined exit nodes for unset results, resolves #38259
git-svn-id: trunk@47926 -
|
2020-12-31 15:52:02 +00:00 |
|
florian
|
3482121831
|
* patch by Christo Crause: Fix missed optimization opportunities, resolves #38285
git-svn-id: trunk@47925 -
|
2020-12-31 15:33:39 +00:00 |
|
nickysn
|
0858579b50
|
* the gp: pchar global variable converted to local, because the code generator can now cope with this
git-svn-id: branches/wasm@47922 -
|
2020-12-31 08:18:00 +00:00 |
|
nickysn
|
46a09bd8e4
|
* fixed thlcgwasm.a_load_ref_ref for NR_EVAL_STACK_BASE source references
git-svn-id: branches/wasm@47921 -
|
2020-12-31 08:11:55 +00:00 |
|
nickysn
|
361594bafd
|
* synchronized with trunk
git-svn-id: branches/wasm@47920 -
|
2020-12-31 04:00:04 +00:00 |
|
Mattias Gaertner
|
c1a2b6279e
|
pastojs: fixed delay init specialized interface
git-svn-id: trunk@47919 -
|
2020-12-31 01:07:33 +00:00 |
|
marco
|
4353d36516
|
* commited patch(-5) by Andrey Sobol from mantis #38153 .
git-svn-id: trunk@47915 -
|
2020-12-30 20:37:24 +00:00 |
|
Mattias Gaertner
|
7032cba91e
|
fcl-passrc: resolver: fixed typecast a(b.func) marking implicit call
git-svn-id: trunk@47914 -
|
2020-12-30 16:12:47 +00:00 |
|
joost
|
32999fbaba
|
* Fixed missing slash in fppkg.cfg when installed in the root
git-svn-id: trunk@47913 -
|
2020-12-30 15:41:44 +00:00 |
|
michael
|
46d301b7b2
|
* Function result can also contain ^ in type
git-svn-id: trunk@47911 -
|
2020-12-30 14:35:30 +00:00 |
|
florian
|
b5725ac3ed
|
* while not official supported, bootstrapping with 3.0.4 fixed
git-svn-id: trunk@47901 -
|
2020-12-30 09:34:22 +00:00 |
|
michael
|
6dafbfb7ca
|
* Fix Pointer types as arguments
git-svn-id: trunk@47900 -
|
2020-12-30 08:52:38 +00:00 |
|
nickysn
|
253e64f66b
|
+ allocate 'noreuse' locals in allocbasepointer and allocframepointer
git-svn-id: branches/wasm@47898 -
|
2020-12-30 04:02:43 +00:00 |
|
nickysn
|
158da03691
|
+ introduced TWasmLocal.allocnoreuse
git-svn-id: branches/wasm@47897 -
|
2020-12-30 03:46:32 +00:00 |
|
nickysn
|
57b976535f
|
* synchronized with trunk
git-svn-id: branches/wasm@47896 -
|
2020-12-29 23:50:34 +00:00 |
|
Mattias Gaertner
|
8eafcd9490
|
pastojs: await with one param must be async function
git-svn-id: trunk@47895 -
|
2020-12-29 23:18:41 +00:00 |
|
florian
|
edfbf2ce30
|
* correctly handle inlined exits in dfa, resolves #38259
git-svn-id: trunk@47894 -
|
2020-12-29 22:35:33 +00:00 |
|
florian
|
6866b07266
|
* simplified test after r47892
git-svn-id: trunk@47893 -
|
2020-12-29 18:26:20 +00:00 |
|
florian
|
eb7702bea4
|
+ implement align directive for records, resolves #28927
git-svn-id: trunk@47892 -
|
2020-12-29 18:19:35 +00:00 |
|