Skip to content
Snippets Groups Projects
Commit 24c32852 authored by Richard Henderson's avatar Richard Henderson
Browse files

target/openrisc: Tidy ppc/npc implementation


The NPC SPR is really only supposed to be used for FPGA debugging.
It contains the same contents as PC, unless one plays games.  Follow
the or1ksim implementation in flushing delayed branch state when it
is changed.

The PPC SPR need not be updated every instruction, merely when we
exit the TB or attempt to read its contents.

Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
parent a8000cb4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment