64 Commits

Author SHA1 Message Date
Toni Wilen
7d12bb73fc Warning fixes. 2022-04-29 19:43:45 +03:00
Toni Wilen
7a6c95b281 Fix 64-bit JIT flags mismatch. 2020-11-05 20:18:19 +02:00
Toni Wilen
6bb71af5c2 Aranym JIT merge. 2020-07-27 19:56:31 +03:00
Toni Wilen
10de141cb6 FACOS fix. 2018-07-03 21:57:54 +03:00
Toni Wilen
0939b8e7c1 4000b11 2018-05-21 22:30:38 +03:00
Toni Wilen
92873d16de FETOXM1 and comment fix. 2018-05-21 22:12:32 +03:00
Toni Wilen
a9c28d42df Fix JIT V-flag handling, V was always cleared. (addx, subx, negx, any instruction that used set_zero()) 2018-05-21 22:11:43 +03:00
Toni Wilen
43b729776f Aranym JIT merge. 2018-05-20 19:27:06 +03:00
Toni Wilen
4afe15c78b __cpuidex needs this if pre-release MSVC version. 2016-09-11 18:40:10 +03:00
Toni Wilen
77e42987c7 Merge pull request #90 from rofl0r/rofl0r-patch-1
REX64: convert to function-type macro
2016-08-17 18:26:28 +03:00
Toni Wilen
8a732e4bd2 x64 JIT FLDCW R12 register crash workaround. 2015-12-21 16:21:15 +02:00
Toni Wilen
8895ba420e 3200 2015-11-11 22:39:02 +02:00
Frode Solheim
dc808a39c4 JIT: Better fldcw_m_indexed fix (can use all x86-64 registers) 2015-10-12 23:25:32 +02:00
Frode Solheim
ab00229084 Revert "JIT: Fix fldcw_m_indexed for x86-64"
This reverts commit e71841283e993b4ed968b7b0de30a52d5a1c26b8.
2015-10-12 23:24:48 +02:00
Frode Solheim
97b1908fdc JIT: Fixed RSP inc/dec, fixed Windows x64 reg saving and stack shadow space 2015-10-12 20:43:40 +02:00
rofl0r
39bf6c2785 REX64: convert to function-type macro
this allows to parse the file with custom tools that expect a semicolon at the end of a statement.
additionally it makes the code look like C/C++ and not like BASIC.
2015-09-26 19:28:04 +01:00
Frode Solheim
d0fd6ded4e Fix ESP/RSP stack pointer manipulation in more functions (x86-64) 2015-09-24 20:24:22 +02:00
Frode Solheim
285727bb11 JIT: Use REX prefix for RSP usage in raw_fsinh_rr (x86-64) 2015-09-24 20:24:22 +02:00
Frode Solheim
360a68798d JIT: Fix raw_facos_rr for x86-64 2015-09-23 20:13:49 +02:00
Frode Solheim
affef87342 JIT: Implement raw_fistpl, fix raw_fmovi_mrb for x86-64 2015-09-23 20:04:16 +02:00
Frode Solheim
e71841283e JIT: Fix fldcw_m_indexed for x86-64 2015-09-22 20:36:40 +02:00
Frode Solheim
27a3494187 JIT: Use x86_fadd_m (for compatibility with x86-64) 2015-09-22 20:35:59 +02:00
Frode Solheim
5f74827538 JIT: Use raw_fmovi_mr instead of raw_fmovi_mrb on 64-bit (for now) 2015-09-22 20:35:22 +02:00
Frode Solheim
57500ad8f9 JIT: Set compfpu default to 0 for 64-bit CPU, change a double to float 2015-09-20 11:24:55 +02:00
Frode Solheim
4168d2f904 JIT: Use USE_NEW_RTASM fp helper functions 2015-09-18 21:24:37 +02:00
Frode Solheim
3781db0634 JIT: Moved UAE-specific functions in codegen_x86.cpp to separate section 2015-09-18 21:06:14 +02:00
Frode Solheim
ab57b935fe JIT: Merged harmless changes from latest ARAnyM version + some cleanup 2015-09-18 18:20:05 +02:00
Frode Solheim
7d856060dc JIT: Updated cpuid, flush_cpu_icache 2015-09-18 18:18:01 +02:00
Frode Solheim
98a4620e07 JIT: Some harmless code merges from ARAnyM 2015-09-18 18:17:20 +02:00
Frode Solheim
372cab4bea JIT: Prepend ADDR32 to several instructions for x86-64 2015-09-17 21:59:39 +02:00
Frode Solheim
6c92b785e6 JIT: always use __fastcall on Windows, also for FS-UAE 2015-09-17 19:18:09 +02:00
Frode Solheim
363e80f373 JIT: Windows / 64-bit fixes 2015-09-17 19:18:09 +02:00
Frode Solheim
439ef96524 JIT: moved veccode initialization, other minor changes 2015-09-17 19:18:09 +02:00
Frode Solheim
28c81bf8df JIT: Temporarily disable some instructions for x86 and x86-64 2015-09-17 19:18:09 +02:00
Frode Solheim
ea906e8a4f JIT: new uae virtual memory module 2015-09-17 19:18:09 +02:00
Frode Solheim
ce7000bcbc JIT: fixes to allow testing USE_NEW_RTASM 0 (for 32-bit) 2015-09-17 19:18:09 +02:00
Frode Solheim
898bff2c3b JIT: merge more currently unused flags code in codegen_x86.cpp 2015-09-17 19:18:09 +02:00
Frode Solheim
7e570ba8fa JIT: merged unused (!USE_NEW_RTASM) code in codegen_x86.cpp 2015-09-17 19:18:09 +02:00
Frode Solheim
44e22db7a8 JIT: merged more code in codegen_x86.cpp 2015-09-17 19:18:09 +02:00
Frode Solheim
a216ed7280 JIT: merged flags code and gencomp code 2015-09-17 19:18:09 +02:00
Frode Solheim
f1c3f89e32 JIT: merge more aranym changes in codegen_x86.cpp 2015-09-17 19:18:09 +02:00
Frode Solheim
d0c37f40f3 JIT: uae_p32 (2) 2015-09-17 19:18:09 +02:00
Frode Solheim
44ccac3c2d JIT: enabled udis86 logging (FS-UAE only) 2015-09-17 19:18:09 +02:00
Frode Solheim
0d813c1bde JIT: more 64-bit updates 2015-09-17 19:18:09 +02:00
Frode Solheim
bbb034eaae JIT: define USE_NEW_RTASM, 64-bit compilation fixes 2015-09-17 19:18:09 +02:00
Frode Solheim
8eb686348e JIT: merged CPU detection code from ARAnyM 2015-09-17 19:18:09 +02:00
Frode Solheim
c6b9320cf0 JIT: can now successfully use USE_NEW_RTASM on x86 (32-bit) 2015-09-17 19:18:09 +02:00
Frode Solheim
170ef2e152 JIT: Added factor argument to mov_*_indexed functions 2015-09-17 19:18:08 +02:00
Frode Solheim
c4b1211d97 JIT: harmless merging in codegen_x86.cpp 2015-09-06 22:53:17 +02:00
Frode Solheim
cd3526b6b5 JIT: removed unused cmov_b_rr, cmov_w_rr 2015-09-06 22:40:34 +02:00