llvm-project
e5fd8401 - [Sparc] Reject V9-only register names and fcmp forms on V8 (#247419)

Commit
10 hours ago
[Sparc] Reject V9-only register names and fcmp forms on V8 (#247419) When targeting V8, the assembler accepted the V9 names of %asr2-%asr6 (%ccr, %asi, %tick, %pc and %fprs), the JPS1 names of the other ASRs, and the forms of the floating-point compares that name an %fcc register. fcmps %fcc1, ... was encoded with the cc bits in a field that is reserved on V8, and the disassembler decoded that encoding back as the V9 form. Reject all of these on V8 as GNU as does, and don't decode %fcc1-%fcc3 on V8. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Author
Parents
Loading