1 #ifndef OPCODES_H 2 #define OPCODES_H 3 4 /* Macro definitions for opcodes that are not generally available and may 5 require extra facilities to be installed. These macros expand into a 6 character string suitable for inclusion in an extended ASM statement 7 in GCC. The macros generate .short and .long directives to encode the 8 instruction. Those directives are available in all versions of binutils. 9 10 Opcode macros have as many arguments as the opcode has variable fields. 11 The fields appear in the argument list in the same order as in the opcode 12 definition from left to right. 13 14 The values to be encoded in those fields must be integer values in 15 hexadecimal notation without a leading 0x. E.g. FLOGR(3,4) or 16 NIHF(3,00001234) 17 */ 18 19 #define RIL_RI(op1,r1,op2,i2) \ 20 ".short 0x" #op1 #r1 #op2 "\n\t" \ 21 ".long 0x" #i2 "\n\t" 22 #define RIE_RRI0(op1,r1,r3,i2,u0,op2) \ 23 ".short 0x" #op1 #r1 #r3 "\n\t" \ 24 ".long 0x" #i2 #u0 #op2 "\n\t" 25 #define RRF_R0RR2(op,r3,u0,r1,r2) ".long 0x" #op #r3 #u0 #r1 #r2 "\n\t" 26 #define SIY_IRD(op1,i2,b1,dl1,dh1,op2) \ 27 ".short 0x" #op1 #i2 "\n\t" \ 28 ".long 0x" #b1 #dl1 #dh1 #op2 "\n\t" 29 #define RXY_RRRD(op1,r1,x2,b2,dl2,dh2,op2) \ 30 ".short 0x" #op1 #r1 #x2 "\n\t" \ 31 ".long 0x" #b2 #dl2 #dh2 #op2 "\n\t" 32 #define RIL_RU(op1,r1,op2,i2) \ 33 ".short 0x" #op1 #r1 #op2 "\n\t" \ 34 ".long 0x" #i2 "\n\t" 35 #define RIL_RP(op1,r1,op2,i2) \ 36 ".short 0x" #op1 #r1 #op2 "\n\t" \ 37 ".long 0x" #i2 "\n\t" 38 #define SIL_RDI(op,b1,d1,i2) \ 39 ".short 0x" #op "\n\t" \ 40 ".long 0x" #b1 #d1 #i2 "\n\t" 41 #define RIS_RURDI(op1,r1,m3,b4,d4,i2,op2) \ 42 ".short 0x" #op1 #r1 #m3 "\n\t" \ 43 ".long 0x" #b4 #d4 #i2 #op2 "\n\t" 44 #define RIE_RUPI(op1,r1,m3,i4,i2,op2) \ 45 ".short 0x" #op1 #r1 #m3 "\n\t" \ 46 ".long 0x" #i4 #i2 #op2 "\n\t" 47 #define RRS(op1,r1,r2,b4,d4,m3,u0,op2) \ 48 ".short 0x" #op1 #r1 #r2 "\n\t" \ 49 ".long 0x" #b4 #d4 #m3 #u0 #op2 "\n\t" 50 #define RIE_RRPU(op1,r1,r2,i4,m3,u0,op2) \ 51 ".short 0x" #op1 #r1 #r2 "\n\t" \ 52 ".long 0x" #i4 #m3 #u0 #op2 "\n\t" 53 #define RRE_RR(op,u0,r1,r2) ".long 0x" #op #u0 #r1 #r2 "\n\t" 54 #define RRE_RERE(op,r1,r2) ".long 0x" #op "00" #r1 #r2 "\n\t" 55 #define RRE_R0(op,r1) ".long 0x" #op "00" #r1 "0" "\n\t" 56 #define SIL_RDU(op,b1,d1,i2) \ 57 ".short 0x" #op "\n\t" \ 58 ".long 0x" #b1 #d1 #i2 "\n\t" 59 #define RIS_RURDU(op1,r1,m3,b4,d4,i2,op2) \ 60 ".short 0x" #op1 #r1 #m3 "\n\t" \ 61 ".long 0x" #b4 #d4 #i2 #op2 "\n\t" 62 #define RIE_RUPU(op1,r1,m3,i4,i2,op2) \ 63 ".short 0x" #op1 #r1 #m3 "\n\t" \ 64 ".long 0x" #i4 #i2 #op2 "\n\t" 65 #define SIY_URD(op1,i2,b1,dl1,dh1,op2) \ 66 ".short 0x" #op1 #i2 "\n\t" \ 67 ".long 0x" #b1 #dl1 #dh1 #op2 "\n\t" 68 #define RSY_RURD(op1,r1,r3,b2,dl2,dh2,op2) \ 69 ".short 0x" #op1 #r1 #r3 "\n\t" \ 70 ".long 0x" #b2 #dl2 #dh2 #op2 "\n\t" 71 #define RRF_F0FF2(op,r3,u0,r1,r2) ".long 0x" #op #r3 #u0 #r1 #r2 "\n\t" 72 #define RRF_FUFF2(op,r3,m4,r1,r2) ".long 0x" #op #r3 #m4 #r1 #r2 "\n\t" 73 #define RRF_UUFR(op,m3,m4,r1,r2) ".long 0x" #op #m3 #m4 #r1 #r2 "\n\t" 74 #define RRF_UURF(op,m3,m4,r1,r2) ".long 0x" #op #m3 #m4 #r1 #r2 "\n\t" 75 76 #define RSY_RRRD(op1,r1,r3,b2,dl2,dh2,op2) \ 77 ".short 0x" #op1 #r1 #r3 "\n\t" \ 78 ".long 0x" #b2 #dl2 #dh2 #op2 "\n\t" 79 #define RSY_AARD(op1,r1,r3,b2,dl2,dh2,op2) \ 80 ".short 0x" #op1 #r1 #r3 "\n\t" \ 81 ".long 0x" #b2 #dl2 #dh2 #op2 "\n\t" 82 #define RRE_FF(op,u0,r1,r2) ".long 0x" #op #u0 #r1 #r2 "\n\t" 83 #define RRE_FR(op,u0,r1,r2) ".long 0x" #op #u0 #r1 #r2 "\n\t" 84 #define RXY_FRRD(op1,r1,x2,b2,dl2,dh2,op2) \ 85 ".short 0x" #op1 #r1 #x2 "\n\t" \ 86 ".long 0x" #b2 #dl2 #dh2 #op2 "\n\t" 87 #define RRE_RF(op,u0,r1,r2) ".long 0x" #op #u0 #r1 #r2 "\n\t" 88 #define RSY_RDRM(op1,r1,r3,b2,dl2,dh2,op2) \ 89 ".short 0x" #op1 #r1 #r3 "\n\t" \ 90 ".long 0x" #b2 #dl2 #dh2 #op2 "\n\t" 91 #define RRF_U0RR(op,r3,u0,r1,r2) ".long 0x" #op #r3 #u0 #r1 #r2 "\n\t" 92 #define RXY_URRD(op1,r1,x2,b2,dl2,dh2,op2) \ 93 ".short 0x" #op1 #r1 #x2 "\n\t" \ 94 ".long 0x" #b2 #dl2 #dh2 #op2 "\n\t" 95 #define RIL_UP(op1,r1,op2,i2) \ 96 ".short 0x" #op1 #r1 #op2 "\n\t" \ 97 ".long 0x" #i2 "\n\t" 98 #define RIE_RRUUU(op1,r1,r2,i3,i4,i5,op2) \ 99 ".short 0x" #op1 #r1 #r2 "\n\t" \ 100 ".long 0x" #i3 #i4 #i5 #op2 "\n\t" 101 #define RRF_M0RERE(op,m3,r1,r2) ".long 0x" #op #m3 "0" #r1 #r2 "\n\t" 102 #define S_RD(op,b2,d2) ".long 0x" #op #b2 #d2 "\n\t" 103 104 #define ADTRA(r3,m4,r1,r2) RRF_FUFF2(b3d2,r3,m4,r1,r2) 105 #define AFI(r1,i2) RIL_RI(c2,r1,9,i2) 106 #define AGFI(r1,i2) RIL_RI(c2,r1,8,i2) 107 #define AGHIK(r1,r3,i2) RIE_RRI0(ec,r1,r3,i2,00,d9) 108 #define AGRK(r3,r1,r2) RRF_R0RR2(b9e8,r3,0,r1,r2) 109 #define AGSI(i2,b1,dl1,dh1) SIY_IRD(eb,i2,b1,dl1,dh1,7a) 110 #define AHHHR(r3,r1,r2) RRF_R0RR2(b9c8,r3,0,r1,r2) 111 #define AHHLR(r3,r1,r2) RRF_R0RR2(b9d8,r3,0,r1,r2) 112 #define AHIK(r1,r3,i2) RIE_RRI0(ec,r1,r3,i2,00,d8) 113 #define AHY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,7a) 114 #define AIH(r1,i2) RIL_RI(cc,r1,8,i2) 115 #define ALFI(r1,i2) RIL_RU(c2,r1,b,i2) 116 #define ALGFI(r1,i2) RIL_RU(c2,r1,a,i2) 117 #define ALGHSIK(r1,r3,i2) RIE_RRI0(ec,r1,r3,i2,00,db) 118 #define ALGRK(r3,r1,r2) RRF_R0RR2(b9ea,r3,0,r1,r2) 119 #define ALGSI(i2,b1,dl1,dh1) SIY_IRD(eb,i2,b1,dl1,dh1,7e) 120 #define ALHHHR(r3,r1,r2) RRF_R0RR2(b9ca,r3,0,r1,r2) 121 #define ALHHLR(r3,r1,r2) RRF_R0RR2(b9da,r3,0,r1,r2) 122 #define ALHSIK(r1,r3,i2) RIE_RRI0(ec,r1,r3,i2,00,da) 123 #define ALRK(r3,r1,r2) RRF_R0RR2(b9fa,r3,0,r1,r2) 124 #define ALSI(i2,b1,dl1,dh1) SIY_IRD(eb,i2,b1,dl1,dh1,6e) 125 #define ALSIH(r1,i2) RIL_RI(cc,r1,a,i2) 126 #define ALSIHN(r1,i2) RIL_RI(cc,r1,b,i2) 127 #define ALY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,5e) 128 #define ARK(r3,r1,r2) RRF_R0RR2(b9f8,r3,0,r1,r2) 129 #define ASI(i2,b1,dl1,dh1) SIY_IRD(eb,i2,b1,dl1,dh1,6a) 130 #define AXTRA(r3,m4,r1,r2) RRF_FUFF2(b3da,r3,m4,r1,r2) 131 #define AY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,5a) 132 #define CDFBRA(m3,m4,r1,r2) RRF_UUFR(b395,m3,m4,r1,r2) 133 #define CDFTR(m3,m4,r1,r2) RRF_UUFR(b951,m3,m4,r1,r2) 134 #define CDGBRA(m3,m4,r1,r2) RRF_UUFR(b3a5,m3,m4,r1,r2) 135 #define CDGTRA(m3,m4,r1,r2) RRF_UUFR(b3f1,m3,m4,r1,r2) 136 #define CDLFBR(m3,m4,r1,r2) RRF_UUFR(b391,m3,m4,r1,r2) 137 #define CDLFTR(m3,m4,r1,r2) RRF_UUFR(b953,m3,m4,r1,r2) 138 #define CDLGBR(m3,m4,r1,r2) RRF_UUFR(b3a1,m3,m4,r1,r2) 139 #define CDLGTR(m3,m4,r1,r2) RRF_UUFR(b952,m3,m4,r1,r2) 140 #define CDTR(r1,r2) RRE_RERE(b3e4,r1,r2) 141 #define CEDTR(r1,r2) RRE_RERE(b3f4,r1,r2) 142 #define CEFBRA(m3,m4,r1,r2) RRF_UUFR(b394,m3,m4,r1,r2) 143 #define CEGBRA(m3,m4,r1,r2) RRF_UUFR(b3a4,m3,m4,r1,r2) 144 #define CELFBR(m3,m4,r1,r2) RRF_UUFR(b390,m3,m4,r1,r2) 145 #define CELGBR(m3,m4,r1,r2) RRF_UUFR(b3a0,m3,m4,r1,r2) 146 #define CEXTR(r1,r2) RRE_RERE(b3fc,r1,r2) 147 #define CFEBRA(m3,m4,r1,r2) RRF_UURF(b398,m3,m4,r1,r2) 148 #define CFDBRA(m3,m4,r1,r2) RRF_UURF(b399,m3,m4,r1,r2) 149 #define CFDTR(m3,m4,r1,r2) RRF_UURF(b941,m3,m4,r1,r2) 150 #define CFI(r1,i2) RIL_RI(c2,r1,d,i2) 151 #define CFXBRA(m3,m4,r1,r2) RRF_UURF(b39a,m3,m4,r1,r2) 152 #define CFXTR(m3,m4,r1,r2) RRF_UURF(b949,m3,m4,r1,r2) 153 #define CGDBRA(m3,m4,r1,r2) RRF_UURF(b3a9,m3,m4,r1,r2) 154 #define CGDTRA(m3,m4,r1,r2) RRF_UURF(b3e1,m3,m4,r1,r2) 155 #define CGEBRA(m3,m4,r1,r2) RRF_UURF(b3a8,m3,m4,r1,r2) 156 #define CGFI(r1,i2) RIL_RI(c2,r1,c,i2) 157 #define CGFRL(r1,i2) RIL_RP(c6,r1,c,i2) 158 #define CGH(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,34) 159 #define CGHRL(r1,i2) RIL_RP(c6,r1,4,i2) 160 #define CGHSI(b1,d1,i2) SIL_RDI(e558,b1,d1,i2) 161 #define CGIB(r1,m3,b4,d4,i2) RIS_RURDI(ec,r1,m3,b4,d4,i2,fc) 162 #define CGIJ(r1,m3,i4,i2) RIE_RUPI(ec,r1,m3,i4,i2,7c) 163 #define CGRB(r1,r2,b4,d4,m3) RRS(ec,r1,r2,b4,d4,m3,0,e4) 164 #define CGRJ(r1,r2,i4,m3) RIE_RRPU(ec,r1,r2,i4,m3,0,64) 165 #define CGRL(r1,i2) RIL_RP(c6,r1,8,i2) 166 #define CGXBRA(m3,m4,r1,r2) RRF_UURF(b3aa,m3,m4,r1,r2) 167 #define CGXTRA(m3,m4,r1,r2) RRF_UURF(b3e9,m3,m4,r1,r2) 168 #define CHF(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,cd) 169 #define CHHR(r1,r2) RRE_RR(b9cd,00,r1,r2) 170 #define CHHSI(b1,d1,i2) SIL_RDI(e554,b1,d1,i2) 171 #define CHLR(r1,r2) RRE_RR(b9dd,00,r1,r2) 172 #define CHRL(r1,i2) RIL_RP(c6,r1,5,i2) 173 #define CHSI(b1,d1,i2) SIL_RDI(e55c,b1,d1,i2) 174 #define CHY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,79) 175 #define CIB(r1,m3,b4,d4,i2) RIS_RURDI(ec,r1,m3,b4,d4,i2,fe) 176 #define CIH(r1,i2) RIL_RI(cc,r1,d,i2) 177 #define CIJ(r1,m3,i4,i2) RIE_RUPI(ec,r1,m3,i4,i2,7e) 178 #define CLFEBR(m3,m4,r1,r2) RRF_UURF(b39c,m3,m4,r1,r2) 179 #define CLFDBR(m3,m4,r1,r2) RRF_UURF(b39d,m3,m4,r1,r2) 180 #define CLFDTR(m3,m4,r1,r2) RRF_UURF(b943,m3,m4,r1,r2) 181 #define CLFXBR(m3,m4,r1,r2) RRF_UURF(b39e,m3,m4,r1,r2) 182 #define CLFXTR(m3,m4,r1,r2) RRF_UURF(b94b,m3,m4,r1,r2) 183 #define CLFHSI(b1,d1,i2) SIL_RDU(e55d,b1,d1,i2) 184 #define CLFI(r1,i2) RIL_RU(c2,r1,f,i2) 185 #define CLGDBR(m3,m4,r1,r2) RRF_UURF(b3ad,m3,m4,r1,r2) 186 #define CLGDTR(m3,m4,r1,r2) RRF_UURF(b942,m3,m4,r1,r2) 187 #define CLGEBR(m3,m4,r1,r2) RRF_UURF(b3ac,m3,m4,r1,r2) 188 #define CLGFI(r1,i2) RIL_RU(c2,r1,e,i2) 189 #define CLGFRL(r1,i2) RIL_RP(c6,r1,e,i2) 190 #define CLGHRL(r1,i2) RIL_RP(c6,r1,6,i2) 191 #define CLGHSI(b1,d1,i2) SIL_RDU(e559,b1,d1,i2) 192 #define CLGIB(r1,m3,b4,d4,i2) RIS_RURDU(ec,r1,m3,b4,d4,i2,fd) 193 #define CLGIJ(r1,m3,i4,i2) RIE_RUPU(ec,r1,m3,i4,i2,7d) 194 #define CLGRB(r1,r2,b4,d4,m3) RRS(ec,r1,r2,b4,d4,m3,0,e5) 195 #define CLGRJ(r1,r2,i4,m3) RIE_RRPU(ec,r1,r2,i4,m3,0,65) 196 #define CLGRL(r1,i2) RIL_RP(c6,r1,a,i2) 197 #define CLGXBR(m3,m4,r1,r2) RRF_UURF(b3ae,m3,m4,r1,r2) 198 #define CLGXTR(m3,m4,r1,r2) RRF_UURF(b94a,m3,m4,r1,r2) 199 #define CLHF(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,cf) 200 #define CLHHR(r1,r2) RRE_RR(b9cf,00,r1,r2) 201 #define CLHHSI(b1,d1,i2) SIL_RDU(e555,b1,d1,i2) 202 #define CLHLR(r1,r2) RRE_RR(b9df,00,r1,r2) 203 #define CLHRL(r1,i2) RIL_RP(c6,r1,7,i2) 204 #define CLIB(r1,m3,b4,d4,i2) RIS_RURDU(ec,r1,m3,b4,d4,i2,ff) 205 #define CLIH(r1,i2) RIL_RU(cc,r1,f,i2) 206 #define CLIJ(r1,m3,i4,i2) RIE_RUPU(ec,r1,m3,i4,i2,7f) 207 #define CLIY(i2,b1,dl1,dh1) SIY_URD(eb,i2,b1,dl1,dh1,55) 208 #define CLMY(r1,r3,b2,dl2,dh2) RSY_RURD(eb,r1,r3,b2,dl2,dh2,21) 209 #define CLRB(r1,r2,b4,d4,m3) RRS(ec,r1,r2,b4,d4,m3,0,f7) 210 #define CLRJ(r1,r2,i4,m3) RIE_RRPU(ec,r1,r2,i4,m3,0,77) 211 #define CLRL(r1,i2) RIL_RP(c6,r1,f,i2) 212 #define CLY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,55) 213 #define CPSDR(r3,r1,r2) RRF_F0FF2(b372,r3,0,r1,r2) 214 #define CRB(r1,r2,b4,d4,m3) RRS(ec,r1,r2,b4,d4,m3,0,f6) 215 #define CRJ(r1,r2,i4,m3) RIE_RRPU(ec,r1,r2,i4,m3,0,76) 216 #define CRL(r1,i2) RIL_RP(c6,r1,d,i2) 217 #define CSY(r1,r3,b2,dl2,dh2) RSY_RRRD(eb,r1,r3,b2,dl2,dh2,14) 218 #define CU12(m3,r1,r2) RRF_M0RERE(b2a7,m3,r1,r2) 219 #define CU14(m3,r1,r2) RRF_M0RERE(b9b0,m3,r1,r2) 220 #define CU21(m3,r1,r2) RRF_M0RERE(b2a6,m3,r1,r2) 221 #define CU24(m3,r1,r2) RRF_M0RERE(b9b1,m3,r1,r2) 222 #define CU41(r1,r2) RRE_RERE(b9b2,r1,r2) 223 #define CU42(r1,r2) RRE_RERE(b9b3,r1,r2) 224 #define CVBY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,06) 225 #define CVDY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,26) 226 #define CXFBRA(m3,m4,r1,r2) RRF_UUFR(b396,m3,m4,r1,r2) 227 #define CXFTR(m3,m4,r1,r2) RRF_UUFR(b959,m3,m4,r1,r2) 228 #define CXGBRA(m3,m4,r1,r2) RRF_UUFR(b3a6,m3,m4,r1,r2) 229 #define CXGTRA(m3,m4,r1,r2) RRF_UUFR(b3f9,m3,m4,r1,r2) 230 #define CXLFBR(m3,m4,r1,r2) RRF_UUFR(b392,m3,m4,r1,r2) 231 #define CXLFTR(m3,m4,r1,r2) RRF_UUFR(b95b,m3,m4,r1,r2) 232 #define CXLGBR(m3,m4,r1,r2) RRF_UUFR(b3a2,m3,m4,r1,r2) 233 #define CXLGTR(m3,m4,r1,r2) RRF_UUFR(b95a,m3,m4,r1,r2) 234 #define CXTR(r1,r2) RRE_RERE(b3ec,r1,r2) 235 #define CY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,59) 236 #define DDTRA(r3,m4,r1,r2) RRF_FUFF2(b3d1,r3,m4,r1,r2) 237 #define DXTRA(r3,m4,r1,r2) RRF_FUFF2(b3d9,r3,m4,r1,r2) 238 #define EXRL(r1,i2) RIL_RP(c6,r1,0,i2) 239 #define FLOGR(r1,r2) RRE_RR(b983,00,r1,r2) 240 #define ICMY(r1,r3,b2,dl2,dh2) RSY_RURD(eb,r1,r3,b2,dl2,dh2,81) 241 #define ICY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,73) 242 #define IIHF(r1,i2) RIL_RU(c0,r1,8,i2) 243 #define IILF(r1,i2) RIL_RU(c0,r1,9,i2) 244 #define LAA(r1,r3,b2,dl2,dh2) RSY_RRRD(eb,r1,r3,b2,dl2,dh2,f8) 245 #define LAAG(r1,r3,b2,dl2,dh2) RSY_RRRD(eb,r1,r3,b2,dl2,dh2,e8) 246 #define LAAL(r1,r3,b2,dl2,dh2) RSY_RRRD(eb,r1,r3,b2,dl2,dh2,fa) 247 #define LAALG(r1,r3,b2,dl2,dh2) RSY_RRRD(eb,r1,r3,b2,dl2,dh2,ea) 248 #define LAEY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,75) 249 #define LAMY(r1,r3,b2,dl2,dh2) RSY_AARD(eb,r1,r3,b2,dl2,dh2,9a) 250 #define LAN(r1,r3,b2,dl2,dh2) RSY_RRRD(eb,r1,r3,b2,dl2,dh2,f4) 251 #define LANG(r1,r3,b2,dl2,dh2) RSY_RRRD(eb,r1,r3,b2,dl2,dh2,e4) 252 #define LAO(r1,r3,b2,dl2,dh2) RSY_RRRD(eb,r1,r3,b2,dl2,dh2,f6) 253 #define LAOG(r1,r3,b2,dl2,dh2) RSY_RRRD(eb,r1,r3,b2,dl2,dh2,e6) 254 #define LAX(r1,r3,b2,dl2,dh2) RSY_RRRD(eb,r1,r3,b2,dl2,dh2,f7) 255 #define LAXG(r1,r3,b2,dl2,dh2) RSY_RRRD(eb,r1,r3,b2,dl2,dh2,e7) 256 #define LAY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,71) 257 #define LB(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,76) 258 #define LBH(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,c0) 259 #define LBR(r1,r2) RRE_RR(b926,00,r1,r2) 260 #define LCDFR(r1,r2) RRE_FF(b373,00,r1,r2) 261 #define LDGR(r1,r2) RRE_FR(b3c1,00,r1,r2) 262 #define LDY(r1,x2,b2,dl2,dh2) RXY_FRRD(ed,r1,x2,b2,dl2,dh2,65) 263 #define LEY(r1,x2,b2,dl2,dh2) RXY_FRRD(ed,r1,x2,b2,dl2,dh2,64) 264 #define LFH(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,ca) 265 #define LGB(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,77) 266 #define LGBR(r1,r2) RRE_RR(b906,00,r1,r2) 267 #define LGDR(r1,r2) RRE_RF(b3cd,00,r1,r2) 268 #define LGFI(r1,i2) RIL_RI(c0,r1,1,i2) 269 #define LGFRL(r1,i2) RIL_RP(c4,r1,c,i2) 270 #define LGHR(r1,r2) RRE_RR(b907,00,r1,r2) 271 #define LGHRL(r1,i2) RIL_RP(c4,r1,4,i2) 272 #define LGRL(r1,i2) RIL_RP(c4,r1,8,i2) 273 #define LHH(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,c4) 274 #define LHR(r1,r2) RRE_RR(b927,00,r1,r2) 275 #define LHRL(r1,i2) RIL_RP(c4,r1,5,i2) 276 #define LHY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,78) 277 #define LLC(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,94) 278 #define LLCH(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,c2) 279 #define LLCR(r1,r2) RRE_RR(b994,00,r1,r2) 280 #define LLGCR(r1,r2) RRE_RR(b984,00,r1,r2) 281 #define LLGFRL(r1,i2) RIL_RP(c4,r1,e,i2) 282 #define LLGHR(r1,r2) RRE_RR(b985,00,r1,r2) 283 #define LLGHRL(r1,i2) RIL_RP(c4,r1,6,i2) 284 #define LLH(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,95) 285 #define LLHH(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,c6) 286 #define LLHR(r1,r2) RRE_RR(b995,00,r1,r2) 287 #define LLHRL(r1,i2) RIL_RP(c4,r1,2,i2) 288 #define LLIHF(r1,i2) RIL_RU(c0,r1,e,i2) 289 #define LLILF(r1,i2) RIL_RU(c0,r1,f,i2) 290 #define LMY(r1,r3,b2,dl2,dh2) RSY_RRRD(eb,r1,r3,b2,dl2,dh2,98) 291 #define LNDFR(r1,r2) RRE_FF(b371,00,r1,r2) 292 #define LOC(r1,r3,b2,dl2,dh2) RSY_RDRM(eb,r1,r3,b2,dl2,dh2,f2) 293 #define LOCG(r1,r3,b2,dl2,dh2) RSY_RDRM(eb,r1,r3,b2,dl2,dh2,e2) 294 #define LOCGR(r3,r1,r2) RRF_U0RR(b9e2,r3,0,r1,r2) 295 #define LOCR(r3,r1,r2) RRF_U0RR(b9f2,r3,0,r1,r2) 296 #define LPDFR(r1,r2) RRE_FF(b370,00,r1,r2) 297 #define LRL(r1,i2) RIL_RP(c4,r1,d,i2) 298 #define LT(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,12) 299 #define LTG(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,02) 300 #define LTGF(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,32) 301 #define LY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,58) 302 #define MDTRA(r3,m4,r1,r2) RRF_FUFF2(b3d0,r3,m4,r1,r2) 303 #define MFY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,5c) 304 #define MHY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,7c) 305 #define MSFI(r1,i2) RIL_RI(c2,r1,1,i2) 306 #define MSGFI(r1,i2) RIL_RI(c2,r1,0,i2) 307 #define MSY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,51) 308 #define MVGHI(b1,d1,i2) SIL_RDI(e548,b1,d1,i2) 309 #define MVHHI(b1,d1,i2) SIL_RDI(e544,b1,d1,i2) 310 #define MVHI(b1,d1,i2) SIL_RDI(e54c,b1,d1,i2) 311 #define MVIY(i2,b1,dl1,dh1) SIY_URD(eb,i2,b1,dl1,dh1,52) 312 #define MXTRA(r3,m4,r1,r2) RRF_FUFF2(b3d8,r3,m4,r1,r2) 313 #define NGRK(r3,r1,r2) RRF_R0RR2(b9e4,r3,0,r1,r2) 314 #define NIHF(r1,i2) RIL_RU(c0,r1,a,i2) 315 #define NILF(r1,i2) RIL_RU(c0,r1,b,i2) 316 #define NIY(i2,b1,dl1,dh1) SIY_URD(eb,i2,b1,dl1,dh1,54) 317 #define NRK(r3,r1,r2) RRF_R0RR2(b9f4,r3,0,r1,r2) 318 #define NY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,54) 319 #define OGRK(r3,r1,r2) RRF_R0RR2(b9e6,r3,0,r1,r2) 320 #define OIHF(r1,i2) RIL_RU(c0,r1,c,i2) 321 #define OILF(r1,i2) RIL_RU(c0,r1,d,i2) 322 #define OIY(i2,b1,dl1,dh1) SIY_URD(eb,i2,b1,dl1,dh1,56) 323 #define ORK(r3,r1,r2) RRF_R0RR2(b9f6,r3,0,r1,r2) 324 #define OY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,56) 325 #define PFD(r1,x2,b2,dl2,dh2) RXY_URRD(e3,r1,x2,b2,dl2,dh2,36) 326 #define PFDRL(r1,i2) RIL_UP(c6,r1,2,i2) 327 #define POPCNT(r1,r2) RRE_RR(b9e1,00,r1,r2) 328 #define RISBG(r1,r2,i3,i4,i5) RIE_RRUUU(ec,r1,r2,i3,i4,i5,55) 329 #define RNSBG(r1,r2,i3,i4,i5) RIE_RRUUU(ec,r1,r2,i3,i4,i5,54) 330 #define ROSBG(r1,r2,i3,i4,i5) RIE_RRUUU(ec,r1,r2,i3,i4,i5,56) 331 #define RXSBG(r1,r2,i3,i4,i5) RIE_RRUUU(ec,r1,r2,i3,i4,i5,57) 332 #define RISBGN(r1,r2,i3,i4,i5) RIE_RRUUU(ec,r1,r2,i3,i4,i5,59) 333 #define RISBHG(r1,r2,i3,i4,i5) RIE_RRUUU(ec,r1,r2,i3,i4,i5,5d) 334 #define RISBLG(r1,r2,i3,i4,i5) RIE_RRUUU(ec,r1,r2,i3,i4,i5,51) 335 #define SFPC(r1) RRE_R0(b384,r1) 336 #define SGRK(r3,r1,r2) RRF_R0RR2(b9e9,r3,0,r1,r2) 337 #define SHHHR(r3,r1,r2) RRF_R0RR2(b9c9,r3,0,r1,r2) 338 #define SHHLR(r3,r1,r2) RRF_R0RR2(b9d9,r3,0,r1,r2) 339 #define SHY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,7b) 340 #define SLAK(r1,r3,b2,dl2,dh2) RSY_RRRD(eb,r1,r3,b2,dl2,dh2,dd) 341 #define ECAG(r1,r3,b2,dl2,dh2) RSY_RRRD(eb,r1,r3,b2,dl2,dh2,4c) 342 #define SDTRA(r3,m4,r1,r2) RRF_FUFF2(b3d3,r3,m4,r1,r2) 343 #define SLFI(r1,i2) RIL_RU(c2,r1,5,i2) 344 #define SLGFI(r1,i2) RIL_RU(c2,r1,4,i2) 345 #define SLGRK(r3,r1,r2) RRF_R0RR2(b9eb,r3,0,r1,r2) 346 #define SLHHHR(r3,r1,r2) RRF_R0RR2(b9cb,r3,0,r1,r2) 347 #define SLHHLR(r3,r1,r2) RRF_R0RR2(b9db,r3,0,r1,r2) 348 #define SLLK(r1,r3,b2,dl2,dh2) RSY_RRRD(eb,r1,r3,b2,dl2,dh2,df) 349 #define SLRK(r3,r1,r2) RRF_R0RR2(b9fb,r3,0,r1,r2) 350 #define SLY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,5f) 351 #define SRAK(r1,r3,b2,dl2,dh2) RSY_RRRD(eb,r1,r3,b2,dl2,dh2,dc) 352 #define SRK(r3,r1,r2) RRF_R0RR2(b9f9,r3,0,r1,r2) 353 #define SRLK(r1,r3,b2,dl2,dh2) RSY_RRRD(eb,r1,r3,b2,dl2,dh2,de) 354 #define SRNMB(b2,d2) S_RD(b2b8,b2,d2) 355 #define SRNMT(b2,d2) S_RD(b2b9,b2,d2) 356 #define STAMY(r1,r3,b2,dl2,dh2) RSY_AARD(eb,r1,r3,b2,dl2,dh2,9b) 357 #define STCH(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,c3) 358 #define STCMY(r1,r3,b2,dl2,dh2) RSY_RURD(eb,r1,r3,b2,dl2,dh2,2d) 359 #define STCY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,72) 360 #define STDY(r1,x2,b2,dl2,dh2) RXY_FRRD(ed,r1,x2,b2,dl2,dh2,67) 361 #define STEY(r1,x2,b2,dl2,dh2) RXY_FRRD(ed,r1,x2,b2,dl2,dh2,66) 362 #define STFH(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,cb) 363 #define STGRL(r1,i2) RIL_RP(c4,r1,b,i2) 364 #define STHH(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,c7) 365 #define STHRL(r1,i2) RIL_RP(c4,r1,7,i2) 366 #define STHY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,70) 367 #define STMY(r1,r3,b2,dl2,dh2) RSY_RRRD(eb,r1,r3,b2,dl2,dh2,90) 368 #define STOC(r1,r3,b2,dl2,dh2) RSY_RDRM(eb,r1,r3,b2,dl2,dh2,f3) 369 #define STOCG(r1,r3,b2,dl2,dh2) RSY_RDRM(eb,r1,r3,b2,dl2,dh2,e3) 370 #define STRL(r1,i2) RIL_RP(c4,r1,f,i2) 371 #define STY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,50) 372 #define SXTRA(r3,m4,r1,r2) RRF_FUFF2(b3db,r3,m4,r1,r2) 373 #define SY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,5b) 374 #define TMY(i2,b1,dl1,dh1) SIY_URD(eb,i2,b1,dl1,dh1,51) 375 #define XGRK(r3,r1,r2) RRF_R0RR2(b9e7,r3,0,r1,r2) 376 #define XIHF(r1,i2) RIL_RU(c0,r1,6,i2) 377 #define XILF(r1,i2) RIL_RU(c0,r1,7,i2) 378 #define XIY(i2,b1,dl1,dh1) SIY_URD(eb,i2,b1,dl1,dh1,57) 379 #define XRK(r3,r1,r2) RRF_R0RR2(b9f7,r3,0,r1,r2) 380 #define XY(r1,x2,b2,dl2,dh2) RXY_RRRD(e3,r1,x2,b2,dl2,dh2,57) 381 382 #endif /* OPCODES_H */ 383