aboutsummaryrefslogtreecommitdiff
path: root/tests/asmtest.S
diff options
context:
space:
mode:
Diffstat (limited to 'tests/asmtest.S')
-rw-r--r--tests/asmtest.S18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/asmtest.S b/tests/asmtest.S
index 0d4c0fc..452815c 100644
--- a/tests/asmtest.S
+++ b/tests/asmtest.S
@@ -478,6 +478,24 @@ int $0x10
repz
repne
repnz
+ nop
+
+ lock ;negl (%eax)
+ wait ;pushf
+ rep ;stosb
+ repe ;lodsb
+ repz ;cmpsb
+ repne;movsb
+ repnz;outsb
+
+ /* handle one-line prefix + ops */
+ lock negl (%eax)
+ wait pushf
+ rep stosb
+ repe lodsb
+ repz cmpsb
+ repne movsb
+ repnz outsb
invd
wbinvd