[PATCH] clang compatibility: fpu options

Volodymyr Turanskyy Volodymyr.Turanskyy@arm.com
Mon Jan 20 15:29:58 GMT 2025


Hi,

Please see attached re-formatted patch file.

Sincerely,

Volodymyr Turanskyy | Principal Software Engineer | CE SW LLVM Team

From: Volodymyr Turanskyy <Volodymyr.Turanskyy@arm.com>
Date: Monday, 20 January 2025 at 15:06
To: Joel Sherrill <joel.sherrill@gmail.com>, newlib@sourceware.org <newlib@sourceware.org>
Cc: nd <nd@arm.com>
Subject: Re: [PATCH] clang compatibility: fpu options
Hi Joel,

Let me fix the commit messages.

Clang does not have vfpxd - vfpv3xd might be the closest, however we believe that it is not needed for clang at all, so it is skipped.

Sincerely,

Volodymyr Turanskyy | Principal Software Engineer | CE SW LLVM Team

From: Joel Sherrill <joel.sherrill@gmail.com>
Date: Monday, 20 January 2025 at 15:01
To: Volodymyr Turanskyy <Volodymyr.Turanskyy@arm.com>
Cc: newlib@sourceware.org <newlib@sourceware.org>, nd <nd@arm.com>
Subject: Re: [PATCH] clang compatibility: fpu options
Same with missing commit.

Does the clang assembler have a directive for vfpxd? If I am reading the patch correctly, it just drops the directive rather than replacing it.

--joel

On Mon, Jan 20, 2025 at 8:49 AM Volodymyr Turanskyy <Volodymyr.Turanskyy@arm.com<mailto:Volodymyr.Turanskyy@arm.com>> wrote:
Hi,

Following up on the RFC [1], please find attached a patch that adds a check to avoid extra assembler directives that are not compatible with clang and are not needed by clang.

References

https://sourceware.org/pipermail/newlib/2025/021452.html

Sincerely,

Volodymyr Turanskyy | Principal Software Engineer | CE SW LLVM Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/newlib/attachments/20250120/215db9d2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-check-for-clang-to-avoid-unnecessary-FPU-directi.patch
Type: application/octet-stream
Size: 1053 bytes
Desc: 0001-Add-check-for-clang-to-avoid-unnecessary-FPU-directi.patch
URL: <https://sourceware.org/pipermail/newlib/attachments/20250120/215db9d2/attachment.obj>


More information about the Newlib mailing list