FEX/unittests/ASM/FEX_bugs
Ryan Houdek 2eb7a9ff28
OpcodeDispatcher: Remove old bad assumption in INC/DEC
Somewhere there was an assumption made that INC and DEC supported the
repeat prefix. This isn't actually the case, while the prefix can be
encoded, it is a nop and should only expect to be used for padding.

Adds a unittest to ensure that behaviour is as expected.
2024-08-15 10:22:31 -07:00
..
32bit_syscall.asm Capture a 64-bit process trying to jump to 32-bit syscall handler 2024-02-26 05:37:29 -08:00
adcx_size.asm FEXCore: Fixes bug with 32-bit adcx 2023-08-11 14:09:31 -07:00
add_sub_carry_2.asm Adds unit tests for ADC/SBB garbage upper data bug 2024-04-29 20:00:36 -04:00
add_sub_carry.asm Adds unit tests for ADC/SBB garbage upper data bug 2024-04-29 20:00:36 -04:00
BEXTR_flags.asm unittests: add test for a BEXTR bug 2024-06-26 12:06:47 -04:00
BLSI_flags.asm unittests: add BLSI flag test 2024-01-30 22:28:06 -04:00
BLSMSK_flags.asm unittests: add ASM test for blsmsk flags 2024-01-30 22:28:06 -04:00
BLSR_flags.asm unittests: add BLSR flag unit test 2024-01-30 22:28:06 -04:00
BZHI_Sign.asm unittests: Add BZHI sign test 2023-11-12 17:32:24 -04:00
IMUL_garbagedata_negative.asm unittests/ASM: Adds test to test imul flag calculation 2023-12-07 01:09:39 -08:00
LargeRotatesForSmallSizes_More.asm unittests: More rotate with carry unit tests 2024-07-05 18:34:18 -04:00
LargeRotatesForSmallSizes.asm unittests: Adds rotate with carry test for large rotates 2024-07-05 10:49:02 -04:00
LongSignedDivide.asm unittests: Adds long signed divide test 2024-07-04 16:43:21 -07:00
LoopAddressSizeCheck.asm unittests/ASM: Adds tests for loop instruction address size overrides 2024-03-21 20:18:43 -07:00
mmx_x87_register_conflating.asm unittests: Adds MMX and x87 conflating unit test 2024-07-03 13:54:07 -07:00
mov_address_size_override.asm FEXCore: Fixes address size override on GPR sources and destinations 2024-06-27 14:12:01 -07:00
NegativeCallAddressSizeOverride.asm FEXCore: Fixes Call with 32-bit displacement and address size override 2024-06-14 14:00:35 -07:00
nzcv_implicit_clobber.asm unittests/ASM: Adds unittest for implicit flag clobber for #3254 2023-11-07 02:04:11 -08:00
nzcv_rmw.asm unittests: add test for deferred flags + shift with cl=0 2024-04-05 20:34:05 -04:00
nzcv_spill_enderlilies.asm unittests/ASM: Adds unittest found from Ender Lilies that crashed with NZCV 2023-11-08 04:52:22 -08:00
overlapping_memcpy_bug.asm unittests/ASM: Adds a test for overlapping memcpy using rep movs 2024-03-20 18:44:36 -07:00
pcmpestri_garbage_rcx.asm OpcodeDispatcher: Fixes bug with pcmpestri 2023-07-08 18:08:47 -07:00
Push.asm Arm64: Fix undefined behaviour in Push operation 2023-09-07 17:38:39 -07:00
RegCacheMMX.asm unittests: add test for a MMX register cache bug 2024-07-10 11:34:24 -04:00
repeat_on_incdec.asm OpcodeDispatcher: Remove old bad assumption in INC/DEC 2024-08-15 10:22:31 -07:00
repeat_stringops_crash.asm unittests/ASM: Implements a unit test for #3478 2024-03-13 18:36:19 -07:00
rotate_zero_extend_with_zero.asm unittests: Adds test for previous fix 2024-07-04 14:35:43 -07:00
sbbNZCVBug.asm unittests/ASM: Adds unit test caught by #3153 2023-09-26 00:28:45 -07:00
SBCSmall.asm unittests: add test for small sbc flags 2024-07-04 16:58:45 -04:00
SegmentAddressOverride.asm unittests: Add test using the address-override flag with segment addressing 2024-07-31 20:04:30 +01:00
ShiftConstantBug.asm unittests/ASM: Adds test for TestNZ bug 2023-12-02 14:57:57 -08:00
ShiftPF.asm unittests: add test for shift PF bug 2024-04-05 20:34:05 -04:00
ShiftZeroFlagsUpdate.asm unittests: Adds test for flags when shifting by zero 2024-07-05 09:57:42 -04:00
SHRD_OF.asm OpcodeDispatcher: Fixes SHRD by immediate OF flag calculation 2023-07-28 18:00:50 -07:00
SIBScaleTranspose.asm unittests/ASM: Adds SIB transpose scale register test 2024-05-29 11:41:20 -07:00
SmallShiftFlags.asm unittests: Adds a test for small shift flags calculation 2024-07-05 18:38:12 -04:00
smallvectorload_regreg.asm CodeEmitter: Fixes vector {ldr,str}{b,h} with reg-reg source 2024-07-01 17:03:47 -07:00
Test_CmpSelect_Merge_branch.asm unittests: Adds tests for handling cmp merging 2021-12-07 18:45:54 -08:00
Test_CmpSelect_Merge_Float_branch.asm unittests: Adds tests for handling cmp merging 2021-12-07 18:45:54 -08:00
Test_CmpSelect_Merge_Float.asm unittests: Adds tests for handling cmp merging 2021-12-07 18:45:54 -08:00
Test_CmpSelect_Merge.asm unittests: Adds tests for handling cmp merging 2021-12-07 18:45:54 -08:00
Test_JP.asm unittests: Add more PF coverage 2023-07-13 08:39:10 -04:00
Test_PF_Zero_Shift.asm unittests: Add test for preserving PF across zero shift 2023-07-25 11:21:52 -04:00
TrickyRA.asm unittests: add tricky RA test 2024-07-04 13:37:13 -04:00
VectorLoadCrash.asm unittests/ASM: Adds unittest for bug encountered in Darwinia 2024-05-29 07:29:49 -07:00
VectorShift_zero_256.asm unittests: Adds tests for vector shifts with zero immediate 2023-08-09 02:16:17 -07:00
VectorShift_zero_avx_128.asm unittests: Adds tests for vector shifts with zero immediate 2023-08-09 02:16:17 -07:00
VectorShift_zero.asm unittests: Adds tests for vector shifts with zero immediate 2023-08-09 02:16:17 -07:00
vgather_xmm4.asm unittests: Adds test for xmm4 VSIB bug 2024-06-27 20:55:30 -07:00
vmov_size_test.asm AVX128: Fixes vmovq loading too much data 2024-07-11 18:34:05 -07:00
x87_integer_indefinite.asm unittests: Adds x87 integer indefinite test 2024-07-04 17:53:28 -07:00
XeSS_quadratic.asm unittests: add XeSS test 2024-05-21 19:41:47 -04:00
xor_flags.asm Fixes zero register flag generation 2024-02-24 16:32:25 -08:00