Added flush instructions to exercise CacheWays ClearValid

This commit is contained in:
David Harris 2025-04-03 13:01:17 -07:00
parent a738fd5917
commit 25dbebb75c

View file

@ -80,4 +80,15 @@ main:
sd zero, 0(t0)
.word 0x00000013
.word 0x00000013
# test flushing
li t0, 0x80100000
cbo.flush (t0)
li t0, 0x80101000
cbo.flush (t0)
li t0, 0x80102000
cbo.flush (t0)
li t0, 0x80103000
cbo.flush (t0)
j done