x86_64: Correct possible incorrect read/write of sse registers - lightning.git - Portable just-in-time compiler library

index : lightning.git
Portable just-in-time compiler library
summary refs log tree commit diff
path: root/lib/jit_mips-cpu.c
diff options
context:
space:
mode:
authorpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2023年01月27日 15:56:40 -0300
committerpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2023年01月27日 15:56:40 -0300
commitd9c36d8cbb15bed9503de0d1f49568b6a025bb9b (patch)
tree30fc733b8ad7c71da7fb987c5403c63dedce8f06 /lib/jit_mips-cpu.c
parent9e428bdb87a6fc8878c91174144a0bf20c244da0 (diff)
downloadlightning-d9c36d8cbb15bed9503de0d1f49568b6a025bb9b.tar.gz
x86_64: Correct possible incorrect read/write of sse registers
The displacement was being incorrectly calculated for registers with absolute value less than 8. Now it both, does not force a rex prefix (could be an ugly fix) and properly calculates the displacement if a rex prefix is added or not. This problem was noticed when updating movi_f and movi_d to also load a constant from a %rip displacement, a change that is added in this patch.
Diffstat (limited to 'lib/jit_mips-cpu.c')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月14日 06:58:53 +0000

AltStyle によって変換されたページ (->オリジナル) /