From da9326a66bd534de38ab07dac96e8af051e94923 Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Thu, 2 Feb 2023 09:42:58 -0600 Subject: Add event batching and handling of instructions loads on page boundaries for CPC_TRACK_PAGES --- test/kvm-pagestep_guest.S | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'test/kvm-pagestep_guest.S') 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 -- cgit v1.2.3-71-gd317