[cfe-dev] PATCH: clang/LLVM - Sparc - inline ASM with floating pointer registers
Arnaud Allard de Grandmaison via cfe-dev
cfe-dev at lists.llvm.org
Mon Mar 21 15:46:56 PDT 2016
Hi Patrick,
I do not see a problem with those patches --- apart from missing tests ;)
Cheers,
Arnaud
On Mon, Mar 21, 2016 at 3:11 PM, Patrick Boettcher via cfe-dev <
cfe-dev at lists.llvm.org> wrote:
> Hi lists,
>
> Sorry for cross-posting, but these two patches are of concern to clang
> and llvm.
>
> I'm compiling C-code which includes inline assembler which looks like
> the following using the sparc-target:
>
> static inline float fabsf(float a)
> {
> float res;
> __asm __volatile__("fabss %1, %0;"
> : "=f"(res)
> : "f"(a));
> return res;
> }
>
> This fails with llvm/clang - trunk/master.
>
> I patched clang and llvm and, as I'm new to both project, I'm having
> doubts that it is enough - however it works.
>
> What would be necessary to have it included in both projects?
> Is my code correct for what I want to do?
> What would have been a more appropriate process to submit?
>
> best regards,
> --
> Patrick.
>
>
>
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160321/8e3201e8/attachment.html>
More information about the cfe-dev
mailing list