Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Can you add a test that we support this? clang/test/CodeGen/sparcv8-inline-asm.c would be a good place to add a test case similar to that in clang/test/CodeGen/aarch64-inline-asm.c : test_gcc_registers.
lib/Basic/Targets/Sparc.cpp | ||
---|---|---|
45 | Ah you're right; trying to use it gives "invalid register name". Having said that, maybe it's a nice thing to support anyway? |
Comment Actions
Removed the non-existing registers f33, f35, and so on. I also removed the dX and qX aliases. After trying them they felt more confusing than helpful.
There's no such register as f33 (nor any odd-numbered reg above f32).