Hi All,

I'm implementing a special pseudo-instruction that is not atomic; meaning
that its effects could take several cycles after the pseudo instruction is
committed.
I would like to stall the execution of instructions in CPU until that
process is done.
My initial attempt was to block the data cache that's connected to the CPU
calling the pseudo-inst and unblock it later. However, I realized this
wouldn't stop CPU from executing any non-memory instruction that comes
after the pseudo-inst, which makes sense!

Does anyone have an idea on how to implement a blocking behavior for a
pseudo-instruction?

Thanks,
Majid
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to