diff options
| author | Yao Zi <ziyao@disroot.org> | 2025-03-14 03:31:51 +0000 |
|---|---|---|
| committer | Bibo Mao <maobibo@loongson.cn> | 2025-03-21 11:31:56 +0800 |
| commit | ca2737d6eca7fcc62ecb7a27246837b7c18830fc (patch) | |
| tree | 03a9294f53c8f991be24fa9a3f38456f5ea08b27 /tests/functional/qemu_test/testcase.py | |
| parent | 1dae461a913f9da88df05de6e2020d3134356f2e (diff) | |
| download | focaccia-qemu-ca2737d6eca7fcc62ecb7a27246837b7c18830fc.tar.gz focaccia-qemu-ca2737d6eca7fcc62ecb7a27246837b7c18830fc.zip | |
host/include/loongarch64: Fix inline assembly compatibility with Clang
Clang on LoongArch only accepts fp register names in the dollar-prefixed
form, while GCC allows omitting the dollar. Change registers in ASM
clobbers to the dollar-prefixed form to make user emulators buildable
with Clang on loongarch64. No functional change invovled.
Cc: qemu-stable@nongnu.org
Fixes: adc8467e697 ("host/include/loongarch64: Add atomic16 load and store")
Signed-off-by: Yao Zi <ziyao@disroot.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Diffstat (limited to 'tests/functional/qemu_test/testcase.py')
0 files changed, 0 insertions, 0 deletions