Commit Graph

59962 Commits

Author SHA1 Message Date
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
nickysn
936df34f5e + added wasm regdat regeneration to the compiler makefile
git-svn-id: branches/wasm@46205 -
2020-08-03 19:14:03 +00:00
yury
0000682043 * i8086: When a ref points to the 32-bit data, preload the ref base to a temp register to reduce spilling.
git-svn-id: trunk@46204 -
2020-08-03 18:52:17 +00:00
yury
ddea929923 * For 8 and 16 bit CPUs preload the ref base and index to a separate temp register in the generic implementation of a_load64_reg_ref() and a_load64_ref_reg().
This reduces spilling and produces a better code.

git-svn-id: trunk@46203 -
2020-08-03 18:45:38 +00:00
nickysn
08af87cde2 + also build wasmtool
git-svn-id: branches/wasm@46202 -
2020-08-03 17:25:42 +00:00
nickysn
63ecdcffd1 * mode objfpc, h+ in wasmlinkchange.pas and wasmtoolutils.pas
git-svn-id: branches/wasm@46201 -
2020-08-03 17:19:12 +00:00
yury
e70c898503 * Removed the i8086 specific hack. Since r46199 the register allocator is able to handle the problem code.
git-svn-id: trunk@46200 -
2020-08-03 16:51:20 +00:00
yury
ff820247c3 * Early during register allocation, spill registers which interfere with all usable real registers.
It is pointless to keep them for further processing. Also it may
  cause endless spilling.
  This can happen when compiling for very constrained CPUs such as
  i8086 where indexed memory access instructions allow only
  few registers as arguments and additionally the calling convention
  provides no general purpose volatile registers.

git-svn-id: trunk@46199 -
2020-08-03 16:46:25 +00:00
nickysn
39e7f9b87f * lazarus application name changed to ppcwasm (was: ppcjvm)
git-svn-id: branches/wasm@46198 -
2020-08-03 16:36:03 +00:00
yury
601e05f17f * Count only usable real registers.
git-svn-id: trunk@46197 -
2020-08-03 16:24:14 +00:00
yury
0daba07246 * Enhanced the debug output of spilling statistics. Now it includes efficiency of the spilling which is based on
weight and usage count of registers. Range 0-100%. Such statistics are very handy when you modify the register allocator.
  

git-svn-id: trunk@46196 -
2020-08-03 16:18:32 +00:00
nickysn
bf8a06f43b + added comment with the WebAssembly define
git-svn-id: branches/wasm@46195 -
2020-08-03 15:57:31 +00:00