Commit Graph

71650 Commits

Author SHA1 Message Date
florian
a3f4786b1d * better error message in case of illegal test runner directive 2025-01-26 10:53:07 +01:00
florian
c3a9b67118 * couple of wrong test runner directives fixed 2025-01-26 10:33:54 +01:00
Nikolay Nikolov
6972d16c3a * also handle enumeration results and integer result sizes, other than 32-bit in System.Rtti.Invoke for WebAssembly 2025-01-26 09:25:25 +02:00
Nikolay Nikolov
12db8a59b5 * proper handling for boolean results (especially Boolean64 and QWordBool) in System.Rtti.Invoke 2025-01-26 09:13:09 +02:00
florian
f8c09568d8 * RiscV: unify stack related functions 2025-01-25 23:20:11 +01:00
Michaël Van Canneyt
709a95b977 * Forgot to commit 2025-01-25 20:39:00 +01:00
Michaël Van Canneyt
0f9d21a098 * Some explanations 2025-01-25 20:33:42 +01:00
Michaël Van Canneyt
49183639e0 * Reworked testsuite database 2025-01-25 20:29:31 +01:00
florian
c6a68abfb6 * RiscV: unify memory barrier functions 2025-01-25 15:00:40 +01:00
florian
ca53c5e7d4 * unify SysInitFPU and SysResetFPU on RiscV 2025-01-25 14:43:10 +01:00
Nikolay Nikolov
2e8b9e7e01 + initial implementation of System.Rtti.Invoke() for WebAssembly. Currently
only works with the internal linker. Not all types have been tested, yet.
2025-01-25 11:56:02 +02:00
Nikolay Nikolov
522612a632 + WebAssembly internal linker: rewrite the fpc_wasm_invoke_helper function in the linker, so that it becomes functional 2025-01-25 08:22:44 +02:00
Nikolay Nikolov
5e813e62f2 + added function fpc_wasm_invoke_helper to the WebAssembly RTL 2025-01-25 08:21:56 +02:00
florian
28a9a44894 * call SysResetFPU and SysInitFPU in InitThread for the time being 2025-01-24 22:56:46 +01:00
Michaël Van Canneyt
223745f6b7 * Generate also string (enum) type definitions 2025-01-24 16:02:36 +01:00
Michaël Van Canneyt
28fc3da2bd * Patch from Eric Grange to fix TRectF.FitInto 2025-01-24 11:53:09 +01:00
Pierre Muller
d2f5bbac50 Riscv64 linux also needs _STAT_VER_LINUX to be zero for correct libc rtl behavior 2025-01-23 22:38:07 +00:00
florian
9cac8e6183 + add an SysInitFPU implementation 2025-01-23 23:00:30 +01:00
Pierre Muller
d959e47c83 Fix _FPC_xtensa_exit first parameter passing 2025-01-23 15:52:11 +00:00
Michaël Van Canneyt
0914565a52 * Loop variable must be integer, count can be -1 2025-01-23 14:49:23 +01:00
Michaël Van Canneyt
925091d0d1 * Fix compilation when using threading 2025-01-23 14:48:57 +01:00
Michaël Van Canneyt
9b2b1c12ff * Add possibility to specify UTC or not 2025-01-23 14:29:01 +01:00
florian
bf41de879a * factor out TRVCpuAsmOptimizer.OptPass1SLTI 2025-01-22 22:58:34 +01:00
Michaël Van Canneyt
2f0e446c15 * Add libpipewire 2025-01-22 13:05:16 +01:00
florian
02b31542f6 * make rounding mode and exception mask thread variables as well 2025-01-21 22:53:28 +01:00
Margers
3490217489 fp parameter N - no long file names (DOS only) 2025-01-21 07:23:55 +00:00
florian
cfc5f17b0d + CPURV_HAS_ZICOND 2025-01-20 22:52:23 +01:00
Pierre Muller
7e5d9680c2 Fix compilation of riscvXX-linux targets with -dFPC_USE_LIBC 2025-01-20 22:48:39 +01:00
mattias
08f44aff2c fcl-passrc: useanalyzer: fixed typeinfo(Result) 2025-01-20 14:52:31 +01:00
mattias
6164532196 fcl-passrc: fixed error message when namespace not found 2025-01-20 11:06:36 +01:00
mattias
687384f091 fcl-json: less hints 2025-01-20 11:06:36 +01:00
florian
2b30f8b96a * fixed and extended test to support all extensions 2025-01-19 21:45:18 +01:00
florian
b1c2023af1 + support for RiscV hwprobe syscall
+ test
2025-01-19 18:42:04 +01:00
florian
a4ca9f5357 * upated syscalls
+ RiscV specific syscalls added
2025-01-18 23:04:07 +01:00
Michaël Van Canneyt
38e2cea533 * Patches from Pierre 2025-01-18 15:52:04 +01:00
florian
879e13d96a * fix duplicate identifiers 2025-01-18 14:25:56 +01:00
florian
ea9e3e02bd + RiscV: write arch attribute 2025-01-17 23:16:38 +01:00
Michaël Van Canneyt
dcc95b14e8 Merge branch 'dbdigest' 2025-01-17 11:35:18 +01:00
Michaël Van Canneyt
720b9cd1ef * Rename testlist to tasklist 2025-01-17 11:35:02 +01:00
Pierre Muller
a34b44b3b7 Fix compilation failure of tests/utils/dotest.pp 2025-01-16 21:55:10 +00:00
Pierre Muller
b1a47a5d7d Use '__global_pointer$' special linker symbol to set gp,
because its value can be different from __BSS_END__ - 0x800.

Details from binutils-2.40/ld/emulparams/elf32lriscv-defs.sh
// We must cover as much of sdata as possible if it exists.  If sdata+bss is
// smaller than 0x1000 then we should start from bss end to cover as much of
// the program as possible.  But we can't allow gp to cover any of rodata, as
// the address of variables in rodata may change during relaxation, so we start
// from data in that case.
OTHER_END_SYMBOLS="${CREATE_SHLIB-__BSS_END__ = .;
    __global_pointer$ = MIN(__SDATA_BEGIN__ + 0x800,
                            MAX(__DATA_BEGIN__ + 0x800, __BSS_END__ - 0x800));}"
2025-01-16 17:20:14 +00:00
Michaël Van Canneyt
4813ab9f31 Merge branch 'dbdigest' 2025-01-16 10:50:17 +01:00
Michaël Van Canneyt
4385fb5884 * Add dbadd 2025-01-16 10:50:04 +01:00
Michaël Van Canneyt
0cca70151f * Rework testsuite 2025-01-16 10:38:18 +01:00
Michaël Van Canneyt
6da401b1c3 * Fixes after tests with foreign keys enabled 2025-01-16 10:35:29 +01:00
Michaël Van Canneyt
762d1d2f1e * New testsuite database structure 2025-01-15 23:17:19 +01:00
Michaël Van Canneyt
33cb23e99b * first complete working version 2025-01-15 22:35:50 +01:00
Jinyang He
d1c3ba96f2 LoongArch: Always emit la.got for global symbol 2025-01-15 14:41:18 +08:00
Jinyang He
8032b65442 The ffi_closure_alloc return fCode is real do 2025-01-15 14:40:16 +08:00
Jinyang He
061c8b5f25 fix ffi_cif record for loongarch 2025-01-15 14:40:16 +08:00