summary refs log tree commit diff stats
path: root/hw/avr/arduino.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-04-18 23:41:10 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-05-02 16:49:34 +0200
commit830b87ea25b3710c3fce04dee782bcf1c89ba27f (patch)
tree48f310b3f6676987bd9cd3e213038bbda3532dd7 /hw/avr/arduino.c
parentadbf1be325482af13e374573fc875fbe15600348 (diff)
downloadfocaccia-qemu-830b87ea25b3710c3fce04dee782bcf1c89ba27f.tar.gz
focaccia-qemu-830b87ea25b3710c3fce04dee782bcf1c89ba27f.zip
target/mips: Optimize CPU/FPU regnames[] arrays
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>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210428170410.479308-6-f4bug@amsat.org>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions