nickysn
|
cf6c173653
|
* regenerated makefiles
git-svn-id: branches/wasm@47988 -
|
2021-01-02 22:25:27 +00:00 |
|
nickysn
|
19b06cdf81
|
+ added wasi to the list of OSes in fpcmake
git-svn-id: branches/wasm@47987 -
|
2021-01-02 22:23:15 +00:00 |
|
nickysn
|
a84b091b5e
|
* makefiles regenerated after fpcmake update
git-svn-id: branches/wasm@47985 -
|
2021-01-02 22:15:42 +00:00 |
|
nickysn
|
70f19c4a6e
|
* the 'wasm' CPU renamed 'wasm32' in fpcmake
git-svn-id: branches/wasm@47983 -
|
2021-01-02 22:11:27 +00:00 |
|
nickysn
|
05d66eddfc
|
* synchronized with trunk
git-svn-id: branches/wasm@47982 -
|
2021-01-02 22:06:17 +00:00 |
|
michael
|
b387dd8a94
|
* Fix AV
git-svn-id: trunk@47981 -
|
2021-01-02 22:05:34 +00:00 |
|
marco
|
bb8fd96eaa
|
* fix destructor
git-svn-id: trunk@47980 -
|
2021-01-02 21:13:03 +00:00 |
|
florian
|
9430436a24
|
+ include package/hash in regression tests
git-svn-id: trunk@47979 -
|
2021-01-02 19:27:01 +00:00 |
|
michael
|
33d7935b93
|
* Fix class tree & lists
git-svn-id: trunk@47978 -
|
2021-01-02 19:05:31 +00:00 |
|
florian
|
7de94e7a1d
|
* properly fold string+string const+string const., resolves #38267
git-svn-id: trunk@47977 -
|
2021-01-02 17:18:54 +00:00 |
|
florian
|
8b08079224
|
* fpc_AnsiStr_Concat: if one of the strings is empty and CP_NONE is passed, the code page
of the other string is taken, this is also like fpc_AnsiStr_Concat_multi works if length(sarr)=2
git-svn-id: trunk@47976 -
|
2021-01-02 16:39:39 +00:00 |
|
nickysn
|
4ea7d8dffb
|
+ enable the sign extension wasm32 instructions
git-svn-id: branches/wasm@47975 -
|
2021-01-02 15:07:38 +00:00 |
|
nickysn
|
fc95e7f22d
|
* fixes in thlcgwasm.resize_stack_int_val
git-svn-id: branches/wasm@47974 -
|
2021-01-02 14:42:10 +00:00 |
|
michael
|
390be00327
|
* Markdown support for fpdoc
git-svn-id: trunk@47973 -
|
2021-01-02 14:28:45 +00:00 |
|
nickysn
|
189c4025c2
|
- removed spurious decstack/incstack in thlcgwasm.resize_stack_int_val
git-svn-id: branches/wasm@47972 -
|
2021-01-02 13:47:53 +00:00 |
|
nickysn
|
0e23b9288c
|
* fixed thlcgwasm.a_load_loc_stack for LOC_REFERENCE
git-svn-id: branches/wasm@47971 -
|
2021-01-02 13:39:16 +00:00 |
|
nickysn
|
a5fafea8d1
|
* more updates to attempt to get a larger part of the full RTL to compile for WASM32
git-svn-id: branches/wasm@47970 -
|
2021-01-02 13:01:39 +00:00 |
|
nickysn
|
5a2a9f1dcc
|
* simplified a_call_name and avoid internal errors, inherited from the jvm code generator
git-svn-id: branches/wasm@47969 -
|
2021-01-02 12:44:34 +00:00 |
|
nickysn
|
8c05ba538d
|
* fixed formatting in wasm32 instr writer write instruction
git-svn-id: branches/wasm@47968 -
|
2021-01-02 12:28:00 +00:00 |
|
nickysn
|
5dfdaf870f
|
- removed redundant code from wasm32 instruction writer
git-svn-id: branches/wasm@47967 -
|
2021-01-02 12:26:04 +00:00 |
|
nickysn
|
09ae46cfdd
|
- removed unused code from TWASM32InstrWriter.WriteInstruction
git-svn-id: branches/wasm@47966 -
|
2021-01-02 12:25:12 +00:00 |
|
nickysn
|
35489718f3
|
* fixed call_indirect for the llvm-mc asm writer
git-svn-id: branches/wasm@47965 -
|
2021-01-02 12:21:30 +00:00 |
|
nickysn
|
56f65799d3
|
+ functype creation moved to tcpuprocdef.create_functype
git-svn-id: branches/wasm@47964 -
|
2021-01-02 12:06:05 +00:00 |
|
nickysn
|
763ca253c1
|
+ introduced the TWasmFuncType class - used to hold a Wasm function signature
git-svn-id: branches/wasm@47963 -
|
2021-01-02 11:54:41 +00:00 |
|
nickysn
|
bb42589829
|
+ added DebugWriteLn
git-svn-id: branches/wasm@47961 -
|
2021-01-02 10:47:04 +00:00 |
|
nickysn
|
1911fcd8ce
|
* fixed StrLen double definition when compiling WASI with -dFULL_RTL
git-svn-id: branches/wasm@47960 -
|
2021-01-02 09:02:32 +00:00 |
|
nickysn
|
80fd387a51
|
- removed the tcpupropertysym overrides from the jvm, because they're not needed for wasm
git-svn-id: branches/wasm@47959 -
|
2021-01-02 08:59:12 +00:00 |
|
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 |
|