insn: Implement isync instruction
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 22 Oct 2019 03:49:35 +0000 (14:49 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 23 Oct 2019 01:31:16 +0000 (12:31 +1100)
commita0d95e791e52b1ca7ee7b14e041453fb54e34a6f
tree0130f096f0a97dd542ce1cc463d067bc7605fa67
parent6e0ee0b0db81fbe190653e3903c87c2287d05946
insn: Implement isync instruction

The instruction works by redirecting fetch to nia+4 (hopefully using
the same adder used to generate LR) and doing a backflush. Along with
being single issue, this should guarantee that the next instruction
only gets fetched after the pipe's been emptied.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
decode1.vhdl
execute1.vhdl