[PATCH] D146059: [SystemZ] Allow fp/int casting into inline assembly operands
Ilya Leoshkevich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 15 18:34:50 PDT 2023
iii added inline comments.
================
Comment at: llvm/test/CodeGen/SystemZ/inline-asm-fp-int-casting.ll:43
+ %cc_dep1 = load i128, ptr %0, align 8
+ %1 = tail call i128 asm sideeffect "", "=f,0"(i128 %cc_dep1)
+ store i128 %1, ptr %agg.result, align 8
----------------
Did this work for you in GCC? I tried:
__int128 foo(__int128 bar) {
asm("" : "+f" (bar));
return bar;
}
and got:
error: inconsistent operand constraints in an ‘asm’
I wanted to give it a try, because I would expect `ld`/`std` here, like for long double.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146059/new/
https://reviews.llvm.org/D146059
More information about the llvm-commits
mailing list