crabstone 3.0.3 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGES.md +45 -42
- data/README.md +16 -33
- data/lib/crabstone.rb +5 -557
- data/lib/crabstone/arch.rb +37 -0
- data/lib/{arch → crabstone/arch/3}/arm.rb +28 -49
- data/lib/crabstone/arch/3/arm64.rb +124 -0
- data/lib/{arch → crabstone/arch/3}/arm64_const.rb +45 -86
- data/lib/{arch → crabstone/arch/3}/arm_const.rb +19 -47
- data/lib/crabstone/arch/3/mips.rb +57 -0
- data/lib/{arch → crabstone/arch/3}/mips_const.rb +18 -38
- data/lib/crabstone/arch/3/ppc.rb +73 -0
- data/lib/{arch → crabstone/arch/3}/ppc_const.rb +27 -43
- data/lib/crabstone/arch/3/sparc.rb +60 -0
- data/lib/{arch → crabstone/arch/3}/sparc_const.rb +49 -67
- data/lib/crabstone/arch/3/sysz.rb +67 -0
- data/lib/{arch → crabstone/arch/3}/sysz_const.rb +11 -25
- data/lib/crabstone/arch/3/x86.rb +82 -0
- data/lib/{arch → crabstone/arch/3}/x86_const.rb +15 -36
- data/lib/crabstone/arch/3/xcore.rb +59 -0
- data/lib/{arch → crabstone/arch/3}/xcore_const.rb +10 -22
- data/lib/crabstone/arch/4/arm.rb +110 -0
- data/lib/crabstone/arch/4/arm64.rb +125 -0
- data/lib/crabstone/arch/4/arm64_const.rb +1016 -0
- data/lib/crabstone/arch/4/arm_const.rb +785 -0
- data/lib/crabstone/arch/4/evm.rb +20 -0
- data/lib/crabstone/arch/4/evm_const.rb +161 -0
- data/lib/crabstone/arch/4/m680x.rb +106 -0
- data/lib/crabstone/arch/4/m680x_const.rb +426 -0
- data/lib/crabstone/arch/4/m68k.rb +129 -0
- data/lib/crabstone/arch/4/m68k_const.rb +496 -0
- data/lib/crabstone/arch/4/mips.rb +57 -0
- data/lib/crabstone/arch/4/mips_const.rb +869 -0
- data/lib/crabstone/arch/4/ppc.rb +73 -0
- data/lib/crabstone/arch/4/ppc_const.rb +1375 -0
- data/lib/crabstone/arch/4/sparc.rb +60 -0
- data/lib/crabstone/arch/4/sparc_const.rb +439 -0
- data/lib/crabstone/arch/4/sysz.rb +67 -0
- data/lib/crabstone/arch/4/sysz_const.rb +763 -0
- data/lib/crabstone/arch/4/tms320c64x.rb +87 -0
- data/lib/crabstone/arch/4/tms320c64x_const.rb +287 -0
- data/lib/crabstone/arch/4/x86.rb +91 -0
- data/lib/crabstone/arch/4/x86_const.rb +1972 -0
- data/lib/crabstone/arch/4/xcore.rb +59 -0
- data/lib/crabstone/arch/4/xcore_const.rb +171 -0
- data/lib/crabstone/arch/extension.rb +27 -0
- data/lib/crabstone/arch/register.rb +36 -0
- data/lib/crabstone/binding.rb +60 -0
- data/lib/crabstone/binding/3/detail.rb +36 -0
- data/lib/crabstone/binding/3/instruction.rb +23 -0
- data/lib/crabstone/binding/4/detail.rb +40 -0
- data/lib/crabstone/binding/4/instruction.rb +23 -0
- data/lib/crabstone/binding/structs.rb +32 -0
- data/lib/crabstone/constants.rb +110 -0
- data/lib/crabstone/cs_version.rb +49 -0
- data/lib/crabstone/disassembler.rb +153 -0
- data/lib/crabstone/error.rb +60 -0
- data/lib/crabstone/instruction.rb +183 -0
- data/lib/crabstone/version.rb +5 -0
- metadata +128 -324
- data/MANIFEST +0 -312
- data/Rakefile +0 -27
- data/bin/genconst +0 -66
- data/bin/genreg +0 -99
- data/crabstone.gemspec +0 -27
- data/examples/hello_world.rb +0 -43
- data/lib/arch/arm64.rb +0 -167
- data/lib/arch/arm64_registers.rb +0 -295
- data/lib/arch/arm_registers.rb +0 -149
- data/lib/arch/mips.rb +0 -78
- data/lib/arch/mips_registers.rb +0 -208
- data/lib/arch/ppc.rb +0 -90
- data/lib/arch/ppc_registers.rb +0 -209
- data/lib/arch/sparc.rb +0 -79
- data/lib/arch/sparc_registers.rb +0 -121
- data/lib/arch/systemz.rb +0 -79
- data/lib/arch/sysz_registers.rb +0 -66
- data/lib/arch/x86.rb +0 -107
- data/lib/arch/x86_registers.rb +0 -265
- data/lib/arch/xcore.rb +0 -78
- data/lib/arch/xcore_registers.rb +0 -57
- data/test/MC/AArch64/basic-a64-instructions.s.cs +0 -2014
- data/test/MC/AArch64/gicv3-regs.s.cs +0 -111
- data/test/MC/AArch64/neon-2velem.s.cs +0 -113
- data/test/MC/AArch64/neon-3vdiff.s.cs +0 -143
- data/test/MC/AArch64/neon-aba-abd.s.cs +0 -28
- data/test/MC/AArch64/neon-across.s.cs +0 -40
- data/test/MC/AArch64/neon-add-pairwise.s.cs +0 -11
- data/test/MC/AArch64/neon-add-sub-instructions.s.cs +0 -21
- data/test/MC/AArch64/neon-bitwise-instructions.s.cs +0 -17
- data/test/MC/AArch64/neon-compare-instructions.s.cs +0 -136
- data/test/MC/AArch64/neon-crypto.s.cs +0 -15
- data/test/MC/AArch64/neon-extract.s.cs +0 -3
- data/test/MC/AArch64/neon-facge-facgt.s.cs +0 -13
- data/test/MC/AArch64/neon-frsqrt-frecp.s.cs +0 -7
- data/test/MC/AArch64/neon-halving-add-sub.s.cs +0 -25
- data/test/MC/AArch64/neon-max-min-pairwise.s.cs +0 -37
- data/test/MC/AArch64/neon-max-min.s.cs +0 -37
- data/test/MC/AArch64/neon-mla-mls-instructions.s.cs +0 -19
- data/test/MC/AArch64/neon-mov.s.cs +0 -74
- data/test/MC/AArch64/neon-mul-div-instructions.s.cs +0 -24
- data/test/MC/AArch64/neon-perm.s.cs +0 -43
- data/test/MC/AArch64/neon-rounding-halving-add.s.cs +0 -13
- data/test/MC/AArch64/neon-rounding-shift.s.cs +0 -15
- data/test/MC/AArch64/neon-saturating-add-sub.s.cs +0 -29
- data/test/MC/AArch64/neon-saturating-rounding-shift.s.cs +0 -15
- data/test/MC/AArch64/neon-saturating-shift.s.cs +0 -15
- data/test/MC/AArch64/neon-scalar-abs.s.cs +0 -8
- data/test/MC/AArch64/neon-scalar-add-sub.s.cs +0 -3
- data/test/MC/AArch64/neon-scalar-by-elem-mla.s.cs +0 -13
- data/test/MC/AArch64/neon-scalar-by-elem-mul.s.cs +0 -13
- data/test/MC/AArch64/neon-scalar-by-elem-saturating-mla.s.cs +0 -15
- data/test/MC/AArch64/neon-scalar-by-elem-saturating-mul.s.cs +0 -18
- data/test/MC/AArch64/neon-scalar-compare.s.cs +0 -12
- data/test/MC/AArch64/neon-scalar-cvt.s.cs +0 -34
- data/test/MC/AArch64/neon-scalar-dup.s.cs +0 -23
- data/test/MC/AArch64/neon-scalar-extract-narrow.s.cs +0 -10
- data/test/MC/AArch64/neon-scalar-fp-compare.s.cs +0 -21
- data/test/MC/AArch64/neon-scalar-mul.s.cs +0 -13
- data/test/MC/AArch64/neon-scalar-neg.s.cs +0 -6
- data/test/MC/AArch64/neon-scalar-recip.s.cs +0 -11
- data/test/MC/AArch64/neon-scalar-reduce-pairwise.s.cs +0 -3
- data/test/MC/AArch64/neon-scalar-rounding-shift.s.cs +0 -3
- data/test/MC/AArch64/neon-scalar-saturating-add-sub.s.cs +0 -25
- data/test/MC/AArch64/neon-scalar-saturating-rounding-shift.s.cs +0 -9
- data/test/MC/AArch64/neon-scalar-saturating-shift.s.cs +0 -9
- data/test/MC/AArch64/neon-scalar-shift-imm.s.cs +0 -42
- data/test/MC/AArch64/neon-scalar-shift.s.cs +0 -3
- data/test/MC/AArch64/neon-shift-left-long.s.cs +0 -13
- data/test/MC/AArch64/neon-shift.s.cs +0 -22
- data/test/MC/AArch64/neon-simd-copy.s.cs +0 -42
- data/test/MC/AArch64/neon-simd-ldst-multi-elem.s.cs +0 -197
- data/test/MC/AArch64/neon-simd-ldst-one-elem.s.cs +0 -129
- data/test/MC/AArch64/neon-simd-misc.s.cs +0 -213
- data/test/MC/AArch64/neon-simd-post-ldst-multi-elem.s.cs +0 -107
- data/test/MC/AArch64/neon-simd-shift.s.cs +0 -151
- data/test/MC/AArch64/neon-tbl.s.cs +0 -21
- data/test/MC/AArch64/trace-regs.s.cs +0 -383
- data/test/MC/ARM/arm-aliases.s.cs +0 -7
- data/test/MC/ARM/arm-arithmetic-aliases.s.cs +0 -50
- data/test/MC/ARM/arm-it-block.s.cs +0 -2
- data/test/MC/ARM/arm-memory-instructions.s.cs +0 -138
- data/test/MC/ARM/arm-shift-encoding.s.cs +0 -50
- data/test/MC/ARM/arm-thumb-trustzone.s.cs +0 -3
- data/test/MC/ARM/arm-trustzone.s.cs +0 -3
- data/test/MC/ARM/arm_addrmode2.s.cs +0 -15
- data/test/MC/ARM/arm_addrmode3.s.cs +0 -9
- data/test/MC/ARM/arm_instructions.s.cs +0 -25
- data/test/MC/ARM/basic-arm-instructions-v8.s.cs +0 -10
- data/test/MC/ARM/basic-arm-instructions.s.cs +0 -997
- data/test/MC/ARM/basic-thumb-instructions.s.cs +0 -130
- data/test/MC/ARM/basic-thumb2-instructions-v8.s.cs +0 -1
- data/test/MC/ARM/basic-thumb2-instructions.s.cs +0 -1242
- data/test/MC/ARM/crc32-thumb.s.cs +0 -7
- data/test/MC/ARM/crc32.s.cs +0 -7
- data/test/MC/ARM/dot-req.s.cs +0 -3
- data/test/MC/ARM/fp-armv8.s.cs +0 -52
- data/test/MC/ARM/idiv-thumb.s.cs +0 -3
- data/test/MC/ARM/idiv.s.cs +0 -3
- data/test/MC/ARM/load-store-acquire-release-v8-thumb.s.cs +0 -15
- data/test/MC/ARM/load-store-acquire-release-v8.s.cs +0 -15
- data/test/MC/ARM/mode-switch.s.cs +0 -7
- data/test/MC/ARM/neon-abs-encoding.s.cs +0 -15
- data/test/MC/ARM/neon-absdiff-encoding.s.cs +0 -39
- data/test/MC/ARM/neon-add-encoding.s.cs +0 -119
- data/test/MC/ARM/neon-bitcount-encoding.s.cs +0 -15
- data/test/MC/ARM/neon-bitwise-encoding.s.cs +0 -126
- data/test/MC/ARM/neon-cmp-encoding.s.cs +0 -88
- data/test/MC/ARM/neon-convert-encoding.s.cs +0 -27
- data/test/MC/ARM/neon-crypto.s.cs +0 -16
- data/test/MC/ARM/neon-dup-encoding.s.cs +0 -13
- data/test/MC/ARM/neon-minmax-encoding.s.cs +0 -57
- data/test/MC/ARM/neon-mov-encoding.s.cs +0 -76
- data/test/MC/ARM/neon-mul-accum-encoding.s.cs +0 -39
- data/test/MC/ARM/neon-mul-encoding.s.cs +0 -72
- data/test/MC/ARM/neon-neg-encoding.s.cs +0 -15
- data/test/MC/ARM/neon-pairwise-encoding.s.cs +0 -47
- data/test/MC/ARM/neon-reciprocal-encoding.s.cs +0 -13
- data/test/MC/ARM/neon-reverse-encoding.s.cs +0 -13
- data/test/MC/ARM/neon-satshift-encoding.s.cs +0 -75
- data/test/MC/ARM/neon-shift-encoding.s.cs +0 -238
- data/test/MC/ARM/neon-shiftaccum-encoding.s.cs +0 -97
- data/test/MC/ARM/neon-shuffle-encoding.s.cs +0 -59
- data/test/MC/ARM/neon-sub-encoding.s.cs +0 -82
- data/test/MC/ARM/neon-table-encoding.s.cs +0 -9
- data/test/MC/ARM/neon-v8.s.cs +0 -38
- data/test/MC/ARM/neon-vld-encoding.s.cs +0 -213
- data/test/MC/ARM/neon-vst-encoding.s.cs +0 -120
- data/test/MC/ARM/neon-vswp.s.cs +0 -3
- data/test/MC/ARM/neont2-abs-encoding.s.cs +0 -15
- data/test/MC/ARM/neont2-absdiff-encoding.s.cs +0 -39
- data/test/MC/ARM/neont2-add-encoding.s.cs +0 -65
- data/test/MC/ARM/neont2-bitcount-encoding.s.cs +0 -15
- data/test/MC/ARM/neont2-bitwise-encoding.s.cs +0 -15
- data/test/MC/ARM/neont2-cmp-encoding.s.cs +0 -17
- data/test/MC/ARM/neont2-convert-encoding.s.cs +0 -19
- data/test/MC/ARM/neont2-dup-encoding.s.cs +0 -19
- data/test/MC/ARM/neont2-minmax-encoding.s.cs +0 -57
- data/test/MC/ARM/neont2-mov-encoding.s.cs +0 -58
- data/test/MC/ARM/neont2-mul-accum-encoding.s.cs +0 -41
- data/test/MC/ARM/neont2-mul-encoding.s.cs +0 -31
- data/test/MC/ARM/neont2-neg-encoding.s.cs +0 -15
- data/test/MC/ARM/neont2-pairwise-encoding.s.cs +0 -43
- data/test/MC/ARM/neont2-reciprocal-encoding.s.cs +0 -13
- data/test/MC/ARM/neont2-reverse-encoding.s.cs +0 -13
- data/test/MC/ARM/neont2-satshift-encoding.s.cs +0 -75
- data/test/MC/ARM/neont2-shift-encoding.s.cs +0 -80
- data/test/MC/ARM/neont2-shiftaccum-encoding.s.cs +0 -97
- data/test/MC/ARM/neont2-shuffle-encoding.s.cs +0 -23
- data/test/MC/ARM/neont2-sub-encoding.s.cs +0 -23
- data/test/MC/ARM/neont2-table-encoding.s.cs +0 -9
- data/test/MC/ARM/neont2-vld-encoding.s.cs +0 -51
- data/test/MC/ARM/neont2-vst-encoding.s.cs +0 -48
- data/test/MC/ARM/simple-fp-encoding.s.cs +0 -157
- data/test/MC/ARM/thumb-fp-armv8.s.cs +0 -51
- data/test/MC/ARM/thumb-hints.s.cs +0 -12
- data/test/MC/ARM/thumb-neon-crypto.s.cs +0 -16
- data/test/MC/ARM/thumb-neon-v8.s.cs +0 -38
- data/test/MC/ARM/thumb-shift-encoding.s.cs +0 -19
- data/test/MC/ARM/thumb.s.cs +0 -19
- data/test/MC/ARM/thumb2-b.w-encodingT4.s.cs +0 -2
- data/test/MC/ARM/thumb2-branches.s.cs +0 -85
- data/test/MC/ARM/thumb2-mclass.s.cs +0 -41
- data/test/MC/ARM/thumb2-narrow-dp.ll.cs +0 -379
- data/test/MC/ARM/thumb2-pldw.s.cs +0 -2
- data/test/MC/ARM/vfp4-thumb.s.cs +0 -13
- data/test/MC/ARM/vfp4.s.cs +0 -13
- data/test/MC/ARM/vpush-vpop-thumb.s.cs +0 -9
- data/test/MC/ARM/vpush-vpop.s.cs +0 -9
- data/test/MC/Mips/hilo-addressing.s.cs +0 -4
- data/test/MC/Mips/micromips-alu-instructions-EB.s.cs +0 -33
- data/test/MC/Mips/micromips-alu-instructions.s.cs +0 -33
- data/test/MC/Mips/micromips-branch-instructions-EB.s.cs +0 -11
- data/test/MC/Mips/micromips-branch-instructions.s.cs +0 -11
- data/test/MC/Mips/micromips-expansions.s.cs +0 -20
- data/test/MC/Mips/micromips-jump-instructions-EB.s.cs +0 -5
- data/test/MC/Mips/micromips-jump-instructions.s.cs +0 -6
- data/test/MC/Mips/micromips-loadstore-instructions-EB.s.cs +0 -9
- data/test/MC/Mips/micromips-loadstore-instructions.s.cs +0 -9
- data/test/MC/Mips/micromips-loadstore-unaligned-EB.s.cs +0 -5
- data/test/MC/Mips/micromips-loadstore-unaligned.s.cs +0 -5
- data/test/MC/Mips/micromips-movcond-instructions-EB.s.cs +0 -5
- data/test/MC/Mips/micromips-movcond-instructions.s.cs +0 -5
- data/test/MC/Mips/micromips-multiply-instructions-EB.s.cs +0 -5
- data/test/MC/Mips/micromips-multiply-instructions.s.cs +0 -5
- data/test/MC/Mips/micromips-shift-instructions-EB.s.cs +0 -9
- data/test/MC/Mips/micromips-shift-instructions.s.cs +0 -9
- data/test/MC/Mips/micromips-trap-instructions-EB.s.cs +0 -13
- data/test/MC/Mips/micromips-trap-instructions.s.cs +0 -13
- data/test/MC/Mips/mips-alu-instructions.s.cs +0 -53
- data/test/MC/Mips/mips-control-instructions-64.s.cs +0 -33
- data/test/MC/Mips/mips-control-instructions.s.cs +0 -33
- data/test/MC/Mips/mips-coprocessor-encodings.s.cs +0 -17
- data/test/MC/Mips/mips-dsp-instructions.s.cs +0 -43
- data/test/MC/Mips/mips-expansions.s.cs +0 -20
- data/test/MC/Mips/mips-fpu-instructions.s.cs +0 -93
- data/test/MC/Mips/mips-jump-instructions.s.cs +0 -1
- data/test/MC/Mips/mips-memory-instructions.s.cs +0 -17
- data/test/MC/Mips/mips-register-names.s.cs +0 -33
- data/test/MC/Mips/mips64-alu-instructions.s.cs +0 -47
- data/test/MC/Mips/mips64-instructions.s.cs +0 -3
- data/test/MC/Mips/mips64-register-names.s.cs +0 -33
- data/test/MC/Mips/mips_directives.s.cs +0 -12
- data/test/MC/Mips/nabi-regs.s.cs +0 -12
- data/test/MC/Mips/set-at-directive.s.cs +0 -6
- data/test/MC/Mips/test_2r.s.cs +0 -16
- data/test/MC/Mips/test_2rf.s.cs +0 -33
- data/test/MC/Mips/test_3r.s.cs +0 -243
- data/test/MC/Mips/test_3rf.s.cs +0 -83
- data/test/MC/Mips/test_bit.s.cs +0 -49
- data/test/MC/Mips/test_cbranch.s.cs +0 -11
- data/test/MC/Mips/test_ctrlregs.s.cs +0 -33
- data/test/MC/Mips/test_elm.s.cs +0 -16
- data/test/MC/Mips/test_elm_insert.s.cs +0 -4
- data/test/MC/Mips/test_elm_insve.s.cs +0 -5
- data/test/MC/Mips/test_i10.s.cs +0 -5
- data/test/MC/Mips/test_i5.s.cs +0 -45
- data/test/MC/Mips/test_i8.s.cs +0 -11
- data/test/MC/Mips/test_lsa.s.cs +0 -5
- data/test/MC/Mips/test_mi10.s.cs +0 -24
- data/test/MC/Mips/test_vec.s.cs +0 -8
- data/test/MC/PowerPC/ppc64-encoding-bookII.s.cs +0 -25
- data/test/MC/PowerPC/ppc64-encoding-bookIII.s.cs +0 -35
- data/test/MC/PowerPC/ppc64-encoding-ext.s.cs +0 -535
- data/test/MC/PowerPC/ppc64-encoding-fp.s.cs +0 -110
- data/test/MC/PowerPC/ppc64-encoding-vmx.s.cs +0 -170
- data/test/MC/PowerPC/ppc64-encoding.s.cs +0 -202
- data/test/MC/PowerPC/ppc64-operands.s.cs +0 -32
- data/test/MC/README +0 -6
- data/test/MC/Sparc/sparc-alu-instructions.s.cs +0 -47
- data/test/MC/Sparc/sparc-atomic-instructions.s.cs +0 -7
- data/test/MC/Sparc/sparc-ctrl-instructions.s.cs +0 -11
- data/test/MC/Sparc/sparc-fp-instructions.s.cs +0 -59
- data/test/MC/Sparc/sparc-mem-instructions.s.cs +0 -25
- data/test/MC/Sparc/sparc-vis.s.cs +0 -2
- data/test/MC/Sparc/sparc64-alu-instructions.s.cs +0 -13
- data/test/MC/Sparc/sparc64-ctrl-instructions.s.cs +0 -102
- data/test/MC/Sparc/sparcv8-instructions.s.cs +0 -7
- data/test/MC/Sparc/sparcv9-instructions.s.cs +0 -1
- data/test/MC/SystemZ/insn-good-z196.s.cs +0 -589
- data/test/MC/SystemZ/insn-good.s.cs +0 -2265
- data/test/MC/SystemZ/regs-good.s.cs +0 -45
- data/test/MC/X86/3DNow.s.cs +0 -29
- data/test/MC/X86/address-size.s.cs +0 -5
- data/test/MC/X86/avx512-encodings.s.cs +0 -12
- data/test/MC/X86/intel-syntax-encoding.s.cs +0 -30
- data/test/MC/X86/x86-32-avx.s.cs +0 -833
- data/test/MC/X86/x86-32-fma3.s.cs +0 -169
- data/test/MC/X86/x86-32-ms-inline-asm.s.cs +0 -27
- data/test/MC/X86/x86_64-avx-clmul-encoding.s.cs +0 -11
- data/test/MC/X86/x86_64-avx-encoding.s.cs +0 -1058
- data/test/MC/X86/x86_64-bmi-encoding.s.cs +0 -51
- data/test/MC/X86/x86_64-encoding.s.cs +0 -59
- data/test/MC/X86/x86_64-fma3-encoding.s.cs +0 -169
- data/test/MC/X86/x86_64-fma4-encoding.s.cs +0 -98
- data/test/MC/X86/x86_64-hle-encoding.s.cs +0 -3
- data/test/MC/X86/x86_64-imm-widths.s.cs +0 -27
- data/test/MC/X86/x86_64-rand-encoding.s.cs +0 -13
- data/test/MC/X86/x86_64-rtm-encoding.s.cs +0 -4
- data/test/MC/X86/x86_64-sse4a.s.cs +0 -1
- data/test/MC/X86/x86_64-tbm-encoding.s.cs +0 -40
- data/test/MC/X86/x86_64-xop-encoding.s.cs +0 -152
- data/test/README +0 -6
- data/test/test.rb +0 -205
- data/test/test.rb.SPEC +0 -235
- data/test/test_arm.rb +0 -202
- data/test/test_arm.rb.SPEC +0 -275
- data/test/test_arm64.rb +0 -150
- data/test/test_arm64.rb.SPEC +0 -116
- data/test/test_detail.rb +0 -228
- data/test/test_detail.rb.SPEC +0 -322
- data/test/test_exhaustive.rb +0 -80
- data/test/test_mips.rb +0 -118
- data/test/test_mips.rb.SPEC +0 -91
- data/test/test_ppc.rb +0 -137
- data/test/test_ppc.rb.SPEC +0 -84
- data/test/test_sanity.rb +0 -83
- data/test/test_skipdata.rb +0 -111
- data/test/test_skipdata.rb.SPEC +0 -58
- data/test/test_sparc.rb +0 -113
- data/test/test_sparc.rb.SPEC +0 -116
- data/test/test_sysz.rb +0 -111
- data/test/test_sysz.rb.SPEC +0 -61
- data/test/test_x86.rb +0 -189
- data/test/test_x86.rb.SPEC +0 -579
- data/test/test_xcore.rb +0 -100
- data/test/test_xcore.rb.SPEC +0 -75
@@ -0,0 +1,785 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# THIS FILE WAS AUTO-GENERATED -- DO NOT EDIT!
|
4
|
+
|
5
|
+
require 'crabstone/arch/register'
|
6
|
+
|
7
|
+
module Crabstone
|
8
|
+
module ARM
|
9
|
+
SFT_INVALID = 0
|
10
|
+
SFT_ASR = 1
|
11
|
+
SFT_LSL = 2
|
12
|
+
SFT_LSR = 3
|
13
|
+
SFT_ROR = 4
|
14
|
+
SFT_RRX = 5
|
15
|
+
SFT_ASR_REG = 6
|
16
|
+
SFT_LSL_REG = 7
|
17
|
+
SFT_LSR_REG = 8
|
18
|
+
SFT_ROR_REG = 9
|
19
|
+
SFT_RRX_REG = 10
|
20
|
+
|
21
|
+
CC_INVALID = 0
|
22
|
+
CC_EQ = 1
|
23
|
+
CC_NE = 2
|
24
|
+
CC_HS = 3
|
25
|
+
CC_LO = 4
|
26
|
+
CC_MI = 5
|
27
|
+
CC_PL = 6
|
28
|
+
CC_VS = 7
|
29
|
+
CC_VC = 8
|
30
|
+
CC_HI = 9
|
31
|
+
CC_LS = 10
|
32
|
+
CC_GE = 11
|
33
|
+
CC_LT = 12
|
34
|
+
CC_GT = 13
|
35
|
+
CC_LE = 14
|
36
|
+
CC_AL = 15
|
37
|
+
|
38
|
+
SYSREG_INVALID = 0
|
39
|
+
SYSREG_SPSR_C = 1
|
40
|
+
SYSREG_SPSR_X = 2
|
41
|
+
SYSREG_SPSR_S = 4
|
42
|
+
SYSREG_SPSR_F = 8
|
43
|
+
SYSREG_CPSR_C = 16
|
44
|
+
SYSREG_CPSR_X = 32
|
45
|
+
SYSREG_CPSR_S = 64
|
46
|
+
SYSREG_CPSR_F = 128
|
47
|
+
SYSREG_APSR = 256
|
48
|
+
SYSREG_APSR_G = 257
|
49
|
+
SYSREG_APSR_NZCVQ = 258
|
50
|
+
SYSREG_APSR_NZCVQG = 259
|
51
|
+
SYSREG_IAPSR = 260
|
52
|
+
SYSREG_IAPSR_G = 261
|
53
|
+
SYSREG_IAPSR_NZCVQG = 262
|
54
|
+
SYSREG_IAPSR_NZCVQ = 263
|
55
|
+
SYSREG_EAPSR = 264
|
56
|
+
SYSREG_EAPSR_G = 265
|
57
|
+
SYSREG_EAPSR_NZCVQG = 266
|
58
|
+
SYSREG_EAPSR_NZCVQ = 267
|
59
|
+
SYSREG_XPSR = 268
|
60
|
+
SYSREG_XPSR_G = 269
|
61
|
+
SYSREG_XPSR_NZCVQG = 270
|
62
|
+
SYSREG_XPSR_NZCVQ = 271
|
63
|
+
SYSREG_IPSR = 272
|
64
|
+
SYSREG_EPSR = 273
|
65
|
+
SYSREG_IEPSR = 274
|
66
|
+
SYSREG_MSP = 275
|
67
|
+
SYSREG_PSP = 276
|
68
|
+
SYSREG_PRIMASK = 277
|
69
|
+
SYSREG_BASEPRI = 278
|
70
|
+
SYSREG_BASEPRI_MAX = 279
|
71
|
+
SYSREG_FAULTMASK = 280
|
72
|
+
SYSREG_CONTROL = 281
|
73
|
+
SYSREG_R8_USR = 282
|
74
|
+
SYSREG_R9_USR = 283
|
75
|
+
SYSREG_R10_USR = 284
|
76
|
+
SYSREG_R11_USR = 285
|
77
|
+
SYSREG_R12_USR = 286
|
78
|
+
SYSREG_SP_USR = 287
|
79
|
+
SYSREG_LR_USR = 288
|
80
|
+
SYSREG_R8_FIQ = 289
|
81
|
+
SYSREG_R9_FIQ = 290
|
82
|
+
SYSREG_R10_FIQ = 291
|
83
|
+
SYSREG_R11_FIQ = 292
|
84
|
+
SYSREG_R12_FIQ = 293
|
85
|
+
SYSREG_SP_FIQ = 294
|
86
|
+
SYSREG_LR_FIQ = 295
|
87
|
+
SYSREG_LR_IRQ = 296
|
88
|
+
SYSREG_SP_IRQ = 297
|
89
|
+
SYSREG_LR_SVC = 298
|
90
|
+
SYSREG_SP_SVC = 299
|
91
|
+
SYSREG_LR_ABT = 300
|
92
|
+
SYSREG_SP_ABT = 301
|
93
|
+
SYSREG_LR_UND = 302
|
94
|
+
SYSREG_SP_UND = 303
|
95
|
+
SYSREG_LR_MON = 304
|
96
|
+
SYSREG_SP_MON = 305
|
97
|
+
SYSREG_ELR_HYP = 306
|
98
|
+
SYSREG_SP_HYP = 307
|
99
|
+
SYSREG_SPSR_FIQ = 308
|
100
|
+
SYSREG_SPSR_IRQ = 309
|
101
|
+
SYSREG_SPSR_SVC = 310
|
102
|
+
SYSREG_SPSR_ABT = 311
|
103
|
+
SYSREG_SPSR_UND = 312
|
104
|
+
SYSREG_SPSR_MON = 313
|
105
|
+
SYSREG_SPSR_HYP = 314
|
106
|
+
|
107
|
+
MB_INVALID = 0
|
108
|
+
MB_RESERVED_0 = 1
|
109
|
+
MB_OSHLD = 2
|
110
|
+
MB_OSHST = 3
|
111
|
+
MB_OSH = 4
|
112
|
+
MB_RESERVED_4 = 5
|
113
|
+
MB_NSHLD = 6
|
114
|
+
MB_NSHST = 7
|
115
|
+
MB_NSH = 8
|
116
|
+
MB_RESERVED_8 = 9
|
117
|
+
MB_ISHLD = 10
|
118
|
+
MB_ISHST = 11
|
119
|
+
MB_ISH = 12
|
120
|
+
MB_RESERVED_12 = 13
|
121
|
+
MB_LD = 14
|
122
|
+
MB_ST = 15
|
123
|
+
MB_SY = 16
|
124
|
+
|
125
|
+
OP_INVALID = 0
|
126
|
+
OP_REG = 1
|
127
|
+
OP_IMM = 2
|
128
|
+
OP_MEM = 3
|
129
|
+
OP_FP = 4
|
130
|
+
OP_CIMM = 64
|
131
|
+
OP_PIMM = 65
|
132
|
+
OP_SETEND = 66
|
133
|
+
OP_SYSREG = 67
|
134
|
+
|
135
|
+
SETEND_INVALID = 0
|
136
|
+
SETEND_BE = 1
|
137
|
+
SETEND_LE = 2
|
138
|
+
|
139
|
+
CPSMODE_INVALID = 0
|
140
|
+
CPSMODE_IE = 2
|
141
|
+
CPSMODE_ID = 3
|
142
|
+
|
143
|
+
CPSFLAG_INVALID = 0
|
144
|
+
CPSFLAG_F = 1
|
145
|
+
CPSFLAG_I = 2
|
146
|
+
CPSFLAG_A = 4
|
147
|
+
CPSFLAG_NONE = 16
|
148
|
+
|
149
|
+
VECTORDATA_INVALID = 0
|
150
|
+
VECTORDATA_I8 = 1
|
151
|
+
VECTORDATA_I16 = 2
|
152
|
+
VECTORDATA_I32 = 3
|
153
|
+
VECTORDATA_I64 = 4
|
154
|
+
VECTORDATA_S8 = 5
|
155
|
+
VECTORDATA_S16 = 6
|
156
|
+
VECTORDATA_S32 = 7
|
157
|
+
VECTORDATA_S64 = 8
|
158
|
+
VECTORDATA_U8 = 9
|
159
|
+
VECTORDATA_U16 = 10
|
160
|
+
VECTORDATA_U32 = 11
|
161
|
+
VECTORDATA_U64 = 12
|
162
|
+
VECTORDATA_P8 = 13
|
163
|
+
VECTORDATA_F32 = 14
|
164
|
+
VECTORDATA_F64 = 15
|
165
|
+
VECTORDATA_F16F64 = 16
|
166
|
+
VECTORDATA_F64F16 = 17
|
167
|
+
VECTORDATA_F32F16 = 18
|
168
|
+
VECTORDATA_F16F32 = 19
|
169
|
+
VECTORDATA_F64F32 = 20
|
170
|
+
VECTORDATA_F32F64 = 21
|
171
|
+
VECTORDATA_S32F32 = 22
|
172
|
+
VECTORDATA_U32F32 = 23
|
173
|
+
VECTORDATA_F32S32 = 24
|
174
|
+
VECTORDATA_F32U32 = 25
|
175
|
+
VECTORDATA_F64S16 = 26
|
176
|
+
VECTORDATA_F32S16 = 27
|
177
|
+
VECTORDATA_F64S32 = 28
|
178
|
+
VECTORDATA_S16F64 = 29
|
179
|
+
VECTORDATA_S16F32 = 30
|
180
|
+
VECTORDATA_S32F64 = 31
|
181
|
+
VECTORDATA_U16F64 = 32
|
182
|
+
VECTORDATA_U16F32 = 33
|
183
|
+
VECTORDATA_U32F64 = 34
|
184
|
+
VECTORDATA_F64U16 = 35
|
185
|
+
VECTORDATA_F32U16 = 36
|
186
|
+
VECTORDATA_F64U32 = 37
|
187
|
+
|
188
|
+
REG_INVALID = 0
|
189
|
+
REG_APSR = 1
|
190
|
+
REG_APSR_NZCV = 2
|
191
|
+
REG_CPSR = 3
|
192
|
+
REG_FPEXC = 4
|
193
|
+
REG_FPINST = 5
|
194
|
+
REG_FPSCR = 6
|
195
|
+
REG_FPSCR_NZCV = 7
|
196
|
+
REG_FPSID = 8
|
197
|
+
REG_ITSTATE = 9
|
198
|
+
REG_LR = 10
|
199
|
+
REG_PC = 11
|
200
|
+
REG_SP = 12
|
201
|
+
REG_SPSR = 13
|
202
|
+
REG_D0 = 14
|
203
|
+
REG_D1 = 15
|
204
|
+
REG_D2 = 16
|
205
|
+
REG_D3 = 17
|
206
|
+
REG_D4 = 18
|
207
|
+
REG_D5 = 19
|
208
|
+
REG_D6 = 20
|
209
|
+
REG_D7 = 21
|
210
|
+
REG_D8 = 22
|
211
|
+
REG_D9 = 23
|
212
|
+
REG_D10 = 24
|
213
|
+
REG_D11 = 25
|
214
|
+
REG_D12 = 26
|
215
|
+
REG_D13 = 27
|
216
|
+
REG_D14 = 28
|
217
|
+
REG_D15 = 29
|
218
|
+
REG_D16 = 30
|
219
|
+
REG_D17 = 31
|
220
|
+
REG_D18 = 32
|
221
|
+
REG_D19 = 33
|
222
|
+
REG_D20 = 34
|
223
|
+
REG_D21 = 35
|
224
|
+
REG_D22 = 36
|
225
|
+
REG_D23 = 37
|
226
|
+
REG_D24 = 38
|
227
|
+
REG_D25 = 39
|
228
|
+
REG_D26 = 40
|
229
|
+
REG_D27 = 41
|
230
|
+
REG_D28 = 42
|
231
|
+
REG_D29 = 43
|
232
|
+
REG_D30 = 44
|
233
|
+
REG_D31 = 45
|
234
|
+
REG_FPINST2 = 46
|
235
|
+
REG_MVFR0 = 47
|
236
|
+
REG_MVFR1 = 48
|
237
|
+
REG_MVFR2 = 49
|
238
|
+
REG_Q0 = 50
|
239
|
+
REG_Q1 = 51
|
240
|
+
REG_Q2 = 52
|
241
|
+
REG_Q3 = 53
|
242
|
+
REG_Q4 = 54
|
243
|
+
REG_Q5 = 55
|
244
|
+
REG_Q6 = 56
|
245
|
+
REG_Q7 = 57
|
246
|
+
REG_Q8 = 58
|
247
|
+
REG_Q9 = 59
|
248
|
+
REG_Q10 = 60
|
249
|
+
REG_Q11 = 61
|
250
|
+
REG_Q12 = 62
|
251
|
+
REG_Q13 = 63
|
252
|
+
REG_Q14 = 64
|
253
|
+
REG_Q15 = 65
|
254
|
+
REG_R0 = 66
|
255
|
+
REG_R1 = 67
|
256
|
+
REG_R2 = 68
|
257
|
+
REG_R3 = 69
|
258
|
+
REG_R4 = 70
|
259
|
+
REG_R5 = 71
|
260
|
+
REG_R6 = 72
|
261
|
+
REG_R7 = 73
|
262
|
+
REG_R8 = 74
|
263
|
+
REG_R9 = 75
|
264
|
+
REG_R10 = 76
|
265
|
+
REG_R11 = 77
|
266
|
+
REG_R12 = 78
|
267
|
+
REG_S0 = 79
|
268
|
+
REG_S1 = 80
|
269
|
+
REG_S2 = 81
|
270
|
+
REG_S3 = 82
|
271
|
+
REG_S4 = 83
|
272
|
+
REG_S5 = 84
|
273
|
+
REG_S6 = 85
|
274
|
+
REG_S7 = 86
|
275
|
+
REG_S8 = 87
|
276
|
+
REG_S9 = 88
|
277
|
+
REG_S10 = 89
|
278
|
+
REG_S11 = 90
|
279
|
+
REG_S12 = 91
|
280
|
+
REG_S13 = 92
|
281
|
+
REG_S14 = 93
|
282
|
+
REG_S15 = 94
|
283
|
+
REG_S16 = 95
|
284
|
+
REG_S17 = 96
|
285
|
+
REG_S18 = 97
|
286
|
+
REG_S19 = 98
|
287
|
+
REG_S20 = 99
|
288
|
+
REG_S21 = 100
|
289
|
+
REG_S22 = 101
|
290
|
+
REG_S23 = 102
|
291
|
+
REG_S24 = 103
|
292
|
+
REG_S25 = 104
|
293
|
+
REG_S26 = 105
|
294
|
+
REG_S27 = 106
|
295
|
+
REG_S28 = 107
|
296
|
+
REG_S29 = 108
|
297
|
+
REG_S30 = 109
|
298
|
+
REG_S31 = 110
|
299
|
+
REG_ENDING = 111
|
300
|
+
REG_R13 = REG_SP
|
301
|
+
REG_R14 = REG_LR
|
302
|
+
REG_R15 = REG_PC
|
303
|
+
REG_SB = REG_R9
|
304
|
+
REG_SL = REG_R10
|
305
|
+
REG_FP = REG_R11
|
306
|
+
REG_IP = REG_R12
|
307
|
+
|
308
|
+
INS_INVALID = 0
|
309
|
+
INS_ADC = 1
|
310
|
+
INS_ADD = 2
|
311
|
+
INS_ADR = 3
|
312
|
+
INS_AESD = 4
|
313
|
+
INS_AESE = 5
|
314
|
+
INS_AESIMC = 6
|
315
|
+
INS_AESMC = 7
|
316
|
+
INS_AND = 8
|
317
|
+
INS_BFC = 9
|
318
|
+
INS_BFI = 10
|
319
|
+
INS_BIC = 11
|
320
|
+
INS_BKPT = 12
|
321
|
+
INS_BL = 13
|
322
|
+
INS_BLX = 14
|
323
|
+
INS_BX = 15
|
324
|
+
INS_BXJ = 16
|
325
|
+
INS_B = 17
|
326
|
+
INS_CDP = 18
|
327
|
+
INS_CDP2 = 19
|
328
|
+
INS_CLREX = 20
|
329
|
+
INS_CLZ = 21
|
330
|
+
INS_CMN = 22
|
331
|
+
INS_CMP = 23
|
332
|
+
INS_CPS = 24
|
333
|
+
INS_CRC32B = 25
|
334
|
+
INS_CRC32CB = 26
|
335
|
+
INS_CRC32CH = 27
|
336
|
+
INS_CRC32CW = 28
|
337
|
+
INS_CRC32H = 29
|
338
|
+
INS_CRC32W = 30
|
339
|
+
INS_DBG = 31
|
340
|
+
INS_DMB = 32
|
341
|
+
INS_DSB = 33
|
342
|
+
INS_EOR = 34
|
343
|
+
INS_ERET = 35
|
344
|
+
INS_VMOV = 36
|
345
|
+
INS_FLDMDBX = 37
|
346
|
+
INS_FLDMIAX = 38
|
347
|
+
INS_VMRS = 39
|
348
|
+
INS_FSTMDBX = 40
|
349
|
+
INS_FSTMIAX = 41
|
350
|
+
INS_HINT = 42
|
351
|
+
INS_HLT = 43
|
352
|
+
INS_HVC = 44
|
353
|
+
INS_ISB = 45
|
354
|
+
INS_LDA = 46
|
355
|
+
INS_LDAB = 47
|
356
|
+
INS_LDAEX = 48
|
357
|
+
INS_LDAEXB = 49
|
358
|
+
INS_LDAEXD = 50
|
359
|
+
INS_LDAEXH = 51
|
360
|
+
INS_LDAH = 52
|
361
|
+
INS_LDC2L = 53
|
362
|
+
INS_LDC2 = 54
|
363
|
+
INS_LDCL = 55
|
364
|
+
INS_LDC = 56
|
365
|
+
INS_LDMDA = 57
|
366
|
+
INS_LDMDB = 58
|
367
|
+
INS_LDM = 59
|
368
|
+
INS_LDMIB = 60
|
369
|
+
INS_LDRBT = 61
|
370
|
+
INS_LDRB = 62
|
371
|
+
INS_LDRD = 63
|
372
|
+
INS_LDREX = 64
|
373
|
+
INS_LDREXB = 65
|
374
|
+
INS_LDREXD = 66
|
375
|
+
INS_LDREXH = 67
|
376
|
+
INS_LDRH = 68
|
377
|
+
INS_LDRHT = 69
|
378
|
+
INS_LDRSB = 70
|
379
|
+
INS_LDRSBT = 71
|
380
|
+
INS_LDRSH = 72
|
381
|
+
INS_LDRSHT = 73
|
382
|
+
INS_LDRT = 74
|
383
|
+
INS_LDR = 75
|
384
|
+
INS_MCR = 76
|
385
|
+
INS_MCR2 = 77
|
386
|
+
INS_MCRR = 78
|
387
|
+
INS_MCRR2 = 79
|
388
|
+
INS_MLA = 80
|
389
|
+
INS_MLS = 81
|
390
|
+
INS_MOV = 82
|
391
|
+
INS_MOVT = 83
|
392
|
+
INS_MOVW = 84
|
393
|
+
INS_MRC = 85
|
394
|
+
INS_MRC2 = 86
|
395
|
+
INS_MRRC = 87
|
396
|
+
INS_MRRC2 = 88
|
397
|
+
INS_MRS = 89
|
398
|
+
INS_MSR = 90
|
399
|
+
INS_MUL = 91
|
400
|
+
INS_MVN = 92
|
401
|
+
INS_ORR = 93
|
402
|
+
INS_PKHBT = 94
|
403
|
+
INS_PKHTB = 95
|
404
|
+
INS_PLDW = 96
|
405
|
+
INS_PLD = 97
|
406
|
+
INS_PLI = 98
|
407
|
+
INS_QADD = 99
|
408
|
+
INS_QADD16 = 100
|
409
|
+
INS_QADD8 = 101
|
410
|
+
INS_QASX = 102
|
411
|
+
INS_QDADD = 103
|
412
|
+
INS_QDSUB = 104
|
413
|
+
INS_QSAX = 105
|
414
|
+
INS_QSUB = 106
|
415
|
+
INS_QSUB16 = 107
|
416
|
+
INS_QSUB8 = 108
|
417
|
+
INS_RBIT = 109
|
418
|
+
INS_REV = 110
|
419
|
+
INS_REV16 = 111
|
420
|
+
INS_REVSH = 112
|
421
|
+
INS_RFEDA = 113
|
422
|
+
INS_RFEDB = 114
|
423
|
+
INS_RFEIA = 115
|
424
|
+
INS_RFEIB = 116
|
425
|
+
INS_RSB = 117
|
426
|
+
INS_RSC = 118
|
427
|
+
INS_SADD16 = 119
|
428
|
+
INS_SADD8 = 120
|
429
|
+
INS_SASX = 121
|
430
|
+
INS_SBC = 122
|
431
|
+
INS_SBFX = 123
|
432
|
+
INS_SDIV = 124
|
433
|
+
INS_SEL = 125
|
434
|
+
INS_SETEND = 126
|
435
|
+
INS_SHA1C = 127
|
436
|
+
INS_SHA1H = 128
|
437
|
+
INS_SHA1M = 129
|
438
|
+
INS_SHA1P = 130
|
439
|
+
INS_SHA1SU0 = 131
|
440
|
+
INS_SHA1SU1 = 132
|
441
|
+
INS_SHA256H = 133
|
442
|
+
INS_SHA256H2 = 134
|
443
|
+
INS_SHA256SU0 = 135
|
444
|
+
INS_SHA256SU1 = 136
|
445
|
+
INS_SHADD16 = 137
|
446
|
+
INS_SHADD8 = 138
|
447
|
+
INS_SHASX = 139
|
448
|
+
INS_SHSAX = 140
|
449
|
+
INS_SHSUB16 = 141
|
450
|
+
INS_SHSUB8 = 142
|
451
|
+
INS_SMC = 143
|
452
|
+
INS_SMLABB = 144
|
453
|
+
INS_SMLABT = 145
|
454
|
+
INS_SMLAD = 146
|
455
|
+
INS_SMLADX = 147
|
456
|
+
INS_SMLAL = 148
|
457
|
+
INS_SMLALBB = 149
|
458
|
+
INS_SMLALBT = 150
|
459
|
+
INS_SMLALD = 151
|
460
|
+
INS_SMLALDX = 152
|
461
|
+
INS_SMLALTB = 153
|
462
|
+
INS_SMLALTT = 154
|
463
|
+
INS_SMLATB = 155
|
464
|
+
INS_SMLATT = 156
|
465
|
+
INS_SMLAWB = 157
|
466
|
+
INS_SMLAWT = 158
|
467
|
+
INS_SMLSD = 159
|
468
|
+
INS_SMLSDX = 160
|
469
|
+
INS_SMLSLD = 161
|
470
|
+
INS_SMLSLDX = 162
|
471
|
+
INS_SMMLA = 163
|
472
|
+
INS_SMMLAR = 164
|
473
|
+
INS_SMMLS = 165
|
474
|
+
INS_SMMLSR = 166
|
475
|
+
INS_SMMUL = 167
|
476
|
+
INS_SMMULR = 168
|
477
|
+
INS_SMUAD = 169
|
478
|
+
INS_SMUADX = 170
|
479
|
+
INS_SMULBB = 171
|
480
|
+
INS_SMULBT = 172
|
481
|
+
INS_SMULL = 173
|
482
|
+
INS_SMULTB = 174
|
483
|
+
INS_SMULTT = 175
|
484
|
+
INS_SMULWB = 176
|
485
|
+
INS_SMULWT = 177
|
486
|
+
INS_SMUSD = 178
|
487
|
+
INS_SMUSDX = 179
|
488
|
+
INS_SRSDA = 180
|
489
|
+
INS_SRSDB = 181
|
490
|
+
INS_SRSIA = 182
|
491
|
+
INS_SRSIB = 183
|
492
|
+
INS_SSAT = 184
|
493
|
+
INS_SSAT16 = 185
|
494
|
+
INS_SSAX = 186
|
495
|
+
INS_SSUB16 = 187
|
496
|
+
INS_SSUB8 = 188
|
497
|
+
INS_STC2L = 189
|
498
|
+
INS_STC2 = 190
|
499
|
+
INS_STCL = 191
|
500
|
+
INS_STC = 192
|
501
|
+
INS_STL = 193
|
502
|
+
INS_STLB = 194
|
503
|
+
INS_STLEX = 195
|
504
|
+
INS_STLEXB = 196
|
505
|
+
INS_STLEXD = 197
|
506
|
+
INS_STLEXH = 198
|
507
|
+
INS_STLH = 199
|
508
|
+
INS_STMDA = 200
|
509
|
+
INS_STMDB = 201
|
510
|
+
INS_STM = 202
|
511
|
+
INS_STMIB = 203
|
512
|
+
INS_STRBT = 204
|
513
|
+
INS_STRB = 205
|
514
|
+
INS_STRD = 206
|
515
|
+
INS_STREX = 207
|
516
|
+
INS_STREXB = 208
|
517
|
+
INS_STREXD = 209
|
518
|
+
INS_STREXH = 210
|
519
|
+
INS_STRH = 211
|
520
|
+
INS_STRHT = 212
|
521
|
+
INS_STRT = 213
|
522
|
+
INS_STR = 214
|
523
|
+
INS_SUB = 215
|
524
|
+
INS_SVC = 216
|
525
|
+
INS_SWP = 217
|
526
|
+
INS_SWPB = 218
|
527
|
+
INS_SXTAB = 219
|
528
|
+
INS_SXTAB16 = 220
|
529
|
+
INS_SXTAH = 221
|
530
|
+
INS_SXTB = 222
|
531
|
+
INS_SXTB16 = 223
|
532
|
+
INS_SXTH = 224
|
533
|
+
INS_TEQ = 225
|
534
|
+
INS_TRAP = 226
|
535
|
+
INS_TST = 227
|
536
|
+
INS_UADD16 = 228
|
537
|
+
INS_UADD8 = 229
|
538
|
+
INS_UASX = 230
|
539
|
+
INS_UBFX = 231
|
540
|
+
INS_UDF = 232
|
541
|
+
INS_UDIV = 233
|
542
|
+
INS_UHADD16 = 234
|
543
|
+
INS_UHADD8 = 235
|
544
|
+
INS_UHASX = 236
|
545
|
+
INS_UHSAX = 237
|
546
|
+
INS_UHSUB16 = 238
|
547
|
+
INS_UHSUB8 = 239
|
548
|
+
INS_UMAAL = 240
|
549
|
+
INS_UMLAL = 241
|
550
|
+
INS_UMULL = 242
|
551
|
+
INS_UQADD16 = 243
|
552
|
+
INS_UQADD8 = 244
|
553
|
+
INS_UQASX = 245
|
554
|
+
INS_UQSAX = 246
|
555
|
+
INS_UQSUB16 = 247
|
556
|
+
INS_UQSUB8 = 248
|
557
|
+
INS_USAD8 = 249
|
558
|
+
INS_USADA8 = 250
|
559
|
+
INS_USAT = 251
|
560
|
+
INS_USAT16 = 252
|
561
|
+
INS_USAX = 253
|
562
|
+
INS_USUB16 = 254
|
563
|
+
INS_USUB8 = 255
|
564
|
+
INS_UXTAB = 256
|
565
|
+
INS_UXTAB16 = 257
|
566
|
+
INS_UXTAH = 258
|
567
|
+
INS_UXTB = 259
|
568
|
+
INS_UXTB16 = 260
|
569
|
+
INS_UXTH = 261
|
570
|
+
INS_VABAL = 262
|
571
|
+
INS_VABA = 263
|
572
|
+
INS_VABDL = 264
|
573
|
+
INS_VABD = 265
|
574
|
+
INS_VABS = 266
|
575
|
+
INS_VACGE = 267
|
576
|
+
INS_VACGT = 268
|
577
|
+
INS_VADD = 269
|
578
|
+
INS_VADDHN = 270
|
579
|
+
INS_VADDL = 271
|
580
|
+
INS_VADDW = 272
|
581
|
+
INS_VAND = 273
|
582
|
+
INS_VBIC = 274
|
583
|
+
INS_VBIF = 275
|
584
|
+
INS_VBIT = 276
|
585
|
+
INS_VBSL = 277
|
586
|
+
INS_VCEQ = 278
|
587
|
+
INS_VCGE = 279
|
588
|
+
INS_VCGT = 280
|
589
|
+
INS_VCLE = 281
|
590
|
+
INS_VCLS = 282
|
591
|
+
INS_VCLT = 283
|
592
|
+
INS_VCLZ = 284
|
593
|
+
INS_VCMP = 285
|
594
|
+
INS_VCMPE = 286
|
595
|
+
INS_VCNT = 287
|
596
|
+
INS_VCVTA = 288
|
597
|
+
INS_VCVTB = 289
|
598
|
+
INS_VCVT = 290
|
599
|
+
INS_VCVTM = 291
|
600
|
+
INS_VCVTN = 292
|
601
|
+
INS_VCVTP = 293
|
602
|
+
INS_VCVTT = 294
|
603
|
+
INS_VDIV = 295
|
604
|
+
INS_VDUP = 296
|
605
|
+
INS_VEOR = 297
|
606
|
+
INS_VEXT = 298
|
607
|
+
INS_VFMA = 299
|
608
|
+
INS_VFMS = 300
|
609
|
+
INS_VFNMA = 301
|
610
|
+
INS_VFNMS = 302
|
611
|
+
INS_VHADD = 303
|
612
|
+
INS_VHSUB = 304
|
613
|
+
INS_VLD1 = 305
|
614
|
+
INS_VLD2 = 306
|
615
|
+
INS_VLD3 = 307
|
616
|
+
INS_VLD4 = 308
|
617
|
+
INS_VLDMDB = 309
|
618
|
+
INS_VLDMIA = 310
|
619
|
+
INS_VLDR = 311
|
620
|
+
INS_VMAXNM = 312
|
621
|
+
INS_VMAX = 313
|
622
|
+
INS_VMINNM = 314
|
623
|
+
INS_VMIN = 315
|
624
|
+
INS_VMLA = 316
|
625
|
+
INS_VMLAL = 317
|
626
|
+
INS_VMLS = 318
|
627
|
+
INS_VMLSL = 319
|
628
|
+
INS_VMOVL = 320
|
629
|
+
INS_VMOVN = 321
|
630
|
+
INS_VMSR = 322
|
631
|
+
INS_VMUL = 323
|
632
|
+
INS_VMULL = 324
|
633
|
+
INS_VMVN = 325
|
634
|
+
INS_VNEG = 326
|
635
|
+
INS_VNMLA = 327
|
636
|
+
INS_VNMLS = 328
|
637
|
+
INS_VNMUL = 329
|
638
|
+
INS_VORN = 330
|
639
|
+
INS_VORR = 331
|
640
|
+
INS_VPADAL = 332
|
641
|
+
INS_VPADDL = 333
|
642
|
+
INS_VPADD = 334
|
643
|
+
INS_VPMAX = 335
|
644
|
+
INS_VPMIN = 336
|
645
|
+
INS_VQABS = 337
|
646
|
+
INS_VQADD = 338
|
647
|
+
INS_VQDMLAL = 339
|
648
|
+
INS_VQDMLSL = 340
|
649
|
+
INS_VQDMULH = 341
|
650
|
+
INS_VQDMULL = 342
|
651
|
+
INS_VQMOVUN = 343
|
652
|
+
INS_VQMOVN = 344
|
653
|
+
INS_VQNEG = 345
|
654
|
+
INS_VQRDMULH = 346
|
655
|
+
INS_VQRSHL = 347
|
656
|
+
INS_VQRSHRN = 348
|
657
|
+
INS_VQRSHRUN = 349
|
658
|
+
INS_VQSHL = 350
|
659
|
+
INS_VQSHLU = 351
|
660
|
+
INS_VQSHRN = 352
|
661
|
+
INS_VQSHRUN = 353
|
662
|
+
INS_VQSUB = 354
|
663
|
+
INS_VRADDHN = 355
|
664
|
+
INS_VRECPE = 356
|
665
|
+
INS_VRECPS = 357
|
666
|
+
INS_VREV16 = 358
|
667
|
+
INS_VREV32 = 359
|
668
|
+
INS_VREV64 = 360
|
669
|
+
INS_VRHADD = 361
|
670
|
+
INS_VRINTA = 362
|
671
|
+
INS_VRINTM = 363
|
672
|
+
INS_VRINTN = 364
|
673
|
+
INS_VRINTP = 365
|
674
|
+
INS_VRINTR = 366
|
675
|
+
INS_VRINTX = 367
|
676
|
+
INS_VRINTZ = 368
|
677
|
+
INS_VRSHL = 369
|
678
|
+
INS_VRSHRN = 370
|
679
|
+
INS_VRSHR = 371
|
680
|
+
INS_VRSQRTE = 372
|
681
|
+
INS_VRSQRTS = 373
|
682
|
+
INS_VRSRA = 374
|
683
|
+
INS_VRSUBHN = 375
|
684
|
+
INS_VSELEQ = 376
|
685
|
+
INS_VSELGE = 377
|
686
|
+
INS_VSELGT = 378
|
687
|
+
INS_VSELVS = 379
|
688
|
+
INS_VSHLL = 380
|
689
|
+
INS_VSHL = 381
|
690
|
+
INS_VSHRN = 382
|
691
|
+
INS_VSHR = 383
|
692
|
+
INS_VSLI = 384
|
693
|
+
INS_VSQRT = 385
|
694
|
+
INS_VSRA = 386
|
695
|
+
INS_VSRI = 387
|
696
|
+
INS_VST1 = 388
|
697
|
+
INS_VST2 = 389
|
698
|
+
INS_VST3 = 390
|
699
|
+
INS_VST4 = 391
|
700
|
+
INS_VSTMDB = 392
|
701
|
+
INS_VSTMIA = 393
|
702
|
+
INS_VSTR = 394
|
703
|
+
INS_VSUB = 395
|
704
|
+
INS_VSUBHN = 396
|
705
|
+
INS_VSUBL = 397
|
706
|
+
INS_VSUBW = 398
|
707
|
+
INS_VSWP = 399
|
708
|
+
INS_VTBL = 400
|
709
|
+
INS_VTBX = 401
|
710
|
+
INS_VCVTR = 402
|
711
|
+
INS_VTRN = 403
|
712
|
+
INS_VTST = 404
|
713
|
+
INS_VUZP = 405
|
714
|
+
INS_VZIP = 406
|
715
|
+
INS_ADDW = 407
|
716
|
+
INS_ASR = 408
|
717
|
+
INS_DCPS1 = 409
|
718
|
+
INS_DCPS2 = 410
|
719
|
+
INS_DCPS3 = 411
|
720
|
+
INS_IT = 412
|
721
|
+
INS_LSL = 413
|
722
|
+
INS_LSR = 414
|
723
|
+
INS_ORN = 415
|
724
|
+
INS_ROR = 416
|
725
|
+
INS_RRX = 417
|
726
|
+
INS_SUBW = 418
|
727
|
+
INS_TBB = 419
|
728
|
+
INS_TBH = 420
|
729
|
+
INS_CBNZ = 421
|
730
|
+
INS_CBZ = 422
|
731
|
+
INS_POP = 423
|
732
|
+
INS_PUSH = 424
|
733
|
+
INS_NOP = 425
|
734
|
+
INS_YIELD = 426
|
735
|
+
INS_WFE = 427
|
736
|
+
INS_WFI = 428
|
737
|
+
INS_SEV = 429
|
738
|
+
INS_SEVL = 430
|
739
|
+
INS_VPUSH = 431
|
740
|
+
INS_VPOP = 432
|
741
|
+
INS_ENDING = 433
|
742
|
+
|
743
|
+
GRP_INVALID = 0
|
744
|
+
GRP_JUMP = 1
|
745
|
+
GRP_CALL = 2
|
746
|
+
GRP_INT = 4
|
747
|
+
GRP_PRIVILEGE = 6
|
748
|
+
GRP_BRANCH_RELATIVE = 7
|
749
|
+
GRP_CRYPTO = 128
|
750
|
+
GRP_DATABARRIER = 129
|
751
|
+
GRP_DIVIDE = 130
|
752
|
+
GRP_FPARMV8 = 131
|
753
|
+
GRP_MULTPRO = 132
|
754
|
+
GRP_NEON = 133
|
755
|
+
GRP_T2EXTRACTPACK = 134
|
756
|
+
GRP_THUMB2DSP = 135
|
757
|
+
GRP_TRUSTZONE = 136
|
758
|
+
GRP_V4T = 137
|
759
|
+
GRP_V5T = 138
|
760
|
+
GRP_V5TE = 139
|
761
|
+
GRP_V6 = 140
|
762
|
+
GRP_V6T2 = 141
|
763
|
+
GRP_V7 = 142
|
764
|
+
GRP_V8 = 143
|
765
|
+
GRP_VFP2 = 144
|
766
|
+
GRP_VFP3 = 145
|
767
|
+
GRP_VFP4 = 146
|
768
|
+
GRP_ARM = 147
|
769
|
+
GRP_MCLASS = 148
|
770
|
+
GRP_NOTMCLASS = 149
|
771
|
+
GRP_THUMB = 150
|
772
|
+
GRP_THUMB1ONLY = 151
|
773
|
+
GRP_THUMB2 = 152
|
774
|
+
GRP_PREV8 = 153
|
775
|
+
GRP_FPVMLX = 154
|
776
|
+
GRP_MULOPS = 155
|
777
|
+
GRP_CRC = 156
|
778
|
+
GRP_DPVFP = 157
|
779
|
+
GRP_V6M = 158
|
780
|
+
GRP_VIRTUALIZATION = 159
|
781
|
+
GRP_ENDING = 160
|
782
|
+
|
783
|
+
extend Register
|
784
|
+
end
|
785
|
+
end
|