Re: [PATCH] host/include/loongarch64: Fix inline assembly compatibility with Clang

2025-03-20 Thread bibo mao
applied to loongarch-next. Regards Bibo Mao On 2025/3/14 上午11:31, Yao Zi wrote: 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

Re: [PATCH] host/include/loongarch64: Fix inline assembly compatibility with Clang

2025-03-20 Thread gaosong
在 2025/3/14 上午11:31, Yao Zi 写道: 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 invovl

Re: [PATCH] host/include/loongarch64: Fix inline assembly compatibility with Clang

2025-03-16 Thread bibo mao
Reviewed-by: Mao Bibo On 2025/3/14 上午11:31, Yao Zi wrote: 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.

Re: [PATCH] host/include/loongarch64: Fix inline assembly compatibility with Clang

2025-03-14 Thread Richard Henderson
On 3/13/25 20:31, Yao Zi wrote: 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 invovl

[PATCH] host/include/loongarch64: Fix inline assembly compatibility with Clang

2025-03-13 Thread Yao Zi
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. Signed-off-by: Yao Zi --- h