commit e4762c2cdefacf13d26967b7e5f0735c2748026b parent 501c6bcf4513d40a53022dc93d4156402d43670b Author: Louis Burda <quent.burda@gmail.com> Date: Tue, 24 Jan 2023 14:25:08 +0100 Test page tracking with potential branch prediction in guest Diffstat:
M | test/kvm-pagestep_guest.S | | | 10 | ++++++++++ |
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/test/kvm-pagestep_guest.S b/test/kvm-pagestep_guest.S @@ -13,6 +13,16 @@ guest_start: nop .endr + mov $0x01, %bx + cmp $0x00, %bx + + # NOTE: this needs to be a relative jmp + je skip +.rept L1_LINESIZE * L1_SETS * 2 + nop +.endr +skip: + mov $0x00, %ax jmp *%ax guest_stop: