mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-01-31 19:42:54 +00:00
unittests: Extends vinsert{i,f}128 tests for garbage data
Just to ensure we don't hit an issue with masking the immediate bits. Fixes #3753
This commit is contained in:
parent
968d5e0d8f
commit
fa587398bd
@ -7,7 +7,11 @@
|
||||
"XMM2": ["0x3FF0000000000000", "0xEEEEEEEEEEEEEEEE", "0xBBBBBBBBBBBBBBBB", "0xDDDDDDDDDDDDDDDD"],
|
||||
"XMM3": ["0x3FF0000000000000", "0xEEEEEEEEEEEEEEEE", "0xBBBBBBBBBBBBBBBB", "0xDDDDDDDDDDDDDDDD"],
|
||||
"XMM4": ["0xBBBBBBBBBBBBBBBB", "0xDDDDDDDDDDDDDDDD", "0xFFFFFFFFFFFFFFFF", "0xAAAAAAAAAAAAAAAA"],
|
||||
"XMM5": ["0xBBBBBBBBBBBBBBBB", "0xDDDDDDDDDDDDDDDD", "0xFFFFFFFFFFFFFFFF", "0xAAAAAAAAAAAAAAAA"]
|
||||
"XMM5": ["0xBBBBBBBBBBBBBBBB", "0xDDDDDDDDDDDDDDDD", "0xFFFFFFFFFFFFFFFF", "0xAAAAAAAAAAAAAAAA"],
|
||||
"XMM6": ["0x3FF0000000000000", "0xEEEEEEEEEEEEEEEE", "0xBBBBBBBBBBBBBBBB", "0xDDDDDDDDDDDDDDDD"],
|
||||
"XMM7": ["0x3FF0000000000000", "0xEEEEEEEEEEEEEEEE", "0xBBBBBBBBBBBBBBBB", "0xDDDDDDDDDDDDDDDD"],
|
||||
"XMM8": ["0xBBBBBBBBBBBBBBBB", "0xDDDDDDDDDDDDDDDD", "0xFFFFFFFFFFFFFFFF", "0xAAAAAAAAAAAAAAAA"],
|
||||
"XMM9": ["0xBBBBBBBBBBBBBBBB", "0xDDDDDDDDDDDDDDDD", "0xFFFFFFFFFFFFFFFF", "0xAAAAAAAAAAAAAAAA"]
|
||||
},
|
||||
"MemoryRegions": {
|
||||
"0x100000000": "4096"
|
||||
@ -28,6 +32,14 @@ vinsertf128 ymm3, ymm0, [rdx + 32], 1
|
||||
vinsertf128 ymm4, ymm0, xmm1, 0
|
||||
vinsertf128 ymm5, ymm0, [rdx + 32], 0
|
||||
|
||||
; Insert into upper lane - With garbage
|
||||
vinsertf128 ymm6, ymm0, xmm1, 0xFF
|
||||
vinsertf128 ymm7, ymm0, [rdx + 32], 0xFF
|
||||
|
||||
; Insert into lower lane - With garbage
|
||||
vinsertf128 ymm8, ymm0, xmm1, 0xFE
|
||||
vinsertf128 ymm9, ymm0, [rdx + 32], 0xFE
|
||||
|
||||
hlt
|
||||
|
||||
align 32
|
||||
|
@ -7,7 +7,11 @@
|
||||
"XMM2": ["0x3FF0000000000000", "0xEEEEEEEEEEEEEEEE", "0xBBBBBBBBBBBBBBBB", "0xDDDDDDDDDDDDDDDD"],
|
||||
"XMM3": ["0x3FF0000000000000", "0xEEEEEEEEEEEEEEEE", "0xBBBBBBBBBBBBBBBB", "0xDDDDDDDDDDDDDDDD"],
|
||||
"XMM4": ["0xBBBBBBBBBBBBBBBB", "0xDDDDDDDDDDDDDDDD", "0xFFFFFFFFFFFFFFFF", "0xAAAAAAAAAAAAAAAA"],
|
||||
"XMM5": ["0xBBBBBBBBBBBBBBBB", "0xDDDDDDDDDDDDDDDD", "0xFFFFFFFFFFFFFFFF", "0xAAAAAAAAAAAAAAAA"]
|
||||
"XMM5": ["0xBBBBBBBBBBBBBBBB", "0xDDDDDDDDDDDDDDDD", "0xFFFFFFFFFFFFFFFF", "0xAAAAAAAAAAAAAAAA"],
|
||||
"XMM6": ["0x3FF0000000000000", "0xEEEEEEEEEEEEEEEE", "0xBBBBBBBBBBBBBBBB", "0xDDDDDDDDDDDDDDDD"],
|
||||
"XMM7": ["0x3FF0000000000000", "0xEEEEEEEEEEEEEEEE", "0xBBBBBBBBBBBBBBBB", "0xDDDDDDDDDDDDDDDD"],
|
||||
"XMM8": ["0xBBBBBBBBBBBBBBBB", "0xDDDDDDDDDDDDDDDD", "0xFFFFFFFFFFFFFFFF", "0xAAAAAAAAAAAAAAAA"],
|
||||
"XMM9": ["0xBBBBBBBBBBBBBBBB", "0xDDDDDDDDDDDDDDDD", "0xFFFFFFFFFFFFFFFF", "0xAAAAAAAAAAAAAAAA"]
|
||||
},
|
||||
"MemoryRegions": {
|
||||
"0x100000000": "4096"
|
||||
@ -28,6 +32,14 @@ vinserti128 ymm3, ymm0, [rdx + 32], 1
|
||||
vinserti128 ymm4, ymm0, xmm1, 0
|
||||
vinserti128 ymm5, ymm0, [rdx + 32], 0
|
||||
|
||||
; Insert into upper lane - With garbage
|
||||
vinserti128 ymm6, ymm0, xmm1, 0xFF
|
||||
vinserti128 ymm7, ymm0, [rdx + 32], 0xFF
|
||||
|
||||
; Insert into lower lane - With garbage
|
||||
vinserti128 ymm8, ymm0, xmm1, 0xFE
|
||||
vinserti128 ymm9, ymm0, [rdx + 32], 0xFE
|
||||
|
||||
hlt
|
||||
|
||||
align 32
|
||||
|
Loading…
x
Reference in New Issue
Block a user