Merge pull request #1340 from davidharrishmc/dev
Some checks failed
Lint / Python 312 lint (push) Has been cancelled
Lint / Python 39 lint (push) Has been cancelled

Added flush instructions to exercise CacheWays ClearValid
This commit is contained in:
Jordan Carlin 2025-04-03 13:21:31 -07:00 committed by GitHub
commit 4bd3047fb0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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