1
0

fix store prefetch bug, it no longer occupies an entry in the sdq

This commit is contained in:
Yunsup Lee 2012-03-03 15:07:22 -08:00
parent 1b3307df32
commit f9fb3978ca

View File

@ -92,8 +92,8 @@ object cpuCmdToRW {
val store = (cmd === M_XWR)
val load = (cmd === M_XRD)
val amo = cmd(3).toBool
val read = load || amo || (cmd === M_PFR)
val write = store || amo || (cmd === M_PFW)
val read = load || amo || (cmd === M_PFR) || (cmd === M_PFW)
val write = store || amo
(read, write)
}
}