ops.h (1818B)
1 /* arithmetic and bits */ 2 OP(IADD, "add") 3 OP(ISUB, "sub") 4 OP(INEG, "neg") 5 OP(IDIV, "div") 6 OP(IMUL, "mul") 7 OP(IUDIV, "udiv") 8 OP(IREM, "rem") 9 OP(IUREM, "urem") 10 OP(IOR, "or") 11 OP(IXOR, "xor") 12 OP(IAND, "and") 13 OP(ISAR, "sar") 14 OP(ISHR, "shr") 15 OP(ISHL, "shl") 16 17 /* memory */ 18 OP(ISTORED, "stored") 19 OP(ISTORES, "stores") 20 OP(ISTOREL, "storel") 21 OP(ISTOREW, "storew") 22 OP(ISTOREH, "storeh") 23 OP(ISTOREB, "storeb") 24 OP(ILOADD, "loadd") 25 OP(ILOADS, "loads") 26 OP(ILOADL, "loadl") 27 OP(ILOADW, "loadw") 28 OP(ILOADSH, "loadsh") 29 OP(ILOADUH, "loaduh") 30 OP(ILOADSB, "loadsb") 31 OP(ILOADUB, "loadub") 32 OP(IALLOC4, "alloc4") 33 OP(IALLOC8, "alloc8") 34 OP(IALLOC16, "alloc16") 35 36 /* comparisons */ 37 OP(ICEQW, "ceqw") 38 OP(ICNEW, "cnew") 39 OP(ICSLEW, "cslew") 40 OP(ICSLTW, "csltw") 41 OP(ICSGEW, "csgew") 42 OP(ICSGTW, "csgtw") 43 OP(ICULEW, "culew") 44 OP(ICULTW, "cultw") 45 OP(ICUGEW, "cugew") 46 OP(ICUGTW, "cugtw") 47 48 OP(ICEQL, "ceql") 49 OP(ICNEL, "cnel") 50 OP(ICSLEL, "cslel") 51 OP(ICSLTL, "csltl") 52 OP(ICSGEL, "csgel") 53 OP(ICSGTL, "csgtl") 54 OP(ICULEL, "culel") 55 OP(ICULTL, "cultl") 56 OP(ICUGEL, "cugel") 57 OP(ICUGTL, "cugtl") 58 59 OP(ICEQS, "ceqs") 60 OP(ICNES, "cnes") 61 OP(ICLES, "cles") 62 OP(ICLTS, "clts") 63 OP(ICGES, "cges") 64 OP(ICGTS, "cgts") 65 OP(ICOS, "cos") 66 OP(ICUOS, "cuos") 67 68 OP(ICEQD, "ceqd") 69 OP(ICNED, "cned") 70 OP(ICLED, "cled") 71 OP(ICLTD, "cltd") 72 OP(ICGED, "cged") 73 OP(ICGTD, "cgtd") 74 OP(ICOD, "cod") 75 OP(ICUOD, "cuod") 76 77 /* conversions */ 78 OP(IEXTSW, "extsw") 79 OP(IEXTUW, "extuw") 80 OP(IEXTSH, "extsh") 81 OP(IEXTUH, "extuh") 82 OP(IEXTSB, "extsb") 83 OP(IEXTUB, "extub") 84 OP(IEXTS, "exts") 85 OP(ITRUNCD, "truncd") 86 OP(ISTOSI, "stosi") 87 OP(ISTOUI, "stoui") 88 OP(IDTOSI, "dtosi") 89 OP(IDTOUI, "dtoui") 90 OP(ISWTOF, "swtof") 91 OP(IUWTOF, "uwtof") 92 OP(ISLTOF, "sltof") 93 OP(IULTOF, "ultof") 94 95 /* cast and copy */ 96 OP(ICAST, "cast") 97 OP(ICOPY, "copy") 98 99 /* call */ 100 OP(ICALL, "call") 101 102 /* variadic */ 103 OP(IVASTART, "vastart") 104 OP(IVAARG, "vaarg")