Commit Graph

61847 Commits

Author SHA1 Message Date
michael
498805c1ca * Patch from Andrey Sobol to control XML file layout
git-svn-id: trunk@48093 -
2021-01-06 12:24:09 +00:00
michael
e2ffecb4c8 * Fix GetFileBaseDir
git-svn-id: trunk@48092 -
2021-01-06 10:07:05 +00:00
michael
cccff5826e * Fix memleak, additional list/indent, patch from Andrey Sobol
git-svn-id: trunk@48091 -
2021-01-06 09:13:33 +00:00
nickysn
77578f0e03 * synchronized with trunk
git-svn-id: branches/wasm@48090 -
2021-01-06 05:11:52 +00:00
florian
aec18c2426 * weight currency->float conversions the same regardless if
the currency type is handled by the integer unit or the x87 fpu,
    resolves #38309

git-svn-id: trunk@48089 -
2021-01-05 22:39:16 +00:00
svenbarth
57d9884d96 * fix for Mantis #38310: ignore procsyms that have no procdefs for checking overloads, or more precisely to stop checking for overloads; these are generic dummy symbols
+ added (simplified) tests

git-svn-id: trunk@48088 -
2021-01-05 20:58:46 +00:00
michael
87f2c282d1 * Patch from Andrey Sobol to reduce indentation
git-svn-id: trunk@48087 -
2021-01-05 17:00:32 +00:00
florian
28efcfba65 + patch by J. Gareth Moreton: Advanced MOVZX optimisations, resolves #38294
git-svn-id: trunk@48086 -
2021-01-05 15:15:41 +00:00
michael
b31305810c * print context in Release in debug mode
git-svn-id: trunk@48083 -
2021-01-05 09:21:25 +00:00
michael
7adcd2a8a2 * Fix memleak when using packages
git-svn-id: trunk@48082 -
2021-01-05 09:20:45 +00:00
nickysn
9bd282eb3b + implemented int to real conversion
git-svn-id: branches/wasm@48081 -
2021-01-05 08:40:33 +00:00
nickysn
cf35b0d2a9 * fixed twasmaddnode.second_cmpfloat
git-svn-id: branches/wasm@48080 -
2021-01-05 08:13:49 +00:00
nickysn
e62979c614 * converted tcgvecnode.update_reference_reg_packed to the high level code generator
git-svn-id: branches/wasm@48079 -
2021-01-05 08:08:25 +00:00
nickysn
627d5580db * fixed bug in thlcgwasm.a_op_ref_stack
git-svn-id: branches/wasm@48078 -
2021-01-05 08:00:44 +00:00
nickysn
0f3fef31f3 * generate different internal errors in taicpu.op_ref
git-svn-id: branches/wasm@48077 -
2021-01-05 07:51:15 +00:00
nickysn
67cea74ec6 + implemented twasmtypeconvnode.second_int_to_bool
git-svn-id: branches/wasm@48076 -
2021-01-05 07:50:05 +00:00
nickysn
af9cc646a9 * use regular loads instead of calling MOVE for 1,2,4 and 8-byte sized g_concatcopy
git-svn-id: branches/wasm@48075 -
2021-01-05 06:30:08 +00:00
nickysn
bdb972cec6 + support OP_NEG in thlcgwasm.a_op_stack
* improvements to OP_NOT in thlcgwasm.a_op_stack

git-svn-id: branches/wasm@48074 -
2021-01-05 06:28:07 +00:00
nickysn
020ce2b10c * use the standard inherited ret_in_param for wasm32
git-svn-id: branches/wasm@48073 -
2021-01-05 05:59:07 +00:00
nickysn
d9b76dc00f + implemented g_concatcopy via calling MOVE
git-svn-id: branches/wasm@48072 -
2021-01-05 05:53:51 +00:00
nickysn
d8aaa29cbc * synchronized with trunk
git-svn-id: branches/wasm@48071 -
2021-01-05 03:25:43 +00:00
florian
de36d6c049 + added newly used opcodes to avx_opcode_only_op0_may_be_memref
git-svn-id: trunk@48070 -
2021-01-04 21:54:36 +00:00
nickysn
28a7f25f4c * various fixes for tracking the stack and correctly loading the child node values to the stack, as well as setting the result location
git-svn-id: branches/wasm@48069 -
2021-01-04 18:11:32 +00:00
nickysn
1efcb800f5 + activate twasmaddnode.second_cmpboolean
git-svn-id: branches/wasm@48068 -
2021-01-04 17:31:40 +00:00
nickysn
531031c135 * converted tcgvecnode.update_reference_reg_mul to the high level code generator
git-svn-id: branches/wasm@48067 -
2021-01-04 17:19:18 +00:00
nickysn
e85e10a8f2 - don't override push_high_param for WASM, use the generic 'high' handling
git-svn-id: branches/wasm@48066 -
2021-01-04 16:56:22 +00:00
nickysn
29ee9a648d - more JVM cleanup
git-svn-id: branches/wasm@48065 -
2021-01-04 16:51:13 +00:00
nickysn
d7695db80e - don't override def2regtyp
git-svn-id: branches/wasm@48064 -
2021-01-04 16:49:15 +00:00
nickysn
e04c1221a2 - don't override thlcgwasm.gen_load_return_value
git-svn-id: branches/wasm@48063 -
2021-01-04 16:47:43 +00:00
nickysn
e7ce1feed0 - more JVM leftovers cleanup
git-svn-id: branches/wasm@48062 -
2021-01-04 16:45:32 +00:00
nickysn
1f3ff5f496 - clean up more JVM stuff
git-svn-id: branches/wasm@48061 -
2021-01-04 16:44:01 +00:00
nickysn
542c3fca3e - more JVM methods removed
git-svn-id: branches/wasm@48060 -
2021-01-04 16:42:04 +00:00
nickysn
db1a4d57a2 - removed some more unneeded for WASM methods, copied from the JVM hl codegen
git-svn-id: branches/wasm@48059 -
2021-01-04 16:37:33 +00:00
nickysn
5b961c4125 - removed several JVM methods that aren't necessary for WebAssembly
git-svn-id: branches/wasm@48058 -
2021-01-04 16:34:28 +00:00
nickysn
04c14500a7 + added math.inc and set.inc
git-svn-id: branches/wasm@48057 -
2021-01-04 15:37:16 +00:00
nickysn
97430823cf * fix for the stack tracking in twasmaddnode.second_addboolean
git-svn-id: branches/wasm@48056 -
2021-01-04 15:32:27 +00:00
nickysn
5677e7ed81 * fixed crash with ifs with an empty then clause
git-svn-id: branches/wasm@48055 -
2021-01-04 15:26:39 +00:00
nickysn
f95b74f929 * fixed stack tracking in thlcgwasm.a_op_reg_reg_reg_checkoverflow
git-svn-id: branches/wasm@48054 -
2021-01-04 15:02:00 +00:00
nickysn
92ac6bace9 * stack tracking fix for trunc32 in thlcgwasm.a_op_stack
git-svn-id: branches/wasm@48053 -
2021-01-04 15:00:05 +00:00
nickysn
b84bb3e9c4 * fixed stack tracking in thlcgwasm.resizestackfpuval
git-svn-id: branches/wasm@48052 -
2021-01-04 14:59:10 +00:00
nickysn
c6aecf184b * fixed stack tracking in thlcgwasm.gen_load_uninitialized_function_result
git-svn-id: branches/wasm@48051 -
2021-01-04 14:57:54 +00:00
nickysn
bdaeda27c2 * fixed stack tracking in thlcgwasm.a_loadfpu_const_stack
git-svn-id: branches/wasm@48050 -
2021-01-04 14:57:07 +00:00
nickysn
0e395a0d06 * handle addresses just like integers in thlcgwasm.a_load_const_stack
git-svn-id: branches/wasm@48049 -
2021-01-04 14:53:35 +00:00
nickysn
450883ea2b * fixed stack tracking for 64-bit operations in thlcgwasm.a_op_stack
git-svn-id: branches/wasm@48048 -
2021-01-04 14:51:44 +00:00
nickysn
5ea9bd6924 + uncommented the 64-bit handling code in the wasm add node
git-svn-id: branches/wasm@48047 -
2021-01-04 14:45:11 +00:00
nickysn
3719383b94 + added stack tracking in the entry and exit code
git-svn-id: branches/wasm@48046 -
2021-01-04 14:36:32 +00:00
nickysn
bcb5c140d1 * free a stack slot after br_if
git-svn-id: branches/wasm@48045 -
2021-01-04 14:08:22 +00:00
nickysn
2212bd5f3c * fixed the stack tracking in twasmaddnode.second_addboolean
git-svn-id: branches/wasm@48044 -
2021-01-04 13:58:47 +00:00
nickysn
bfe4d44aef * call decstack after if in twasmifnode.pass_generate_code to keep track of the stack balance correctly
git-svn-id: branches/wasm@48043 -
2021-01-04 13:53:26 +00:00
nickysn
d85e70bbb4 * fixed the decstack balancing in thlcgwasm.a_cmp_stack_stack
git-svn-id: branches/wasm@48042 -
2021-01-04 13:51:14 +00:00