Revision 5b51920fbd28aa254fcdfedacc619e4913f8e9ef authored by Song Gao on 20 March 2024, 01:39:55 UTC, committed by Michael Tokarev on 22 March 2024, 04:49:24 UTC
On gen_ll, if a->imm is zero, make_address_x return src1,
but the load to destination may clobber src1. We use a new
destination to fix this problem.

Fixes: c5af6628f4be (target/loongarch: Extract make_address_i() helper)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240320013955.1561311-1-gaosong@loongson.cn>
(cherry picked from commit 77642f92c0b71a105aba2a4d03bc62328eae703b)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
1 parent 242370f
History
File Mode Size
Makefile.vdso -rw-r--r-- 336 bytes
cpu_loop.c -rw-r--r-- 5.6 KB
meson.build -rw-r--r-- 489 bytes
signal.c -rw-r--r-- 12.5 KB
sockbits.h -rw-r--r-- 33 bytes
syscall.tbl -rw-r--r-- 22.7 KB
syscallhdr.sh -rwxr-xr-x 877 bytes
target_cpu.h -rw-r--r-- 1.3 KB
target_elf.h -rw-r--r-- 427 bytes
target_errno_defs.h -rw-r--r-- 151 bytes
target_fcntl.h -rw-r--r-- 381 bytes
target_mman.h -rw-r--r-- 659 bytes
target_prctl.h -rw-r--r-- 41 bytes
target_proc.h -rw-r--r-- 3.0 KB
target_resource.h -rw-r--r-- 40 bytes
target_signal.h -rw-r--r-- 205 bytes
target_structs.h -rw-r--r-- 2.3 KB
target_syscall.h -rw-r--r-- 785 bytes
termbits.h -rw-r--r-- 33 bytes
vdso-asmoffset.h -rw-r--r-- 67 bytes
vdso.S -rw-r--r-- 1.3 KB
vdso.ld -rw-r--r-- 2.2 KB
vdso.so -rwxr-xr-x 3.4 KB

back to top