Skip to content

clang does not know FP registers gcc does #10671

@llvmbot

Description

@llvmbot
Bugzilla Link 10299
Resolution FIXED
Resolved on Jul 07, 2011 17:57
Version trunk
OS Linux
Attachments Test Case llvm/llvm-project#373 (fpcr), Test Case llvm/llvm-project#374 (fpsr and fpcr)
Reporter LLVM Bugzilla Contributor
CC @asl,@echristo

Extended Description

In RTEMS, we use some inline assembly to assist in FPU context switches. clang has trouble with the two attached test cases. I think we use two registers clang does not know about yet. This can likely be reduced but I thought it better to stick with two real examples so when this is addressed, it is more likely to let this code in RTEMS compile.

Metadata

Metadata

Assignees

Labels

bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions