[PATCH] D59310: [PowerPC] Fix issue with inline asm - soft float mode
Strahinja Petrovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 14 10:16:05 PDT 2019
spetrovic added a comment.
For this example:
int foo ()
{
double x,y;
__asm__ ("fctiw %0,%1" : "=f"(x) : "f"(y));
return x;
}
clang throws an assert currently for ppc32 soft float. Gcc reports an error similar as in this patch, as well as clang for arm. If I'm wrong with this approach, could you suggest some other solution.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59310/new/
https://reviews.llvm.org/D59310
More information about the llvm-commits
mailing list