Skip to content

alpha: Missing canonical insn aliases #3020

Description

@rth7680

It would be nice to have some of the canonical alises:

bis     $r31,$r31,$r31  -> nop
ldq_u   $31,0(X)        -> unop

bis     $r31,S,D        -> mov S,D
bis     $r31,#u8,D      -> mov #u8,D
lda     D,s16($r31)     -> mov #s16,D

cpys    $f31,$f31,$f31  -> fnop
cpys    S,S,D           -> fmov S,D
cpys    $f31,S,D        -> fabs S,D
cpysn   S,S,D           -> fneg S,D

There's a list in the Alpha Architecture Handbook section A.4.4 Stylized Code Forms.

Perhaps some of this will come naturally when the Alpha LLVM backend is upstreamed...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions