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
Pierre Muller
4db332fecf
Add default macros inoptions unit for mips64 and mips64el CPUs
2022-02-04 19:59:26 +00:00
Pierre Muller
65880e6631
Also set mipseb or mipsel macro for 64-bit mips CPU
2022-02-04 19:57:42 +00:00
Pierre Muller
c2ffd51c63
Fix compilation from 32-bit CPU by avoiding use of aint variable in for loop
2022-02-04 18:32:49 +00:00
Pierre Muller
ea812d1c2e
mips64 define must also set mips
2022-02-04 18:31:53 +00:00
mattias
e8f9ffdb5e
pastojs: calling constructor of nested external class, issue 38858
2022-02-04 15:59:38 +01:00
mattias
953d15a939
pastojs: consistent error message on custom js file not found, issue 38978
2022-02-04 15:14:34 +01:00
mattias
664a96c584
pastojs: fixed await() as aclass, issue 39028
2022-02-04 14:48:05 +01:00
mattias
9bf4f9e2ce
fcl-passrc: fixed attributes of interface types issue 39198
2022-02-04 13:09:56 +01:00
mattias
3713784e40
fcl-passrc: comment
2022-02-04 12:48:50 +01:00
Karoly Balogh
a4e2d74626
* rtl/atari: fix haltproc external name. apparently the atari target uses a different Cprefix in the compiler, so copy-pasting this stuff from the Amiga port don't work 1:1
2022-02-04 12:22:40 +01:00