summaryrefslogtreecommitdiffstats
path: root/test/kvm-pagestep_guest.S
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2023-02-02 09:42:58 -0600
committerLouis Burda <quent.burda@gmail.com>2023-02-02 09:42:58 -0600
commitda9326a66bd534de38ab07dac96e8af051e94923 (patch)
tree4fce93e7632176805f626c20ae926c2e914918b7 /test/kvm-pagestep_guest.S
parentdf90539b9e7ee75c206d5b77d4f1b94882d090c7 (diff)
downloadcachepc-da9326a66bd534de38ab07dac96e8af051e94923.tar.gz
cachepc-da9326a66bd534de38ab07dac96e8af051e94923.zip
Add event batching and handling of instructions loads on page boundaries for CPC_TRACK_PAGES
Diffstat (limited to 'test/kvm-pagestep_guest.S')
-rw-r--r--test/kvm-pagestep_guest.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/kvm-pagestep_guest.S b/test/kvm-pagestep_guest.S
index b40d230..45d77ba 100644
--- a/test/kvm-pagestep_guest.S
+++ b/test/kvm-pagestep_guest.S
@@ -11,6 +11,17 @@ guest:
nop
.endr
+# instruction on page boundary test
+ nop
+.rept 2
+.rept L1_LINESIZE * L1_SETS - 2
+ nop
+.endr
+ cpuid # two byte instruction
+.endr
+# ---------------------------------
+
+# speculation on conditional jump test
mov $0x01, %bx
cmp $0x00, %bx
@@ -19,6 +30,7 @@ guest:
nop
.endr
skip:
+# -----------------------------------
jmp guest