Created
November 28, 2012 08:19
-
-
Save 7shi/4159838 to your computer and use it in GitHub Desktop.
AArch64(ARM64) mnemonics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| abs | |
| adc | |
| adcs | |
| add | |
| addhn | |
| addhn2 | |
| addp | |
| adds | |
| addv | |
| adr | |
| adrp | |
| aesd | |
| aese | |
| aesimc | |
| aesmc | |
| and | |
| ands | |
| asr | |
| at | |
| b | |
| b.eq | |
| bfi | |
| bfxil | |
| bic | |
| bics | |
| bif | |
| bit | |
| bl | |
| blr | |
| br | |
| brk | |
| bsl | |
| cbnz | |
| cbz | |
| ccmn | |
| ccmp | |
| cinc | |
| cinv | |
| cls | |
| clz | |
| cmeq | |
| cmge | |
| cmgt | |
| cmhi | |
| cmhs | |
| cmle | |
| cmlt | |
| cmtst | |
| cneg | |
| cnt | |
| csel | |
| csinc | |
| csinv | |
| csneg | |
| dup | |
| eon | |
| eor | |
| ext | |
| extr | |
| fabd | |
| fabs | |
| facge | |
| facgt | |
| fadd | |
| faddp | |
| fccmp | |
| fcmeq | |
| fcmge | |
| fcmgt | |
| fcmle | |
| fcmlt | |
| fcmp | |
| fcsel | |
| fcvt | |
| fcvtas | |
| fcvtau | |
| fcvtl | |
| fcvtl2 | |
| fcvtms | |
| fcvtmu | |
| fcvtn | |
| fcvtn2 | |
| fcvtns | |
| fcvtnu | |
| fcvtps | |
| fcvtpu | |
| fcvtxn | |
| fcvtxn2 | |
| fcvtzs | |
| fcvtzu | |
| fdiv | |
| fmadd | |
| fmax | |
| fmaxnm | |
| fmaxnmp | |
| fmaxnmv | |
| fmaxp | |
| fmaxv | |
| fmin | |
| fminnm | |
| fminnmp | |
| fminnmv | |
| fminp | |
| fminv | |
| fmla | |
| fmls | |
| fmov | |
| fmsub | |
| fmul | |
| fmulx | |
| fneg | |
| fnmadd | |
| fnmsub | |
| fnmul | |
| frecpe | |
| frecps | |
| frecpx | |
| frinta | |
| frinti | |
| frintm | |
| frintn | |
| frintp | |
| frintx | |
| frintz | |
| frsqrte | |
| frsqrts | |
| fsqrt | |
| fsub | |
| hlt | |
| ic | |
| ld1 | |
| ld1r | |
| ld2 | |
| ld2r | |
| ld3 | |
| ld3r | |
| ld4 | |
| ld4r | |
| ldar | |
| ldarb | |
| ldarh | |
| ldaxp | |
| ldaxr | |
| ldaxrb | |
| ldaxrh | |
| ldnp | |
| ldp | |
| ldpsw | |
| ldr | |
| ldrb | |
| ldrh | |
| ldrsb | |
| ldrsh | |
| ldrsw | |
| ldtr | |
| ldtrb | |
| ldtrh | |
| ldtrsb | |
| ldtrsh | |
| ldtrsw | |
| ldur | |
| ldurb | |
| ldurh | |
| ldursb | |
| ldursh | |
| ldursw | |
| ldxp | |
| ldxr | |
| ldxrb | |
| ldxrh | |
| lsl | |
| lsr | |
| madd | |
| mla | |
| mls | |
| mneg | |
| mov | |
| movi | |
| movk | |
| movn | |
| movz | |
| mrs | |
| msr | |
| msub | |
| mul | |
| mvn | |
| mvni | |
| neg | |
| orn | |
| orr | |
| pmul | |
| pmull | |
| pmull2 | |
| prfm | |
| prfum | |
| raddhn | |
| raddhn2 | |
| rbit | |
| ret | |
| rev | |
| rev16 | |
| rev32 | |
| rev64 | |
| ror | |
| rshrn | |
| rshrn2 | |
| rsubhn | |
| rsubhn2 | |
| saba | |
| sabal | |
| sabal2 | |
| sabd | |
| sabdl | |
| sabdl2 | |
| sadalp | |
| saddl | |
| saddl2 | |
| saddlp | |
| saddlv | |
| saddw | |
| saddw2 | |
| sbc | |
| sbcs | |
| sbfiz | |
| sbfx | |
| scvtf | |
| sdiv | |
| sha1c | |
| sha1h | |
| sha1m | |
| sha1p | |
| sha1su0 | |
| sha1su1 | |
| sha256h | |
| sha256h2 | |
| sha256su0 | |
| sha256su1 | |
| shadd | |
| shl | |
| shll | |
| shll2 | |
| shrn | |
| shrn2 | |
| shsub | |
| sli | |
| smaddl | |
| smax | |
| smaxp | |
| smaxv | |
| smin | |
| sminp | |
| sminv | |
| smlal | |
| smlal2 | |
| smlsl | |
| smlsl2 | |
| smnegl | |
| smov | |
| smsubl | |
| smulh | |
| smull | |
| smull2 | |
| sqabs | |
| sqadd | |
| sqdmlal | |
| sqdmlal2 | |
| sqdmlsl | |
| sqdmlsl2 | |
| sqdmulh | |
| sqdmull | |
| sqdmull2 | |
| sqneg | |
| sqrdmulh | |
| sqrshl | |
| sqrshrn | |
| sqrshrn2 | |
| sqrshrun | |
| sqrshrun2 | |
| sqshl | |
| sqshlu | |
| sqshrn | |
| sqshrn2 | |
| sqshrun | |
| sqshrun2 | |
| sqsub | |
| sqxtn | |
| sqxtn2 | |
| sqxtun | |
| sqxtun2 | |
| srhadd | |
| sri | |
| srshl | |
| srshr | |
| srsra | |
| sshl | |
| sshll | |
| sshll2 | |
| sshr | |
| ssra | |
| ssubl | |
| ssubl2 | |
| ssubw | |
| ssubw2 | |
| st1 | |
| st2 | |
| st3 | |
| st4 | |
| stlr | |
| stlrb | |
| stlrh | |
| stlxp | |
| stlxr | |
| stlxrb | |
| stlxrh | |
| stnp | |
| stp | |
| str | |
| strb | |
| strh | |
| sttr | |
| sttrb | |
| sttrh | |
| stur | |
| sturb | |
| sturh | |
| stxp | |
| stxr | |
| stxrb | |
| stxrh | |
| sub | |
| subhn | |
| subhn2 | |
| subs | |
| suqadd | |
| sxtb | |
| sxth | |
| sxtw | |
| sys | |
| sysl | |
| tbl | |
| tbnz | |
| tbx | |
| tbz | |
| tlbi | |
| trn1 | |
| trn2 | |
| uaba | |
| uabal | |
| uabal2 | |
| uabd | |
| uabdl | |
| uabdl2 | |
| uadalp | |
| uaddl | |
| uaddl2 | |
| uaddlp | |
| uaddlv | |
| uaddw | |
| uaddw2 | |
| ubfiz | |
| ubfx | |
| ucvtf | |
| udiv | |
| uhadd | |
| uhsub | |
| umaddl | |
| umax | |
| umaxp | |
| umaxv | |
| umin | |
| uminp | |
| uminv | |
| umlal | |
| umlal2 | |
| umlsl | |
| umlsl2 | |
| umnegl | |
| umov | |
| umsubl | |
| umulh | |
| umull | |
| umull2 | |
| uqadd | |
| uqrshl | |
| uqrshrn | |
| uqrshrn2 | |
| uqshl | |
| uqshrn | |
| uqshrn2 | |
| uqsub | |
| uqxtn | |
| uqxtn2 | |
| urecpe | |
| urhadd | |
| urshl | |
| urshr | |
| ursqrte | |
| ursra | |
| ushl | |
| ushll | |
| ushll2 | |
| ushr | |
| usqadd | |
| usra | |
| usubl | |
| usubl2 | |
| usubw | |
| usubw2 | |
| uxtb | |
| uxth | |
| uzp1 | |
| uzp2 | |
| xtn | |
| xtn2 | |
| zip1 | |
| zip2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| perl gen.pl > test.s | |
| aarch64-elf-as -o test.o test.s | |
| aarch64-elf-objdump -d test.o > test.txt | |
| grep -v '\.inst' < test.txt > test2.txt | |
| perl mnemonic.pl < test2.txt > __inst.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $len = 256 * 256 * 256; | |
| for ($i = 0; $i < $len; $i++) { | |
| printf(".word 0x%06x00\n", $i); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| while (<>) { | |
| @d = split(/\t/); | |
| if ($#d >= 2) { | |
| $insts{$d[2]} = 1; | |
| } | |
| } | |
| foreach $inst(sort(keys(%insts))) { | |
| print $inst, "\n"; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment