Commit Graph

59973 Commits

Author SHA1 Message Date
nickysn
6a1688d45c * use ld_none for the internal linker for the WASM32 targets, because that's the
convention used by FPC for targets, that don't have an internal linker
  implemented yet

git-svn-id: branches/wasm@46271 -
2020-08-05 19:30:57 +00:00
nickysn
a2a4d5473a * use as_wasm32_wabt as external assembler, since that's what's more stable. The
binaryen assembler can always be selected by compiling with -Abinaryen

git-svn-id: branches/wasm@46270 -
2020-08-05 19:29:05 +00:00
nickysn
fa9eef27ef * use upper case asm id strings, so assemblers can be selected via the -A option
git-svn-id: branches/wasm@46267 -
2020-08-05 16:31:44 +00:00
nickysn
fe01706f1f + added WASI as the list of supported systems for the WASM asm writers
git-svn-id: branches/wasm@46265 -
2020-08-05 16:15:57 +00:00
nickysn
914ee08cd9 * renamed as_wasm_binaryen -> as_wasm32_binaryen and as_wasm_wabt -> as_wasm32_wabt
git-svn-id: branches/wasm@46264 -
2020-08-05 16:13:56 +00:00
nickysn
0c04e99211 * increased shortstring length to accomodate the WASI long name
git-svn-id: branches/wasm@46263 -
2020-08-05 16:11:12 +00:00
nickysn
9a0a7b42cb * changed the long name of the WASI target
git-svn-id: branches/wasm@46262 -
2020-08-05 16:09:46 +00:00
nickysn
bccbcc8594 * short name of the WASI target changed to 'Wasi'
git-svn-id: branches/wasm@46261 -
2020-08-05 16:07:52 +00:00
nickysn
16aa4f0dfd + added the minimal system unit from the wasm demo
git-svn-id: branches/wasm@46260 -
2020-08-05 16:02:51 +00:00
nickysn
080aa1ca74 + added target WASI, clone of the 'WASM' target
git-svn-id: branches/wasm@46259 -
2020-08-05 15:36:08 +00:00
nickysn
c210f63105 * ifdef changed to wasm32
git-svn-id: branches/wasm@46258 -
2020-08-05 15:26:34 +00:00
nickysn
92f6840721 * more wasm -> wasm32 renames
git-svn-id: branches/wasm@46257 -
2020-08-05 14:44:34 +00:00
nickysn
4a74238a0d * system_wasm_wasm32 renamed system_wasm32_wasm
git-svn-id: branches/wasm@46256 -
2020-08-05 14:32:41 +00:00
nickysn
a00110f6e0 * cpu_wasm renamed cpu_wasm32
git-svn-id: branches/wasm@46255 -
2020-08-05 14:28:24 +00:00
nickysn
208473b859 * cputypestr renamed wasm32
git-svn-id: branches/wasm@46254 -
2020-08-05 14:27:33 +00:00
nickysn
6dd85ad80c * wasm cpu string renamed wasm32
git-svn-id: branches/wasm@46253 -
2020-08-05 14:25:39 +00:00
nickysn
26207eef00 * the wasm target in the makefiles renamed wasm32
git-svn-id: branches/wasm@46252 -
2020-08-05 14:23:56 +00:00
nickysn
c9ee72b05a * the compiler/wasm directory renamed compiler/wasm32
git-svn-id: branches/wasm@46251 -
2020-08-05 14:19:18 +00:00
nickysn
39c5f11ec6 * the WASM define renamed WASM32
git-svn-id: branches/wasm@46250 -
2020-08-05 14:17:27 +00:00
nickysn
ed524467e9 * ppcwasm.lpi renamed ppcwasm32.lpi
git-svn-id: branches/wasm@46249 -
2020-08-05 14:10:18 +00:00
nickysn
f72e947ff1 * synchronized with trunk
git-svn-id: branches/wasm@46237 -
2020-08-04 23:54:31 +00:00
Jonas Maebe
86d55055df * made internalerror unique
git-svn-id: trunk@46236 -
2020-08-04 21:12:06 +00:00
Jonas Maebe
69129f38e2 * aarch64: correct paraloc^.def for LOC_REFERENCE parameters
o fixes LLVM parameter information for such parameters (e.g. tw36934)

git-svn-id: trunk@46235 -
2020-08-04 21:07:06 +00:00
florian
1d3ed354de * patch by J. Gareth Moreton: unifies internalerrors, resolves #37471
git-svn-id: trunk@46234 -
2020-08-04 20:51:52 +00:00
yury
719220e8a4 * For 8/16 bit CPUs and TP mode, disable expansion to a larger integer type for subtract operations on unsigned integers. This is TP7 compatible.
git-svn-id: trunk@46233 -
2020-08-04 20:45:29 +00:00
michael
ec3eef03f1 * Set path to local version of fcl-passrc, not installed version
git-svn-id: trunk@46232 -
2020-08-04 15:50:45 +00:00
michael
2faa9e06a1 * Additional options for latest pas2js version features
git-svn-id: trunk@46230 -
2020-08-04 13:56:43 +00:00
nickysn
a09b11f974 * regenerated makefiles after sync with trunk
git-svn-id: branches/wasm@46229 -
2020-08-04 13:44:31 +00:00
michael
869ae0904c * Lowercase unit name (bug ID 37481)
git-svn-id: trunk@46228 -
2020-08-04 13:42:39 +00:00
nickysn
5f116441e0 * update revision.inc
git-svn-id: branches/wasm@46227 -
2020-08-04 13:41:38 +00:00
nickysn
c1312e47fe * synchronized with trunk
git-svn-id: branches/wasm@46226 -
2020-08-04 13:37:27 +00:00
pierre
ca40956a3a Regenerated all Makefile's
git-svn-id: trunk@46224 -
2020-08-04 10:19:49 +00:00
pierre
a2806954ed Update after commit #46222
git-svn-id: trunk@46223 -
2020-08-04 10:10:44 +00:00
pierre
a5997e266f Add powerpc specific call to gcc to get the correct libgcc directory for linux
git-svn-id: trunk@46222 -
2020-08-04 07:48:24 +00:00
pierre
fdb1cd38ab Disable limitation of handling of negative shift values, can be enalbed again by setting LIMIT_NEG_SHIFTVALUES macro
git-svn-id: trunk@46221 -
2020-08-04 07:45:03 +00:00
svenbarth
c17ad509e2 * fix for Mantis #36775: apply patch by J. Gareth Moreton
+ added tests

git-svn-id: trunk@46220 -
2020-08-03 21:53:29 +00:00
svenbarth
055cfc1771 * added test for Mantis #36014 which is already fixed (also in 3.2.0)
git-svn-id: trunk@46219 -
2020-08-03 21:53:24 +00:00
svenbarth
8770af84bd * fix for Mantis #37187: inside generics the constant code in pexpr does not handle all cases and thus current_procinfo needs to be checked as well
+ added test

git-svn-id: trunk@46218 -
2020-08-03 21:53:14 +00:00
nickysn
035a946168 * wasm compilation fixed after sync with trunk
git-svn-id: branches/wasm@46217 -
2020-08-03 21:31:50 +00:00
nickysn
a8811ac14a * regenerated makefiles
git-svn-id: branches/wasm@46216 -
2020-08-03 21:23:58 +00:00
nickysn
b79a2fc5bf * update revision.inc
git-svn-id: branches/wasm@46215 -
2020-08-03 21:20:22 +00:00
nickysn
62cb7c2d12 * synchronized with trunk
git-svn-id: branches/wasm@46214 -
2020-08-03 21:15:39 +00:00
Jonas Maebe
06a5ec5b5c * fixed peephole optimizer replace lea by add even if the flags were in use
(patch by J. Gareth Moreton)

git-svn-id: trunk@46213 -
2020-08-03 20:51:37 +00:00
Jonas Maebe
3047ce71bc * fixed LLVM register allocator after r46199
git-svn-id: trunk@46212 -
2020-08-03 20:36:02 +00:00
florian
87702d7cda * cosmetics
git-svn-id: trunk@46211 -
2020-08-03 19:58:47 +00:00
florian
7281ea7a2c * floating point division by zero should throw run time error 208, fixed
git-svn-id: trunk@46210 -
2020-08-03 19:42:16 +00:00
florian
b60ac4c2db * @PLT is needed for calls to link it properly with pic code
git-svn-id: trunk@46209 -
2020-08-03 19:42:14 +00:00
florian
4c2c540b29 * fixed resetting of state, broken in r45995
+ debugging output
  * check magic properly
  * cosmetics

git-svn-id: trunk@46208 -
2020-08-03 19:42:13 +00:00
florian
893225770c * updated tfpstate
git-svn-id: trunk@46207 -
2020-08-03 19:42:13 +00:00
nickysn
83e8a799c8 * fixed wasm warnings, due to level 2 comments
git-svn-id: branches/wasm@46206 -
2020-08-03 19:25:59 +00:00