[PATCH] D47137: [Sparc] Add floating-point register names
James Clarke via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 23 09:35:11 PDT 2018
jrtc27 added inline comments.
================
Comment at: lib/Basic/Targets/Sparc.cpp:52
+
+ // Double precision floating-point register
+ {{"d0"}, "f0"}, {{"d1"}, "f2"}, {{"d2"}, "f4"}, {{"d3"}, "f6"},
----------------
jyknight wrote:
> AFAICT, gcc doesn't actually accept "d" and "q" aliases in its inline asm, so probably no point in LLVM doing so either.
Ah you're right; trying to use it gives "invalid register name". Having said that, maybe it's a nice thing to support anyway?
https://reviews.llvm.org/D47137
More information about the cfe-commits
mailing list