1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-02-20 14:25:12 +00:00
Files
antonblanchard.microwatt/decode2.vhdl
Paul Mackerras 9646fe28b0 Do sign-extension instructions in writeback instead of execute1
This makes the exts[bhw] instructions do the sign extension in the
writeback stage using the sign-extension logic there instead of
having unique sign extension logic in execute1.  This requires
passing the data length and sign extend flag from decode2 down
through execute1 and execute2 and into writeback.  As a side bonus
we reduce the number of values in insn_type_t by two.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2019-10-15 15:27:00 +11:00

13 KiB