tcg/tci: Split out tci_args_rrs
commitcdd9799b2549e7482e81d1076bd41490e299c966
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 29 Jan 2021 22:55:41 +0000 (29 12:55 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 17 Mar 2021 13:24:44 +0000 (17 07:24 -0600)
treefe25a90511d43adbeaadc14a800ff54f3a18fd41
parentadaa9a2f9a05211a432e521b0b6a9a7b10190cfd
tcg/tci: Split out tci_args_rrs

Begin splitting out functions that do pure argument decode,
without actually loading values from the register set.

This means that decoding need not concern itself between
input and output registers.  We can assert that the register
number is in range during decode, so that it is safe to
simply dereference from regs[] later.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tci.c