Commit Graph

70643 Commits

Author SHA1 Message Date
Nikolay Nikolov
ed7da321f5 + enabled compilation of the strings unit for PS1 2024-09-29 21:31:37 +03:00
Nikolay Nikolov
cdbbbf036b + enable compilation of the uuchar unit for the PS1 target 2024-09-29 21:28:32 +03:00
Nikolay Nikolov
f6c487dcd7 + enabled the sysconst unit for the PS1 target 2024-09-29 21:26:20 +03:00
Nikolay Nikolov
d3af1091b6 + enabled the ctypes unit for the PS1 2024-09-29 21:23:49 +03:00
Nikolay Nikolov
4b4365a013 + enabled compilation of unit iso7185 for the PS1 target 2024-09-29 21:21:07 +03:00
Nikolay Nikolov
3a9024f0b7 + define FPC_IS_SYSTEM in the PS1 system unit 2024-09-29 21:20:23 +03:00
Nikolay Nikolov
23a66d21bd * PS1 system unit: moved constants that should be public to the interface part 2024-09-29 21:11:39 +03:00
Nikolay Nikolov
b8154e3877 + enable SoftFPU by default for the PS1 target 2024-09-29 20:56:52 +03:00
Nikolay Nikolov
b077d17cdd * MIPS: don't generate FPU code for int to real conversion when FPU emulation is enabled 2024-09-29 20:56:43 +03:00
Nikolay Nikolov
bf7bf44727 * MIPS: don't generate FPU code for abs(real), sqr(real) and sqrt(real) in case
FPU emulation is enabled
2024-09-29 20:48:38 +03:00
Nikolay Nikolov
44c8193cfa + define cpufpemu for MIPS in order to enable (optionally) FPU emulation 2024-09-29 20:25:32 +03:00
Nikolay Nikolov
7b02331168 + added fpu_libgcc to MIPS 2024-09-29 20:24:31 +03:00
Nikolay Nikolov
180c23b395 * MIPS code gen: don't use FPU registers for function parameters in case SoftFPU
is enabled
2024-09-29 20:14:55 +03:00
Nikolay Nikolov
00d86d24be * MIPS code generator: don't put floating point results in FPU registers for
function results, if the SoftFPU is enabled
2024-09-29 20:11:47 +03:00
Nikolay Nikolov
fc039aab28 + PS1 system unit: include the softfpu code, in case the softfpu is enabled in
the compiler (it is still disabled by default)
2024-09-29 20:00:57 +03:00
Nikolay Nikolov
f4abc07748 - remove Makefiles that shouldn't be committed to the git repository 2024-09-29 19:20:21 +03:00
Nikolay Nikolov
66ffc986c0 * fix alphabetical sorting of targets in comment 2024-09-29 17:39:41 +03:00
Nikolay Nikolov
b900e5f611 + added dependencies for the psy-q-sdk units to the PS1 RTL makefile. Fixes
parallel make.
2024-09-29 17:34:24 +03:00
Kirill Kranz
7e73ccf915 some psy-q-sdk bindings added to the rtl compilation 2024-09-29 16:59:02 +03:00
Kirill Kranz
0dc2f78bc8 all packages witch are not able to compile REMOVED 2024-09-29 16:59:02 +03:00
Kirill Kranz
2139180379 fixed 2024-09-29 16:59:02 +03:00
Kirill Kranz
19658ea42b strt.pp removed from build 2024-09-29 16:59:02 +03:00
Kirill Kranz
66f73d466b psy-q-sdk lib duplicate named *.o files excluded from link 2024-09-29 16:59:02 +03:00
Kirill Kranz
4ff2b54f70 dirs_ps1=ps1 2024-09-29 16:59:02 +03:00
Kirill Kranz
be9bfbecc5 typo fixed 2024-09-29 16:59:02 +03:00
Kirill Kranz
a6eeaf2c72 set_source_info behind defines 2024-09-29 16:59:02 +03:00
Kirill Kranz
8e6a8a36cd case statiment insteed of ifs 2024-09-29 16:58:12 +03:00
Kirill Kranz
d1438e0d39 check if next instruction exists 2024-09-29 16:58:12 +03:00
Kirill Kranz
e9d8bcf484 hlcgcpu.pas: uses unit systems + t_ps1.pas: correct Message3 2024-09-29 16:58:12 +03:00
Kirill Kranz
530a962dfc thx god You seen it! (reverse) 2024-09-29 16:58:12 +03:00
Kirill Kranz
14ad18a82b leave PIC code unchanged 2024-09-29 16:58:12 +03:00
Kirill Kranz
b47687852e if taicpu(p).opcode in [....] beautiy fix 2024-09-29 16:58:12 +03:00
Kirill Kranz
9a8c6fe93d NtoLE() fix 2024-09-29 16:58:12 +03:00
Kirill Kranz
034c361804 resolveReadAfterWrite moved to aasmcpu.pas 2024-09-29 16:58:12 +03:00
Kirill Kranz
63d9c1f077 random new lines removed 2024-09-29 16:58:12 +03:00
Kirill Kranz
d7e24e8708 if not ps1 setup FPU defines 2024-09-29 16:58:12 +03:00
Kirill Kranz
17c0765655 Indentation 2024-09-29 16:58:12 +03:00
Kirill Kranz
b639035415 moved the psy-q-sdk to the rtl/ps1 folder 2024-09-29 16:58:12 +03:00
Kirill Kranz
696aaa4a4f remove of the build scripts 2024-09-29 16:58:12 +03:00
Kirill Kranz
2f5cbbacb7 DynArrays works
because of InitHeap3, malloc3 and free3 functions from the psy-q-sdk
2024-09-29 16:58:12 +03:00
Kirill Kranz
ec2f18f8be compiles cube.pas example 2024-09-29 16:56:18 +03:00
Kirill Kranz
52651a7ede First compiler Build 2024-09-29 16:56:18 +03:00
Kirill Kranz
e788fa7e3f Initial 2024-09-29 16:56:18 +03:00
Michaël Van Canneyt
149db318a0 + Add license header to tuples, add to fpmake 2024-09-29 13:36:32 +02:00
Frederic Kehrein
d3b14eb1ba Adding tuple unit 2024-09-29 12:49:57 +02:00
Pierre Muller
abb5294b6e Add CC_OPT for riscv processors 2024-09-29 08:13:43 +00:00
florian
2f5fe67e56 * FSRM works only with movsb 2024-09-28 21:52:37 +02:00
Frederic Kehrein
b5a0c3b1b6 Adding some convinience functions to TNullable 2024-09-28 13:05:08 +00:00
Pierre Muller
8cacfc3355 Fix display of 80bit floats in cross-endian case 2024-09-28 13:13:18 +02:00
florian
fdae200281 * RiscV64: don't use addiw for OS_32 to OS_32 type conversions obviously 2024-09-26 21:48:53 +02:00