Commit Graph

2717 Commits

Author SHA1 Message Date
ptitSeb
9b9e489b61 [ARM64_DYNAREC] Fixed 66 0F 3A 08/09/0A/0B opcodes 2023-04-08 10:42:27 +02:00
ptitSeb
9f9831ac56 [ARM64_DYNAREC] Added 66 0F 38 14/15 opcodes 2023-04-08 10:08:44 +02:00
ptitSeb
afe5148211 Added 66 0F 38 15 opcode 2023-04-08 10:08:16 +02:00
ptitSeb
5ab1606c47 Added 66 0F 38 0C opcode ([ARM64_DYNAREC] too) 2023-04-08 09:59:25 +02:00
ptitSeb
b83ab97a8a [ARM64_DYNAREC] Fixed F2 0F D0 opcode 2023-04-08 09:47:59 +02:00
ptitSeb
6255932e48 [ARM64_DYNAREC] Fixed 66 0F 38 2B opcode 2023-04-08 09:39:34 +02:00
ptitSeb
9ad09a0166 Fixed 66 0F 38 2B opcode 2023-04-08 09:39:11 +02:00
ptitSeb
728a656df4 Added a few wrapped functions to libxcbxfixes (for #675) 2023-04-08 08:36:31 +02:00
ptitSeb
4933a70261 Fixed py wrapper generator for float complex on stack 2023-04-08 08:36:06 +02:00
ptitSeb
02c24dffdc [ARM64_DYNAREC] Fixed, again, FASTROUND=0 for 66 0F E6 opcode 2023-04-07 13:31:48 +02:00
Yang Liu
aa7ee8e65d
[RV64_DYNAREC] Added more opcodes for Stardew Valley and some fixes (#673)
* [RV64_DYNAREC] Added 66 0F D6 MOVQ opcode

* [RV64_DYNAREC] Added 66 0F 56 ORPD opcode

* [RV64_DYNAREC] Fixed emit_or32c

* [RV64_DYNAREC] Added 0F BA /7 BTC opcode
2023-04-07 13:30:19 +02:00
ptitSeb
64a6a28c30 [ARM64_DYNAREC] Added FASTNAN=0 path for MAXPD/MINPD 2023-04-07 13:15:58 +02:00
ptitSeb
f8bdb8bd16 [ARM64_DYNAREC] Fixed 66 0F 5B opcode when FASTROUND=0 2023-04-07 12:58:39 +02:00
ptitSeb
2417faa39b [ARM64_DYNAREC] Fixed 66 0F D1/D2/D3 opcodes 2023-04-07 12:56:35 +02:00
ptitSeb
5c2f62657f Fixed float complex handling as parameter 2023-04-07 12:45:32 +02:00
ptitSeb
ae34c7e1cc [ARM64_DYNAREC] Fix/Added 66 0F E1/E2/F1/F2/F3 opcodes 2023-04-07 12:39:26 +02:00
ptitSeb
07a3a0e1c8 [ARM64_DYNAREC] Handling of FASTROUND=0 for 66 0F E6 opcode 2023-04-07 12:39:26 +02:00
ptitSeb
c43f4ea080 [ARM64_DYNAREC] Small optim to FASTROUND=0 part for F3 0F 2C/2D opcodes 2023-04-07 12:39:26 +02:00
Yang Liu
149414f233
[RV64_DYNAREC] Added more SSE opcodes for Stardew Valley (#672)
* [RV64_DYNAREC] Fixed 66 0F 73 /7 PSLLDQ opcode

* [RV64_DYNAREC] Added 66 0F 6D PUNPCKHQDQ opcode

* [RV64_DYNAREC] Added F2 0F 2C CVTTSD2SI opcode

* [RV64_DYNAREC] Added 66 0F 7F MOVDQA opcode

* [RV64_DYNAREC] Added 0F C6 SHUFPS opcode

* [RV64_DYNAREC] Added 66 0F 72 /6 PSLLD opcode

* [RV64_DYNAREC] Added 66 0F 74 PCMPEQB opcode

* [RV64_DYNAREC] Added 66 0F FA PSUBD opcode

* [RV64_DYNAREC] Added F2 0F 5D MINSD opcode
2023-04-07 11:34:05 +02:00
ptitSeb
14695faa43 [ARM64_DYNAREC] Handling of FASTROUND=0 for F2 0F E6 opcode 2023-04-07 10:29:52 +02:00
Yang Liu
1159c0530b
[RV64_DYNAREC] Added more opcodes for Stardew Valley (#671)
* [RV64_DYNAREC] Fixed PADD opcode

* [RV64_DYNAREC] Added 66 0F 73 /7 PSLLDQ opcode

* [RV64_DYNAREC] Added F2 0F 58 ADDSD opcode

* [RV64_DYNAREC] Added F2 0F 59 MULSD opcode

* [RV64_DYNAREC] Added F3 0F 6F,7F MOVDQU opcode

* [RV64_DYNAREC] Fixed emit_shl32* flagg calculation

* [RV64_DYNAREC] Fixed 8D LEA opcode

* [RV64_DYNAREC] Fixed 66 0F FD PADDW opcode

* [RV64_DYNAREC] Fixed PSHUFD opcode
2023-04-07 08:08:14 +02:00
ptitSeb
053ecec70b [ARM64_DYNAREC] Fixes to 66 0F E1/E2 opcodes 2023-04-06 19:55:34 +02:00
ptitSeb
42601d8451 [ARM64_DYNAREC] Add FASTNAN=0 handling for 0F 5D/5F opcodes 2023-04-06 18:02:46 +02:00
ptitSeb
49392992da [ARM64_DYNAREC] Fixed/improved printer 2023-04-06 18:01:51 +02:00
ptitSeb
545c303058 Added gdk_x11_window_get_type to wrapped libgdk3 2023-04-06 11:36:06 +02:00
ptitSeb
086daef494 Added back some isnan testing to integer conversion (converting a nan, infinite or overflow value to int is UB, and so should be avoided for max cross platform compatibility) 2023-04-06 11:28:47 +02:00
ptitSeb
6898df1c86 [ARM64_DYNAREC] Added FASTROUD=0 to F3 0F 5B opcode 2023-04-06 11:27:34 +02:00
ptitSeb
307a019cb8 Try to add complex function in libm 2023-04-06 10:56:02 +02:00
ptitSeb
4ca16188c2 Updated 0F 2C/2D and 66 0F 2C/2D opcode on par with other float2int opcodes 2023-04-06 10:55:41 +02:00
Alfred E. Neumayer
53687387eb
CMakeLists: Allow installation without any config files (#670)
This allows installation of box64 without any configuration files involved.
Intended usecase is packaging box64 with multiple variants in one package,
where multiple variants would step on each other during installation.
2023-04-06 08:11:29 +02:00
Yang Liu
eff1cea890
[RV64_DYNAREC] Added more opcodes from SSE tests (#669)
* [RV64_DYNAREC] Added 66 0F 14 UNPCKLPD opcode

* [RV64_DYNAREC] Added 66 0F 57 XORPD opcode

* [RV64_DYNAREC] Added 66 0F 54 ANDPD opcode

* [RV64_DYNAREC] Added 66 0F 62 PUNPCKLDQ opcode

* [RV64_DYNAREC] Added 66 0F FD PADDW opcode

* [RV64_DYNAREC] Added 66 0F D4 PADDQ opcode

* [RV64_DYNAREC] Added 66 0F 55 ANDNPD opcode
2023-04-05 18:28:33 +02:00
ptitSeb
7867c3d906 Added 3 more syscall (for #99) 2023-04-05 14:02:52 +02:00
ptitSeb
5b5f421786 Added syscall 49 (for #99) 2023-04-05 12:07:17 +02:00
Yang Liu
77cc2a6b8e
[INTERP] Added 66 0F 2B MOVNTPD opcode & fixed some edge cases (#668)
* [INTERP] Fixed shift amount issues

* [INTERP] Added 66 0F 2B MOVNTPD opcode

* [INTERP] Fixed float to int convert issues
2023-04-05 08:26:57 +02:00
Yang Liu
e58ff89044
[RV64_DYNAREC] Added more opcodes for Stardew Valley (#666)
* [RV64_DYNAREC] Added 66 0F 70 PSHUFD opcode

* [RV64_DYNAREC] Added F2 0F 5E DIVSD opcode

* [RV64_DYNAREC] Added F2 0F 2A CVTSI2SD opcode
2023-04-04 22:01:59 +02:00
Yang Liu
57eae464a3
[RV64_DYNAREC] Added 0F BA /4 BT opcode & some fixes (#664)
* [RV64_DYNAREC] Simplified MOVAPS opcode

* [RV64_DYNAREC] Added 0F BA /4 BT opcode

* [RV64_DYNAREC] Fixed 0F 16 MOVHPS opcode
2023-04-04 14:37:25 +02:00
ptitSeb
8ec00e90ba Added 3 wrapped symbol to libxml2 2023-04-02 22:25:32 +02:00
ptitSeb
a0f078718a [ARM64_DYNAREC] Fixed typo in 66 0F 5B opcode (fixed sound in many Unity3D games) 2023-04-02 22:16:37 +02:00
ptitSeb
b3a2031484 [DYNAREC] Never protect bridge memory (ported from box86) 2023-04-02 18:45:04 +02:00
ptitSeb
abf6e4856c [TRACE] Improved trace with xmm registers 2023-04-02 11:31:04 +00:00
Yang Liu
518e6782d8
[RV64_DYNAREC] Reverted changes to GETED and fixed emit_and32* (#663)
* [RV64_DYNAREC] Revert changes to GETED

* [RV64_DYNAREC] Fixed emit_and32*
2023-04-02 12:59:56 +02:00
Yang Liu
2a346ef0b9
[RV64_DYNAREC] Small fixes caught by cosim (#661)
* [RV64_DYNAREC] Fixed emit_xor16

* [RV64_DYNAREC] Fixed an issue with 66 83 /5 SUB

* [RV64_DYNAREC] Fixed GETED for 32bit

* [RV64_DYNAREC] Fixed more emit_xor*
2023-04-02 10:19:29 +02:00
ptitSeb
83a2b2080b [RV64_DYNAREC] Fixed 88 opcode 2023-04-01 19:31:48 +00:00
ptitSeb
f21ecb32bb [RV64_DYNAREC] Added F3 0F 2C opcode, and worked on rounding 2023-04-01 18:42:59 +00:00
ptitSeb
f810fa262d [RV64_DYNAREC] Some more fixes to float operations (fixes regression in WorldOfGoo) 2023-04-01 17:22:02 +00:00
ptitSeb
a847f46edc [RV64_DYNAREC] Fixed F0 83 opcode (LR/SC are tricky to use on RV64) 2023-04-01 11:59:32 +00:00
ptitSeb
e710bbcec8 Improved test17 and finetuned factorio profile to disable FASTROUND on Dynarec 2023-04-01 13:18:34 +02:00
ptitSeb
52f8fa1d5b Fixed 66 0F 5B opcodes 2023-04-01 13:18:34 +02:00
ptitSeb
5661de58a8 [ARM64_DYNAREC] Fixed and improved 66 0F 5A/5B opcodes 2023-04-01 13:18:34 +02:00
Yang Liu
a1d5cb0e69
[RV64_DYNAREC] Added more opcodes for Stardew Valley (#660)
* [RV64_DYNAREC] Added F0 0F B1 /0 LOCK CMPXCHG opcode

* [RV64_DYNAREC] Added F0 81,83 /0 opcode

* [RV64_DYNAREC] Added 0F 16 MOVHPS opcode
2023-04-01 10:21:25 +02:00