target/openrisc: Invert the decoding in dec_calc
commitcf2ae4428f320f3d8027a50c1cd45f4b5a6c93bb
authorRichard Henderson <rth@twiddle.net>
Thu, 19 Feb 2015 01:41:52 +0000 (18 17:41 -0800)
committerRichard Henderson <rth@twiddle.net>
Mon, 13 Feb 2017 21:14:59 +0000 (14 08:14 +1100)
treebf5267060414e0f8a47f1015fa7ee13432d20445
parent0c53d7342b4e8412f3b81eed67f053304813dc5d
target/openrisc: Invert the decoding in dec_calc

Decoding the opcodes in the right order reduces by 100+ lines.
Also, it happens to put the opcodes in the same order as Chapter 17.

Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Richard Henderson <rth@twiddle.net>
target/openrisc/translate.c