target/openrisc: Use dc->zero in gen_add, gen_addc
commite0efc48fbc6ed9f308fbbff394c5c1044067909f
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 8 Jul 2021 21:34:29 +0000 (8 14:34 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 13 Jul 2021 15:13:19 +0000 (13 08:13 -0700)
tree3dbb3bb1b29b63f8b02c23ea8f0d411aa09bc5a7
parent118671f02faf4d67f283731eafc96bb72b125431
target/openrisc: Use dc->zero in gen_add, gen_addc

We still need the t0 temporary for computing overflow,
but we do not need to initialize it to zero first.

Reviewed-by: Stafford Horne <shorne@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/openrisc/translate.c