Commit Graph

60876 Commits

Author SHA1 Message Date
nickysn
3c3a8ce111 * fixed bug in thlcgwasm.a_cmp_const_ref_label
git-svn-id: branches/wasm@47179 -
2020-10-24 18:47:29 +00:00
nickysn
c46f308749 + support dup for symbols in prepare_stack_for_ref
git-svn-id: branches/wasm@47178 -
2020-10-24 18:41:01 +00:00
nickysn
64b2d8ef85 * wasm base and index reference access fixes
git-svn-id: branches/wasm@47177 -
2020-10-24 17:28:43 +00:00
nickysn
d15e9717e3 * treference parameter of prepare_stack_for_ref changed to var
git-svn-id: branches/wasm@47176 -
2020-10-24 17:12:48 +00:00
nickysn
0bb255709f * formatting
git-svn-id: branches/wasm@47175 -
2020-10-24 16:51:48 +00:00
michael
b5148304b7 * Added InitSSLInterface overload where the library names can be specified
git-svn-id: trunk@47174 -
2020-10-24 16:29:33 +00:00
nickysn
1d8c5edbcc + write references with registers for debugging purposes (to support asm output with -sr) in the LLVM-MC asm writer
git-svn-id: branches/wasm@47173 -
2020-10-24 15:41:41 +00:00
nickysn
66c1a57ab4 * use the LLVM-MC assembler by default for the WebAssembly targets
git-svn-id: branches/wasm@47172 -
2020-10-24 15:33:35 +00:00
nickysn
9257aa8594 + define EXTDEBUG for the wasm32 compiler, when compiled using the lazarus project
git-svn-id: branches/wasm@47171 -
2020-10-24 15:24:23 +00:00
nickysn
9972d0e7d9 + internal error in thlcgwasm.prepare_stack_for_ref for symbol with registers
git-svn-id: branches/wasm@47170 -
2020-10-24 14:53:46 +00:00
nickysn
5128c07e68 * fixed writing to global variables
git-svn-id: branches/wasm@47169 -
2020-10-24 14:10:04 +00:00
nickysn
8211bcbd4c * fixed getting the address of a global variable
git-svn-id: branches/wasm@47168 -
2020-10-24 12:24:15 +00:00
nickysn
bbe5e3d0e7 - removed spurious load of global symbols in thlcgwasm.prepare_stack_for_ref
git-svn-id: branches/wasm@47167 -
2020-10-24 12:09:02 +00:00
nickysn
19519eb3d2 + support global references with offset in the LLVM-MC asm writer
git-svn-id: branches/wasm@47166 -
2020-10-24 12:03:55 +00:00
nickysn
8494283925 * fixed load/store LLVM-MC asm output for global variables
git-svn-id: branches/wasm@47165 -
2020-10-24 11:56:20 +00:00
pierre
297f468cd6 Use // comments as curly brackets not recognized as comment start inside aarch64 assembly blocks
git-svn-id: trunk@47164 -
2020-10-23 22:21:06 +00:00
florian
8fa62752d4 * patch by J. Gareth Moreton: minor refactor of reduced iterations of pass 1 of the assembler optimizer, resolves #37972
git-svn-id: trunk@47163 -
2020-10-23 20:05:18 +00:00
florian
703941dde5 + x86: MovxMov2Mov optimization
git-svn-id: trunk@47162 -
2020-10-23 20:05:17 +00:00
Jonas Maebe
6d0ce1c4b6 * LLVM: ensure that the parameter types are processed of procdefs that are
declared when they get first called
   o fixes compilation of several tests/test/tobjc* tests after r46675

git-svn-id: trunk@47160 -
2020-10-23 15:09:34 +00:00
Jonas Maebe
14b44f5179 * don't run interactive test
git-svn-id: trunk@47159 -
2020-10-23 15:09:31 +00:00
Jonas Maebe
0729340817 * try_make_mul32to64: restore original node order if transformation failed
o this gets called by taddnode.pass_1, which caches the left/right
   node types/resultdefs

git-svn-id: trunk@47158 -
2020-10-23 13:34:24 +00:00
pierre
51d6622148 Switch OpenBSD libc version of geterrnolocation from libcerrno lib C variable to _libc___errno function use
git-svn-id: trunk@47157 -
2020-10-23 10:25:44 +00:00
nickysn
6899e07cd7 * synchronized with trunk
git-svn-id: branches/wasm@47156 -
2020-10-23 00:41:20 +00:00
florian
dc547b1426 + remove type conversions also for unary operations if possible
git-svn-id: trunk@47155 -
2020-10-22 21:25:37 +00:00
florian
74d145bb16 * simplify tcgunaryminusnode.second_integer
git-svn-id: trunk@47154 -
2020-10-22 21:25:36 +00:00
Mattias Gaertner
993c511554 pastojs: filer: class forward
git-svn-id: trunk@47153 -
2020-10-22 20:07:02 +00:00
florian
6fc930a0fc * better complexity calculation of tvecnodes
git-svn-id: trunk@47151 -
2020-10-21 20:46:28 +00:00
florian
044133fc87 * explicitly convert array indicies to pointer sized integers, so cse
can handle the conversion

git-svn-id: trunk@47150 -
2020-10-21 20:46:28 +00:00
florian
4afa4a73c6 + ISO mode: accept put/get without parameter, works on Input/Output respectively, resolves #37949
git-svn-id: trunk@47147 -
2020-10-20 21:03:51 +00:00
florian
91a6223281 * (slight modified) patch by J. Gareth Moreton to reduce number of assembler optimizer passes, resolves #37959
git-svn-id: trunk@47146 -
2020-10-20 20:03:25 +00:00
florian
8bbc7d5df3 * patch by J. Gareth Moreton to improve LEA/SHL -> LEA optimisation, resolves #37954
git-svn-id: trunk@47143 -
2020-10-19 19:46:10 +00:00
Jonas Maebe
099134b545 * fix try_make_mul32to64() if it's called with a constant node on the
left (mantis #37878)
   o can happen if use_generic_mul32to64 returns false

git-svn-id: trunk@47142 -
2020-10-19 19:10:16 +00:00
michael
0e474f4748 * Patch from Laco with additions
git-svn-id: trunk@47138 -
2020-10-19 11:25:21 +00:00
pierre
3f19bd693f + Add new LastCommonAsmOp constant to arm and aarch64 CPU targets.
* Uses this new constant to define TCommonAsmOps set type.
  + Use this constant in armgen/aoptarm MatchInstruction function,
    to avoid a range check error when compiling with -CriotR with optimization.

git-svn-id: trunk@47137 -
2020-10-19 09:19:25 +00:00
Mattias Gaertner
764b035c23 pastojs: fixed compile
git-svn-id: trunk@47136 -
2020-10-19 07:21:16 +00:00
nickysn
578750a646 * synchronized with trunk
git-svn-id: branches/wasm@47135 -
2020-10-19 05:06:33 +00:00
Mattias Gaertner
79935d8579 pastojs: filer: local specialize type
git-svn-id: trunk@47134 -
2020-10-18 20:29:54 +00:00
florian
201281ae2a * compiler Makefile checks if SOURCE_SOURCE_DATE_EPOCH_DATE is set or if git is used, in either case the former or the latter are used for the build date reported by the compiler
git-svn-id: trunk@47133 -
2020-10-18 17:13:39 +00:00
florian
9ea52b8578 + new switches -DD and DT which allow to pass an arbitrary string which is used by %DATE%/%TIME%
git-svn-id: trunk@47132 -
2020-10-18 17:13:38 +00:00
Mattias Gaertner
1299e585c9 pastojs: filer: restore original order before checking specializations
git-svn-id: trunk@47131 -
2020-10-18 16:24:03 +00:00
Mattias Gaertner
f2712a50df pastojs: undo commit error
git-svn-id: trunk@47130 -
2020-10-18 15:24:18 +00:00
Mattias Gaertner
2f83458c33 pastojs: filer: store precompiled short references
git-svn-id: trunk@47129 -
2020-10-18 15:19:11 +00:00
Mattias Gaertner
f5d4e54ab3 fcl-passrc:
git-svn-id: trunk@47128 -
2020-10-18 15:18:15 +00:00
marco
c053bc9418 * debian lintian detected spellfix
git-svn-id: trunk@47126 -
2020-10-18 11:43:52 +00:00
marco
a243cdc4e6 * debian lintian spellfix
git-svn-id: trunk@47125 -
2020-10-18 11:35:47 +00:00
marco
368a0b75b4 * fix spell error detected by debian lintian
git-svn-id: trunk@47124 -
2020-10-18 11:26:59 +00:00
svenbarth
5a68b2218a * for Aarch64 inline assembly comments need to start with //
git-svn-id: trunk@47123 -
2020-10-18 08:52:41 +00:00
florian
a19ec44b97 * patch by Bart Broersma: avoid unsigned wrap around in TDeque.Erase, resolves #37482
git-svn-id: trunk@47122 -
2020-10-17 20:35:20 +00:00
Jonas Maebe
080d8c28f7 * LLVM 11.0 support
git-svn-id: trunk@47121 -
2020-10-17 14:59:04 +00:00
michael
827bb70333 * Remove debug statement (bug ID 37940)
git-svn-id: trunk@47120 -
2020-10-17 09:04:42 +00:00