target/xtensa: don't access BR regfile directly
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 30 Jun 2020 14:50:14 +0000 (07:50 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Fri, 21 Aug 2020 19:48:15 +0000 (12:48 -0700)
commit5dbb4c96d50c6ef74d4fd71a5a0fd9763d5a3662
tree7283911472ba2cd53f3f92b5efb4a6914669ed0c
parentff35a7d1a1027bb867ee6f23935100dd105331fe
target/xtensa: don't access BR regfile directly

BR registers used in FPU comparison opcodes are available as opcode
arguments for translators. Use them. This simplifies comparison helpers
interface and makes them usable in FLIX bundles.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
target/xtensa/fpu_helper.c
target/xtensa/helper.h
target/xtensa/translate.c