Update hptwAccessFault to generate additional hptw access faults

during ifu fetches.
This commit is contained in:
Rose Thompson 2024-10-14 16:51:46 -05:00
parent d8fe68b912
commit f208b11b51

View File

@ -50,6 +50,31 @@ main:
add t0, t0, t2 add t0, t0, t2
sw t1, 0(t0) sw t1, 0(t0)
j jumppoint
jumppoint:
.align 6 # aligns to cache line size
sw t1, 0(t0)
sw t1, 4(t0)
sw t1, 8(t0)
sw t1, 12(t0)
sw t1, 16(t0)
sw t1, 20(t0)
sw t1, 24(t0)
sw t1, 28(t0)
sw t1, 32(t0)
sw t1, 36(t0)
sw t1, 40(t0)
sw t1, 44(t0)
sw t1, 48(t0)
sw t1, 52(t0) # this one causes a concurrent I$ miss with HPTW access exception (store access exception)
sw t1, 56(t0)
lw t3, 0(t0)
lw t3, 4(t0)
lw t3, 8(t0)
lw t3, 12(t0)
lw t3, 16(t0)
fence.I fence.I
finished: finished: