target/nios2: Split out helpers for gen_i_math_logic
commitcd419bc63d8f98b07503511286a28cbedab12cd7
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 22 Apr 2022 16:19:16 +0000 (22 09:19 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 26 Apr 2022 15:16:52 +0000 (26 08:16 -0700)
treeba935c30563d20fb8e8d986510c3ade48df95d07
parent3d1f63d019c7aeaf2d9448ec58eab95c0a1d4a10
target/nios2: Split out helpers for gen_i_math_logic

Do as little work as possible within the macro.
Split out helper functions and pass in arguments instead.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/nios2/translate.c