Skip to content

[M68k] incorrect assertion on move from CC register to data register #106210

Closed
@TechnoElf

Description

@TechnoElf

The assertion "Need DR8 register to copy CCR" in M68kInstrInfo::copyPhysReg appears to be wrong. According to the Programmer's Reference Manual, MOVE from CCR takes a 16bit destination operand and zero extends the 5 bits in the CC register.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend:m68kcrashPrefer [crash-on-valid] or [crash-on-invalid]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions