diff options
| author | WANG Rui <wangrui@loongson.cn> | 2025-07-25 11:12:32 +0800 |
|---|---|---|
| committer | Song Gao <gaosong@loongson.cn> | 2025-08-28 20:06:27 +0800 |
| commit | 96e7448c1f820c56caea8447c01f5227b0c95c79 (patch) | |
| tree | c45626a89c5915fa56632e582f2ef2408a1fe6a1 /bsd-user/main.c | |
| parent | ca18b336e12c8433177a3cd639c5bf757952adaa (diff) | |
| download | focaccia-qemu-96e7448c1f820c56caea8447c01f5227b0c95c79.tar.gz focaccia-qemu-96e7448c1f820c56caea8447c01f5227b0c95c79.zip | |
target/loongarch: Guard 64-bit-only insn translation with TRANS64 macro
This patch replaces uses of the generic TRANS macro with TRANS64 for instructions that are only valid when 64-bit support is available. This improves correctness and avoids potential assertion failures or undefined behavior during translation on 32-bit-only configurations. Signed-off-by: WANG Rui <wangrui@loongson.cn> Reviewed-by: Bibo Mao <maobibo@loongson.cn> Reviewed-by: Song Gao <gaosong@loongson.cn> Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'bsd-user/main.c')
0 files changed, 0 insertions, 0 deletions