Rika Ichinose
|
ce5a632432
Remove the rest of the VER3_0 conditionals.
|
1 gadu atpakaļ |
Jonas Maebe
|
0758aa1143
FPU exception mask: generlised system unit interface
|
2 gadi atpakaļ |
Pierre Muller
|
870d612e15
Fix compilation of m68k-linux rtl with -dFPC_USE_LIBC
|
3 gadi atpakaļ |
Karoly Balogh
|
ecef61e9c5
* m68k: fix an instruction which doesn't exist on ColdFire
|
3 gadi atpakaļ |
Karoly Balogh
|
12ef9a4a22
* m68k: some CPUs don't have TAS either (for example some CF)
|
3 gadi atpakaļ |
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
|
3 gadi atpakaļ |
svenbarth
|
00141749d5
* Coldfire does not support sub.w, so use sub.l instead for that CPU
|
7 gadi atpakaļ |
Károly Balogh
|
8326543918
m68k: apparently, the right place for the sar qword helper is still in the CPU include, not the 64bit helper include. this fixes linux m68k build.
|
7 gadi atpakaļ |
Károly Balogh
|
e1501c86bf
m68k: fix no FPU support
|
8 gadi atpakaļ |
Károly Balogh
|
f4a8a29aea
m68k: try to restore compilability with a 3.0 compiler
|
8 gadi atpakaļ |
svenbarth
|
2c628e983d
* fix define so that m68k for Coldfire builds correctly again
|
8 gadi atpakaļ |
Károly Balogh
|
17e85c4a09
m68k: rewritten FillChar from scratch. does aligned word and dword writes on large block fills. depending on the host CPU it's up to 5x faster on medium and large block fills
|
8 gadi atpakaļ |
Károly Balogh
|
2d8313165d
m68k: support FFU exception settings, also reworked FPU initalization
|
8 gadi atpakaļ |
Károly Balogh
|
30176f3116
m68k: enable inlined get_frame for m68k
|
8 gadi atpakaļ |
Károly Balogh
|
238f423c71
m68k: implement the interlocked family of functions, to be used on Linux and BSDs
|
8 gadi atpakaļ |
Károly Balogh
|
35ddac66fc
m68k: fix frame pointer register on atari, and a few other non-amiga systems
|
8 gadi atpakaļ |
Károly Balogh
|
7d2360eb0c
m68k: Test68000/Test68881 support boilerplate and special support for Amiga
|
8 gadi atpakaļ |
Károly Balogh
|
391a79aebf
m68k: a bunch of tweaks and improvements to assembly functions. higher move() speed on coldfire, disabled fillword implementation on CPUs not supporting unaligned access
|
9 gadi atpakaļ |
Károly Balogh
|
846dd6b57b
m68k: use the Amiga-specific atomic ops on Amiga
|
10 gadi atpakaļ |
Károly Balogh
|
49f3473735
fixed the define around the FPU code
|
10 gadi atpakaļ |
Károly Balogh
|
7758ad9313
m68k: clear the FPU Control Register at program start. This fixes some testcode randomly failing on AmigaOS, where the FPCR state is inherited from the parent task. Also added the FPCR layout and rounding modes info, based on the Motorola 68k PRMm68k.inc
|
10 gadi atpakaļ |
Károly Balogh
|
f2c7a3efbf
m68k: some assembler SwapEndian() implementations I did a while back. disabled for now, because they weren't extensively tested and benchmarked
|
10 gadi atpakaļ |
sergei
|
38d5be4182
+ Comment about behavior of DBRA instruction
|
10 gadi atpakaļ |
sergei
|
e232dd5066
+ m68k: default implementation of fpc_cpuinit, provides correct masking of floating-point exceptions and fixes test/testv8.pp.
|
11 gadi atpakaļ |
sergei
|
acd3ea8750
* m68k: Fixed parameter passing to conform to ABI:
|
11 gadi atpakaļ |
sergei
|
217ab9879c
* Enabled internal handling of Abs(longint) for all targets. It has been implemented in cross-platform way ages ago (see tcginlinenode.second_abs_long), but not enabled on MIPS,SPARC and m68k.
|
11 gadi atpakaļ |
Károly Balogh
|
50c59a1cc2
don't try to fillchar/move by a negative amount, fixes tmem test
|
11 gadi atpakaļ |
Károly Balogh
|
e27db65085
really fixed FillChar and fixed FillWord. fixes 8 tests.
|
12 gadi atpakaļ |
svenbarth
|
83f4344c20
Fix around 30 tests for m68k by fixing FillChar:
|
12 gadi atpakaļ |
svenbarth
|
dfb0c7da24
Forgot to commit this the last time: Use CPUM68K_HAS_DBRA instead of CPUCOLDFIRE (which does not exist anymore).
|
12 gadi atpakaļ |