Skip to content

%rsp emitted as an index register #1475

@sunfishcode

Description

@sunfishcode
Bugzilla Link 1103
Resolution FIXED
Resolved on Feb 22, 2010 12:51
Version 1.9
OS Linux
Attachments test case

Extended Description

The x86 backend allows %rsp to be used as an index register in an address
operand. Some assemblers accept this and automatically rewrite it so that %rsp
is the base register to make it legal, but some don't, including GAS.

Metadata

Metadata

Assignees

Labels

backend:X86bugzillaIssues migrated from bugzillacompile-failUse [accepts-invalid] and [rejects-valid] instead

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions