mem: Reverse order of write/read mem queue check
For atomic RMW instructions that go directly to memory, we want to put
them on the write queue instead of the read queue. Swap the if/else
condition to accomplish this.
Note: This is ignoring the read latency of the RMW, but these
instructions should usually be handled in caches anyway.
Signed-off-by: Jason Lowe-Power <firstname.lastname@example.org>
Reviewed-by: Nikos Nikoleris <email@example.com>
1 file changed