mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 08:00:15 +02:00
unittests/ASM: Test BLSR/BLSMSK CF flag
This commit is contained in:
2 files changed
+32
No files matched your search
@@ -0,0 +1,16 @@
|
||||
%ifdef CONFIG
|
||||
{
|
||||
"RegData": {
|
||||
"RAX": "0xFFFFFFFF",
|
||||
"RCX": "1"
|
||||
},
|
||||
"HostFeatures": ["BMI1"]
|
||||
}
|
||||
%endif
|
||||
|
||||
mov rbx, 0xFFFFFFFF00000000
|
||||
blsmsk eax, ebx
|
||||
setc cl
|
||||
movzx rcx, cl
|
||||
|
||||
hlt
|
||||
@@ -0,0 +1,16 @@
|
||||
%ifdef CONFIG
|
||||
{
|
||||
"RegData": {
|
||||
"RAX": "0",
|
||||
"RCX": "1"
|
||||
},
|
||||
"HostFeatures": ["BMI1"]
|
||||
}
|
||||
%endif
|
||||
|
||||
mov rbx, 0xFFFFFFFF00000000
|
||||
blsr eax, ebx
|
||||
setc cl
|
||||
movzx rcx, cl
|
||||
|
||||
hlt
|
||||
Reference in new issue
Block a user