Commit Graph

65635 Commits

Author SHA1 Message Date
florian
e28238da9b * handle absolute on strings correctly for dwarf debug info, resolves #39816 2022-07-05 23:04:57 +02:00
Robert Roland
a19add9c88 Add cntfrq_el0 and cntpct_el0 AArch64 registers 2022-07-05 20:40:27 +00:00
florian
a9db747eb9 + test for #39786 2022-07-04 22:52:05 +02:00
florian
a2a2a6d79e * naming fixed, it is a test for #39785 2022-07-03 16:09:09 +02:00
Michaël Van Canneyt
f754ecf3d4 * Fix AV when reading palette. Fixes issue #39823 2022-07-03 10:32:33 +02:00
Michaël Van Canneyt
672f90bf40 Reset col when reading new lines. Fix issue #39356 2022-07-03 10:27:15 +02:00
florian
c5a0d16c58 * experimental test for #39758 2022-07-02 23:36:14 +02:00
Jeppe
f5cf8956c5 riscv: Merge stack code, fix interrupted code
- Stack pointer is kept below register save area. This ensures that
registers are not overwritten by interrupt handlers.
- RV32 and 64 code is merged to base class.
2022-07-02 15:07:42 +02:00
Jeppe
37b5147b19 riscv32: Fix potential FP proc_exit bug 2022-07-02 15:07:42 +02:00
Michaël Van Canneyt
ff3f183eb2 * Patch from Bart to remove unneeded test 2022-07-02 13:05:00 +02:00
Michaël Van Canneyt
c286e44499 * Use correct define for regexpr, name has changed 2022-07-02 12:18:20 +02:00
Alexey Torgashin
d6dbcb5c8b Update packages/regexpr/src/regexpr.pas 2022-07-02 09:31:43 +00:00
Michaël Van Canneyt
6dfc0c4bae * Do not define UNICODE by default, only in Uregexpr 2022-07-02 10:02:27 +02:00
florian
fcb5531fbc * convert a+/-const1-/const2 in into a+/-(-const1)+(-const2) to enable further optimizations, resolves #39782 2022-07-01 23:04:50 +02:00
florian
83ce54b815 set Tag_ABI_VFP_args to 1 only if the hard float abi is used, should resolve #39817 2022-06-30 22:02:11 +02:00
mattias
8abe70e25a webidl: wasmjob: dictionary 2022-06-30 16:01:44 +02:00
ccrause
1108d03609 Split startup code into different .init sections according to avr-libs convention. 2022-06-29 20:25:21 +00:00
mattias
29be433e1b webidl: wasmjob: function type object as arg and return type 2022-06-29 04:03:48 +02:00
mattias
6aaa92680c webidl: wasmjob: object attribute 2022-06-28 23:38:35 +02:00
mattias
c50ef1efcf webidl: wasmjob: create unique local var 2022-06-28 23:23:11 +02:00
mattias
623b723b11 webidl: wasmjob: pass method as argument 2022-06-28 23:14:25 +02:00
mattias
f107502018 webidl: cast 2022-06-28 23:14:25 +02:00
florian
ceda27ae25 * allow type parameters in variant parts of records as we do not now
what type is used during specialization, resolves #39805
2022-06-28 22:45:17 +02:00
florian
f92102a5f2 * patch by Rika: SwapEndian([u]int16) has unnecessary “and $FFFF”, resolves #39814 2022-06-27 22:45:01 +02:00
mattias
54ba991c11 webidl: wasmjob: callback wrapper for primitive types 2022-06-27 18:56:08 +02:00
mattias
bbda3631fa webidl: add const modifier to function def arguments 2022-06-27 14:34:21 +02:00
mattias
a50e0382c5 webidl: added Function and BigInteger to base types 2022-06-27 14:31:04 +02:00
mattias
dd0acb6360 webidl: resolving type defs 2022-06-27 13:55:49 +02:00
mattias
fb5456da79 webidl: wasmjob: prefix callbacks with T 2022-06-27 11:30:31 +02:00
mattias
b9dc428e20 webidl: wasmjob: invoke procedure 2022-06-27 11:19:28 +02:00
mattias
2333af5cfd webidl: wasmjob: invoke function with primitive args 2022-06-27 11:19:28 +02:00
mattias
29d1212bf3 webidl: wasmjob: invoke function 2022-06-27 11:19:28 +02:00
florian
98d297cf54 * patch by Bart B to refactor ConvUtils (no functional changes), resolves #39813 2022-06-26 22:26:16 +02:00
magorium
4058a0ac4b AROS: Make sure opaque SMP extension is used for ABIv11 only
These changes adds an additional record field to record structure TMsgPort in
order to support SMP for ABIv11 (non m68k targets only).

This additional field contains two opaque IPTR's/PtrUInt's and therefor breaks
compatibility between ABIv0, ABIv1 and ABIv11 as well as make them binary
incompatible.

It also renders ABIv11 incompatible with itself when this change was introduced
on march 18 2022. Recompilation of existing code for this ABI is thus required.

See: b9bc67accc
2022-06-26 19:03:18 +00:00
magorium
c660120329 AROS: Ensure that spinlocks for SMP enabled build is not possible for ABIv11
These changes makes sure that the use of record structure spinlock is not
active/available when compiling for AROS ABIv11 as that ABI does not support
spinlocks as implemented for AROS ABIv1.

Note that this is a ABI and Binary Compatible break between ABIv1 and ABIv11.
2022-06-26 19:03:18 +00:00
magorium
14f9774838 AROS: Ensure that spinlocks for SMP enabled build can only be active for ABIv1
These changes makes sure that the use of record structure TSpinlock can only
be enabled/active for AROS ABIv1 as that ABI is currently the only ABI that
is able to support SMP by using the spinlock record structure.
2022-06-26 19:03:18 +00:00
magorium
41a48fe385 AROS: Use structure spinlock for SMP enabled build (ABI/BC break)
This commit will add an additional spinlock field to record structures
TMsgPort and TSemaphoreRequest for a SMP enabled build.

This will break ABI and Binary Compatibility between ABIv0 and ABIv1 and for
ABIv1 (for a SMP enabled build).

Recompilation in such case is required as both record structures TMsgPort and
TSemaphoreRequest are embedded in other record structures which causes a
myriad of changes to those records including different record sizes and other
field offsets.

Note that SMP is currently only available for ABIv1 and afaik only supported
for AROS target x86_64 while AROS target i386 has initial support for SMP
(but not actively enabled).

SMP enabled build can be 'activated' by defining AROS_PLATFORM_SMP and
AROSEXEC_SMP.
2022-06-26 19:03:18 +00:00
magorium
b467de658d AROS: Add structure spinlock for SMP builds
In 2015 ABIv1 introduced support for spinlocks for SMP enabled builds (1) by
use of a special spinlock structure.

This structure was later updated to end up in its current form in 2017 (2)

This commit adds this record structure to both RTL (execd) and unit (exec).

The structure can be "enabled" by defining AROSPLATFORM_SMP during build.

1) b6045c27fd
2) 0ffdbdc48f
2022-06-26 19:03:18 +00:00
magorium
b218393b57 AROS: ABI compatibility update AROSSupportBase (ABI/API/BC break)
These changes break API/Binary Compatibility between ABIv0 and ABIv1.

Field stdOut is replaced by undefined field named _pad for ABIv1 while
(still) being present as stdOut for ABIv0.

Field DebugConfig is completely removed from ABIv1 (still present for ABIv0).

If your code depends on either of these two fields then you need to make
appropriate changes when compiling for ABIv1.

Removing dependency on either of these two mentioned fields is preferred.

Both RTL (execd.inc) and unit (exec.pas) are updated.

See also 194cc5e1c5
2022-06-26 18:38:06 +00:00
magorium
8bc7d5897d AROS: ABI compatibility update structure TETask (ABI/BC break)
These changes break Binary Compatibility between ABIv0 and ABIv1.

Record TETask was not compliant to ABIv1 because field et_Compatibility is
only required for ABIv0 (06538a1790).

Therefor these changes update record TETask for both RTL (execd.inc) and unit
exec (exec.pas) so that field et_Compatibility is only present for ABIv0.

The impact of these changes should be minimal because all relevant fields are
still accessible (some located at another offset) and code should never rely
on the size of this structure.
2022-06-26 18:17:44 +00:00
magorium
08cc81ff60 AROS: Update RTL structure TETask (execd)
Bring RTL (execd.inc) structure TETask up to date to unit exec (exec.pas).

This structure situated in the RTL was (literally) based on the MorphOS
version which is not compliant to AROS.

The original MorphOS TETask structure can still be 'activated' when the flag
AROS_MORPHOS_COMPATIBLE is defined when compiling the RTL and exec unit (as
is also the case in the original AROS repo).
2022-06-26 18:17:44 +00:00
magorium
5a0d76e45a AROS: 32/64-bit fix field alignment for unit conunit
Make sure AROS' record structures are C-packed.
2022-06-26 17:54:31 +00:00
magorium
030fe14bde AROS: 32/64-bit fix field alignment for unit commodities
Make sure AROS' record structures are C-packed.
2022-06-26 17:54:31 +00:00
magorium
9a47cc5c47 AROS: 64-bit fix elf structures for unit amigados
Make sure ELF structures are compliant to 64-bit when target is 64-bit.
2022-06-26 17:54:31 +00:00
magorium
1d1a68761e AROS: 32/64-bit compatibility update for unit agraphics
Make TRastPort compliant to both ABI's by removing redundant ifdef.

Add information about (new) fields.
2022-06-26 17:54:31 +00:00
magorium
3439b220a7 AROS: 32/64-bit compatibility update for unit intuition
Make TDrawInfo compliant to both ABI's by removing redundant ifdef.

Add information about (new) fields.

Update dri_version to v3.
2022-06-26 17:54:31 +00:00
magorium
e07185bc11 AROS: 32/64-bit compatibility update for unit workbench
Make TAppMessage compliant to both ABI's as well as 32/64-bit by
changing field am_ID to be of type IPTR for all targets..
2022-06-26 17:54:31 +00:00
marcoonthegit
576ef5a33d * make infinite a default param 2022-06-26 19:21:03 +02:00
mattias
8d42a9df83 webidl: wasm-job: function Cast 2022-06-26 14:15:57 +02:00
mattias
97f4399936 fcl-web: fixed compile 2022-06-26 14:11:16 +02:00