svenbarth
|
00141749d5
* Coldfire does not support sub.w, so use sub.l instead for that CPU
|
7 tahun lalu |
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 tahun lalu |
Károly Balogh
|
e1501c86bf
m68k: fix no FPU support
|
8 tahun lalu |
Károly Balogh
|
f4a8a29aea
m68k: try to restore compilability with a 3.0 compiler
|
8 tahun lalu |
svenbarth
|
2c628e983d
* fix define so that m68k for Coldfire builds correctly again
|
8 tahun lalu |
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 tahun lalu |
Károly Balogh
|
2d8313165d
m68k: support FFU exception settings, also reworked FPU initalization
|
8 tahun lalu |
Károly Balogh
|
30176f3116
m68k: enable inlined get_frame for m68k
|
8 tahun lalu |
Károly Balogh
|
238f423c71
m68k: implement the interlocked family of functions, to be used on Linux and BSDs
|
8 tahun lalu |
Károly Balogh
|
35ddac66fc
m68k: fix frame pointer register on atari, and a few other non-amiga systems
|
8 tahun lalu |
Károly Balogh
|
7d2360eb0c
m68k: Test68000/Test68881 support boilerplate and special support for Amiga
|
8 tahun lalu |
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 tahun lalu |
Károly Balogh
|
846dd6b57b
m68k: use the Amiga-specific atomic ops on Amiga
|
10 tahun lalu |
Károly Balogh
|
49f3473735
fixed the define around the FPU code
|
10 tahun lalu |
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 tahun lalu |
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 tahun lalu |
sergei
|
38d5be4182
+ Comment about behavior of DBRA instruction
|
10 tahun lalu |
sergei
|
e232dd5066
+ m68k: default implementation of fpc_cpuinit, provides correct masking of floating-point exceptions and fixes test/testv8.pp.
|
11 tahun lalu |
sergei
|
acd3ea8750
* m68k: Fixed parameter passing to conform to ABI:
|
11 tahun lalu |
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 tahun lalu |
Károly Balogh
|
50c59a1cc2
don't try to fillchar/move by a negative amount, fixes tmem test
|
11 tahun lalu |
Károly Balogh
|
e27db65085
really fixed FillChar and fixed FillWord. fixes 8 tests.
|
12 tahun lalu |
svenbarth
|
83f4344c20
Fix around 30 tests for m68k by fixing FillChar:
|
12 tahun lalu |
svenbarth
|
dfb0c7da24
Forgot to commit this the last time: Use CPUM68K_HAS_DBRA instead of CPUCOLDFIRE (which does not exist anymore).
|
12 tahun lalu |
svenbarth
|
83af4e93f7
rtl/m68k/m68k.inc:
|
12 tahun lalu |
svenbarth
|
f5e94a02cd
rtl/m68k/m68k.inc:
|
12 tahun lalu |
Károly Balogh
|
0702109f37
get_frame to return a5 on Amiga
|
12 tahun lalu |
Károly Balogh
|
e2f02faca0
do not refer reg a6 directly, base pointer might differ among platforms (a5 on m68k-amiga)
|
12 tahun lalu |
svenbarth
|
4d1e42e891
rtl/m68k/setjump.inc:
|
12 tahun lalu |
svenbarth
|
fb873d6f02
rtl/m68k/m68k.inc:
|
12 tahun lalu |