Re: [PATCH 1/3] target/nios2: Replace load_zero() by zero constant in DisasContext

2021-10-03 Thread Richard Henderson
On 10/2/21 7:30 PM, Philippe Mathieu-Daudé wrote: Instead of using a temporary for $zero, keep a reference to the constant pool. Signed-off-by: Philippe Mathieu-Daudé --- target/nios2/translate.c | 17 ++--- 1 file changed, 2 insertions(+), 15 deletions(-) Reviewed-by: Richard H

[PATCH 1/3] target/nios2: Replace load_zero() by zero constant in DisasContext

2021-10-02 Thread Philippe Mathieu-Daudé
Instead of using a temporary for $zero, keep a reference to the constant pool. Signed-off-by: Philippe Mathieu-Daudé --- target/nios2/translate.c | 17 ++--- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/target/nios2/translate.c b/target/nios2/translate.c index 08d7a