#3020·capstone

alpha: Missing canonical insn aliases

Author: rth7680Created Aug 10, 2026Updated Aug 12, 2026
LabelsenhancementAlphaoutdated-module

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...

Source: capstone-engine/capstone