mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-27 04:23:01 +00:00
eff8379d2a
* Add Sli & Sri. * Add scalar variants.
463 lines
7.4 KiB
C#
463 lines
7.4 KiB
C#
namespace ARMeilleure.Instructions
|
|
{
|
|
enum InstName
|
|
{
|
|
// Base (AArch64)
|
|
Adc,
|
|
Adcs,
|
|
Add,
|
|
Adds,
|
|
Adr,
|
|
Adrp,
|
|
And,
|
|
Ands,
|
|
Asrv,
|
|
B,
|
|
B_Cond,
|
|
Bfm,
|
|
Bic,
|
|
Bics,
|
|
Bl,
|
|
Blr,
|
|
Br,
|
|
Brk,
|
|
Cbnz,
|
|
Cbz,
|
|
Ccmn,
|
|
Ccmp,
|
|
Clrex,
|
|
Cls,
|
|
Clz,
|
|
Crc32b,
|
|
Crc32h,
|
|
Crc32w,
|
|
Crc32x,
|
|
Crc32cb,
|
|
Crc32ch,
|
|
Crc32cw,
|
|
Crc32cx,
|
|
Csel,
|
|
Csinc,
|
|
Csinv,
|
|
Csneg,
|
|
Dmb,
|
|
Dsb,
|
|
Eon,
|
|
Eor,
|
|
Extr,
|
|
Hint,
|
|
Isb,
|
|
Ldar,
|
|
Ldaxp,
|
|
Ldaxr,
|
|
Ldp,
|
|
Ldr,
|
|
Ldr_Literal,
|
|
Ldrs,
|
|
Ldxr,
|
|
Ldxp,
|
|
Lslv,
|
|
Lsrv,
|
|
Madd,
|
|
Movk,
|
|
Movn,
|
|
Movz,
|
|
Mrs,
|
|
Msr,
|
|
Msub,
|
|
Nop,
|
|
Orn,
|
|
Orr,
|
|
Pfrm,
|
|
Rbit,
|
|
Ret,
|
|
Rev16,
|
|
Rev32,
|
|
Rev64,
|
|
Rorv,
|
|
Sbc,
|
|
Sbcs,
|
|
Sbfm,
|
|
Sdiv,
|
|
Smaddl,
|
|
Smsubl,
|
|
Smulh,
|
|
Stlr,
|
|
Stlxp,
|
|
Stlxr,
|
|
Stp,
|
|
Str,
|
|
Stxp,
|
|
Stxr,
|
|
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