mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 13:00:15 +02:00
unittests: Adds tests for CLWB and CLFLUSHOPT
This commit is contained in:
1 parent
7450b5d406
commit
965c6ff6cc
2 files changed
+28
No files matched your search
@@ -0,0 +1,14 @@
|
||||
%ifdef CONFIG
|
||||
{
|
||||
"RegData": {
|
||||
"RAX": "1"
|
||||
}
|
||||
}
|
||||
%endif
|
||||
|
||||
mov rdx, 0xe0000000
|
||||
; Just ensures the code is executed.
|
||||
clflushopt [rdx]
|
||||
|
||||
mov rax, 1
|
||||
hlt
|
||||
@@ -0,0 +1,14 @@
|
||||
%ifdef CONFIG
|
||||
{
|
||||
"RegData": {
|
||||
"RAX": "1"
|
||||
}
|
||||
}
|
||||
%endif
|
||||
|
||||
mov rdx, 0xe0000000
|
||||
; Just ensures the code is executed.
|
||||
clwb [rdx]
|
||||
|
||||
mov rax, 1
|
||||
hlt
|
||||
Reference in new issue
Block a user