Hagb (Junyu Guo 郭俊余)
35ea6fd109
Fix rounding of some x87 instructions ( #951 )
...
* Fix rounding of some x87 instructions
* Add missing tests/roundtest.h
* Fix build error of dynarec_arm_helper.c
* set rounding mode only when BOX86_DYNAREC_FASTROUND = 0
* Fix build error
* Set rounding mode for trigonometric instructions
They should work in Android build
* Add missing conditions
* Apply BOX86_DYNAREC_FASTROUND=0 on fpu_rounding test
* Avoid two-step rounding
* Keep consistent with dynarec
* Fix naming conflict
* Move setround to fpu_setround
* Move setround to fpu_setround
2024-04-14 20:37:17 +02:00
ptitSeb
c10b105f5f
Added SSE4.1 and SSE4.2 spport (backported from box64)
2023-11-07 18:06:11 +01:00
ptitSeb
c6275bcb62
Added AES-NI and PCLMULQDQ support
2023-10-29 12:25:02 +01:00
ptitSeb
399b2c7f8a
[ELFLOADER] Improved handling of dlopen local lib (helps Half-Life, Garry's Mod, and probably many other)
2023-08-26 16:26:30 +02:00
ptitSeb
bdc839ef87
More work on sse opcode and testing ([DYNAREC] too)
2023-01-29 18:39:30 +01:00
ptitSeb
52f7e89fdb
A few more improvment to SSE convert to int functions and tests
2023-01-29 17:12:08 +01:00
ptitSeb
db06cec325
Improved precision for SSE rounding ([DYNAREC] too, with BOX86_DYNAREC_FASTROUND to control it)
2023-01-29 15:40:48 +01:00
ptitSeb
a621a2b61f
Improved test11 a bit (for #604 )
2022-10-12 21:37:29 +02:00
ptitSeb
a30eedf1e2
Improved a bit test17
2022-09-22 13:36:35 +02:00
ptitSeb
c1eb7cbfa8
Some fixed to a few libc wrapped functions so bash can run (a copy is in tests folder)
2022-07-15 10:20:45 +02:00
ptitSeb
926ff0f4f8
Added better handling of SSE float/double border case ([DYNAREC] too, with BOX86_DYNAREC_FASTNAN)
2022-04-10 15:42:36 +02:00
ptitSeb
13689e7eac
Try to fix the flakyness of test11
2022-04-10 14:49:58 +02:00
ptitSeb
dc461d4de6
Backported improved and enhanced test17 from box64
2022-03-30 13:19:12 +02:00
ptitSeb
b655e89af0
[DYNAREC] Fixed idiv optimisation, and added a new test about idiv opcode
2021-12-22 11:44:11 +01:00
ptitSeb
5bd33084dd
Improved test17 a bit
2021-11-25 19:54:52 +01:00
ptitSeb
62fceaaa3c
Improve test19
2021-11-21 18:35:38 +01:00
ptitSeb
679dbafc9e
Fixed some borderline cases with CMPSS opcode ([DYNAREC] too)
2021-11-07 09:15:05 +01:00
ptitSeb
535db78525
Improved ucomiss test17 with minss and maxss testing
2021-10-10 20:11:01 +02:00
ptitSeb
28131360b2
Added a new x87 test
2021-10-07 08:11:59 +02:00
ptitSeb
96fb201246
Added test about longjmp in singal handling
2021-08-05 07:49:57 +02:00
ptitSeb
3c0b7830de
Added ucomiss test
2021-06-29 14:35:16 +02:00
rajdakin
d06795e979
Fixed rpaths for tests 15 and 16
2021-05-23 21:20:11 +02:00
rajdakin
4aa2a95b59
Added two linking tests
2021-05-23 20:29:01 +02:00
rajdakin
c3bc2808e9
Stabilized test 11
2021-04-14 10:42:50 +02:00
heavygabriel
6d3b2fe902
Simplified some code.
2021-01-12 17:04:27 -05:00
ptitSeb
2dc1fcc875
Improved handling of __pthread_register_cancel (and add a unit test about that)
2020-04-19 15:58:54 +02:00
ptitSeb
11c374a4b3
Added a test for swapcontext and friends
2019-11-16 13:55:46 +01:00
ptitSeb
2fef0f9652
[DYNAREC] Fixed FIST(T)(P) on 16bit value
2019-11-04 09:43:47 +01:00
ptitSeb
a0b15aa6c2
Added one more test, not yet integrated in cmake
2019-10-23 20:25:08 +02:00
Afonso Bordado
b679fade0b
Add MMX test binary and reference output
2019-09-27 09:50:18 +00:00
Afonso Bordado
b9d35c3327
Minor cleanups
2019-09-26 22:24:28 +00:00
Afonso Bordado
f1a01e7563
Implement MMX Shifts
2019-09-26 22:15:05 +00:00
Afonso Bordado
a2735296b7
Use intruction names in tests
2019-09-26 21:25:31 +00:00
Afonso Bordado
a4b26be5e7
Add MMX Shift instructions
2019-09-26 21:22:31 +00:00
Afonso Bordado
0d4e4081c4
Add MMX compare ops
2019-09-26 16:56:19 +00:00
Afonso Bordado
2099b0866c
Add MMX Unpack tests
2019-09-26 16:18:31 +00:00
Afonso Bordado
07cc1a7fc5
Add debug info when test fails
2019-09-26 16:08:41 +00:00
Afonso Bordado
8ceedc8c9e
Fix error loading MMX registers
2019-09-26 16:08:05 +00:00
Afonso Bordado
c8735a444e
Add MMX paccksswb and tests
2019-09-26 15:44:09 +00:00
Afonso Bordado
352da49fdc
Add MMX Multiply instructions
2019-09-26 14:37:56 +00:00
Afonso Bordado
0285cd1522
Add MMX Logical Ops
2019-09-26 13:06:12 +00:00
Afonso Bordado
8d4ff9076d
Add MMX SUB Instructions + tests
2019-09-26 07:41:23 +00:00
Afonso Bordado
5053141678
MMX Test: Use instruction name intrinsic
2019-09-26 06:17:41 +00:00
Afonso Bordado
3075400211
Add MMX ADD instructions
2019-09-25 21:46:15 +00:00
Afonso Bordado
b301237ac6
Add psrlq and paddb + tests
2019-09-25 20:43:46 +00:00
Afonso Bordado
c6f071d37d
Add MMX cpuid tests
2019-09-25 19:26:35 +00:00
ptitSeb
86d7f65026
Fixed __thread test (test11 was outputing it's location)
2019-06-30 17:34:21 +02:00
ptitSeb
8e1ab7d505
Added a new test on __thread local variable (not working yet)
2019-06-30 11:27:05 +02:00
ptitSeb
1e605a9561
Rebuilt test10 with g++ 5.5 (instead of 7.4), to lower requirement on x86 libstdc++/libgcc_s
2019-06-23 14:50:39 +02:00
rajdakin
83d1b68ef5
Added test number 10 (needs x86 library though)
2019-06-23 14:33:54 +02:00