Commit Graph

64188 Commits

Author SHA1 Message Date
Ionut Stoica
2ec382e68c Fix leak due to bad merge or rebase 2022-02-10 09:30:22 +01:00
florian
ba51494bd7 * more MIPS64 fixes 2022-02-09 22:59:46 +01:00
mattias
8d1989fc9a fcl-passrc: fixed generic method with Self do 2022-02-09 22:05:41 +01:00
Michaël Van Canneyt
3827889e61 * Add gzStream routines, patch by Dokkie8844. Fix issue #39654 2022-02-09 13:02:04 +01:00
florian
bbece3e668 * MIPS64 can
* MIPS64 does not need separate 64 bit code path for ordinals
2022-02-08 23:08:32 +01:00
florian
308bc29465 * setting of MIPS64(EL) in system.inc fixed 2022-02-08 23:08:13 +01:00
florian
af49e3dc9f + skeleton 2022-02-08 23:04:58 +01:00
mattias
c0c6ce5422 pastojs: add rtl.run() on platform module 2022-02-08 22:13:28 +01:00
J. Gareth "Curious Kit" Moreton
fe39f9ca21 Fixed bug on x86 platforms where the stack pointer was not allocated if it was different to the frame pointer 2022-02-08 20:47:47 +00:00
mattias
d31e219510 pastojs: fixed find generic proc overload without params, issue 38796 2022-02-08 21:39:15 +01:00
mattias
473db46e08 pastojs: do not write rtl.run for platform module 2022-02-08 18:01:31 +01:00
mattias
e3e8cb5b58 pastojs: mark record fields as used when passing record to a jsvalue parameter 2022-02-08 13:36:49 +01:00
mattias
9387f87db9 pastojs: mark record fields as used when passing record to a jsvalue parameter 2022-02-08 13:33:52 +01:00
mattias
952eee5ed0 pas2js: less hints 2022-02-08 13:33:33 +01:00
Karoly Balogh
3c5d6e7224 * m68k: implement basic support for interlocked functions using a TAS based global spinlock on CPUs which don't have the CAS instruction 2022-02-08 04:42:30 +01:00
Karoly Balogh
077a3f1892 * m68k: don't attempt to copy less than 1 byte in g_concatcopy, this fixes tdfa7.pp on 68000 and removes some superfluous address processing on 68020+ in the same test 2022-02-08 03:04:28 +01:00
Karoly Balogh
8f083f6342 * m68k: do not generate unnecessary unaligned load sequences for byte loads into registers, this fixes tcnvint1 test on plain 68000 2022-02-08 01:26:28 +01:00
florian
c42b8c43bd * \t => spaces 2022-02-07 23:04:20 +01:00
mattias
540fd5e58d pastojs: export variable 2022-02-07 21:44:46 +01:00
florian
79cf1dd9cf + store also ecx and edx after cpuid call with eax=7
+ test VNNI and BIGALG instructions
2022-02-07 21:22:16 +01:00
mattias
1e77901452 pastojs: changed library exports to export const statements 2022-02-07 21:00:20 +01:00
Jonas Maebe
2ee45c7ed8 PowerPC32 SysV: fix abis_ppc_toc declaration
No TOC on those platforms (as mentioned in tcgppcgen.get_rtoc_offset), so also
exclude from this constant
2022-02-07 20:31:46 +01:00
Michaël Van Canneyt
c8403ad49e * Test for const list 2022-02-07 16:30:28 +01:00
Michaël Van Canneyt
cb03124cc5 * Added DetectBOM to TCSVDocument 2022-02-07 16:30:06 +01:00
mattias
e5ac07db13 pastojs: started test TPas2JSUseAnalyzer 2022-02-07 14:37:44 +01:00
mattias
dc7a8fa9e5 pastojs: comment 2022-02-07 12:46:13 +01:00
mattias
93b8707ed3 fcl-js: fixed comment 2022-02-07 12:45:54 +01:00
Jonas Maebe
629c1de460 TOC handling: clean up
Also fix on 32 bits PowerPC
2022-02-06 22:10:06 +01:00
florian
d42f577a3f + additional skeleton files for mips64 2022-02-06 21:57:01 +01:00
florian
28964711d7 * sorted defines in the compiler: mips64 is defined on all 64 Bit mips platforms, mips64el for little endian, misp64eb for big endian 2022-02-06 21:57:01 +01:00
florian
f56b6728a5 + skeletons for mips64el specific files 2022-02-06 20:32:43 +01:00
Florian Klämpfl
a6d6f93887 * revert accidently committed code 2022-02-06 20:15:00 +01:00
Florian Klämpfl
9348f58e70 * cosmetics 2022-02-06 20:13:51 +01:00
mattias
621dcbeaf2 pastojs: library added rtl.run, moved exports behind rtl.run, fixed export unit symbols 2022-02-06 19:16:48 +01:00
Karoly Balogh
568d4de77e * aros64: recent developments hanged the library call ABI, lets try to follow it (aros64 is experimental) 2022-02-06 16:30:04 +01:00
mattias
4f3093657e pastojs: export from units 2022-02-06 14:37:13 +01:00
florian
a1f865ae45 * updated 2022-02-06 13:51:05 +01:00
florian
c1ef094457 + startup code skeleton for MIPS64 2022-02-06 13:50:32 +01:00
florian
bd82ad0d41 * register MIPS64 targets properly 2022-02-06 10:50:57 +01:00
Karoly Balogh
c9ec57bd73 * rtl/atari: add the standalone softfpu units to the Atari build. this fixes the Atari native compiler build after recent changes 2022-02-06 00:05:37 +01:00
florian
e9e8013316 + some basic stuff for MIPS64 2022-02-05 23:25:31 +01:00
Jonas Maebe
68b5ca633c ppc platforms: fix missing TOC restoration room
PPC platforms that use a TOC can never use a tail call to call a different
routine that potentially accesses globals, as it may use a different TOC and
then the linker must be able to insert an instruction after the branch to
restore the original TOC register value on "return". Even if FPC code itself
does not use the TOC register, it's still required since
  1) the linker does not know this, and
  2) the FPC code might still be called from other code that does use it
2022-02-05 21:36:41 +01:00
Jonas Maebe
83c18df69a ppc64: fix rtoc handling
Save on procedure entry if it performs a call, rather than (only) before every
indirect call
2022-02-05 17:36:08 +01:00
Michaël Van Canneyt
6dd5b63e2d * Shorter version of libimports 2022-02-05 16:58:08 +01:00
Michaël Van Canneyt
396b516a85 * dts2pas added for next pas2js release 2022-02-05 16:35:04 +01:00
Michaël Van Canneyt
bf86e57cfe * Need pas.$libimports 2022-02-05 16:17:39 +01:00
Pierre Muller
a9c67f22fd Add use of SD instruction in tcgmips.a_load_reg_ref method 2022-02-04 22:54:58 +00:00
florian
ed2b73eee6 * sorted MIPS defines 2022-02-04 23:07:25 +01:00
FPK
d54d787df2 + use linux tag in gitlab-ci.yml 2022-02-04 22:18:33 +01:00
Pierre Muller
fbed068048 Set float type information in system interface part for mips64 and mips64el CPUs 2022-02-04 20:00:40 +00:00