add senduipi/stui/testui/uiret
This commit is contained in:
parent
e78f1121b9
commit
ad0dfffd29
3 changed files with 20 additions and 2 deletions
|
@ -1950,6 +1950,11 @@ CYBOZU_TEST_AUTO(misc)
|
|||
movdiri(ptr[rax+r12*2+4], r9d);
|
||||
movdir64b(r10, ptr[r8]);
|
||||
clui();
|
||||
senduipi(rax);
|
||||
senduipi(r10);
|
||||
stui();
|
||||
testui();
|
||||
uiret();
|
||||
#endif
|
||||
}
|
||||
} c;
|
||||
|
@ -1974,6 +1979,11 @@ CYBOZU_TEST_AUTO(misc)
|
|||
0x46, 0x0f, 0x38, 0xf9, 0x4c, 0x60, 0x04, // movdiri
|
||||
0x66, 0x45, 0x0f, 0x38, 0xf8, 0x10, // movdir64b
|
||||
0xf3, 0x0f, 0x01, 0xee, // clui
|
||||
0xf3, 0x0f, 0xc7, 0xf0, // senduipi rax
|
||||
0xf3, 0x41, 0x0f, 0xc7, 0xf2, // senduipi r10
|
||||
0xf3, 0x0f, 0x01, 0xef, // stui
|
||||
0xf3, 0x0f, 0x01, 0xed, // testui
|
||||
0xf3, 0x0f, 0x01, 0xec, // uiret
|
||||
#endif
|
||||
};
|
||||
const size_t n = sizeof(tbl) / sizeof(tbl[0]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue