blob: 45d77bae8dcaf82b167218b9c00c24cb30c477bf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#include "cachepc/const.h"
#define TARGET_SET 15
.text
.align(16)
.code16gcc
guest:
.rept L1_SIZE
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
je skip
.rept L1_LINESIZE * L1_SETS * 2
nop
.endr
skip:
# -----------------------------------
jmp guest
|