qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 05/30] target/mips: Optimize CPU/FPU regnames[] arrays


From: Richard Henderson
Subject: Re: [PATCH v3 05/30] target/mips: Optimize CPU/FPU regnames[] arrays
Date: Mon, 19 Apr 2021 12:22:34 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 4/19/21 12:17 PM, Philippe Mathieu-Daudé wrote:
Since all entries are no more than 4 bytes (including nul
terminator), can save space and pie runtime relocations by
declaring regnames[] as array of 4 const char.

Suggested-by: Richard Henderson<richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé<f4bug@amsat.org>
---
  target/mips/internal.h | 4 ++--
  target/mips/cpu.c      | 2 +-
  target/mips/fpu.c      | 2 +-
  3 files changed, 4 insertions(+), 4 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]