Lines Matching refs:EMIT

34 			EMIT(PPC_INST_MFLR | __PPC_RT(R0));
64 EMIT(PPC_RAW_SUB(r_HL, r_HL, r_scratch1));
73 EMIT(PPC_RAW_LI(r_X, 0));
78 EMIT(PPC_RAW_LI(r_A, 0));
86 EMIT(PPC_RAW_ADDI(1, 1, BPF_PPC_STACKFRAME));
89 EMIT(PPC_RAW_MTLR(0));
103 EMIT(PPC_RAW_BLR());
137 EMIT(PPC_RAW_ADD(r_A, r_A, r_X));
142 EMIT(PPC_RAW_ADDI(r_A, r_A, IMM_L(K)));
144 EMIT(PPC_RAW_ADDIS(r_A, r_A, IMM_HA(K)));
148 EMIT(PPC_RAW_SUB(r_A, r_A, r_X));
153 EMIT(PPC_RAW_ADDI(r_A, r_A, IMM_L(-K)));
155 EMIT(PPC_RAW_ADDIS(r_A, r_A, IMM_HA(-K)));
159 EMIT(PPC_RAW_MULW(r_A, r_A, r_X));
163 EMIT(PPC_RAW_MULI(r_A, r_A, K));
166 EMIT(PPC_RAW_MULW(r_A, r_A, r_scratch1));
172 EMIT(PPC_RAW_CMPWI(r_X, 0));
177 EMIT(PPC_RAW_LI(r_ret, 0));
181 EMIT(PPC_RAW_DIVWU(r_scratch1, r_A, r_X));
182 EMIT(PPC_RAW_MULW(r_scratch1, r_X, r_scratch1));
183 EMIT(PPC_RAW_SUB(r_A, r_A, r_scratch1));
185 EMIT(PPC_RAW_DIVWU(r_A, r_A, r_X));
190 EMIT(PPC_RAW_DIVWU(r_scratch1, r_A, r_scratch2));
191 EMIT(PPC_RAW_MULW(r_scratch1, r_scratch2, r_scratch1));
192 EMIT(PPC_RAW_SUB(r_A, r_A, r_scratch1));
198 EMIT(PPC_RAW_DIVWU(r_A, r_A, r_scratch1));
202 EMIT(PPC_RAW_AND(r_A, r_A, r_X));
206 EMIT(PPC_RAW_ANDI(r_A, r_A, K));
209 EMIT(PPC_RAW_AND(r_A, r_A, r_scratch1));
214 EMIT(PPC_RAW_OR(r_A, r_A, r_X));
218 EMIT(PPC_RAW_ORI(r_A, r_A, IMM_L(K)));
220 EMIT(PPC_RAW_ORIS(r_A, r_A, IMM_H(K)));
225 EMIT(PPC_RAW_XOR(r_A, r_A, r_X));
229 EMIT(PPC_RAW_XORI(r_A, r_A, IMM_L(K)));
231 EMIT(PPC_RAW_XORIS(r_A, r_A, IMM_H(K)));
235 EMIT(PPC_RAW_SLW(r_A, r_A, r_X));
241 EMIT(PPC_RAW_SLWI(r_A, r_A, K));
245 EMIT(PPC_RAW_SRW(r_A, r_A, r_X));
251 EMIT(PPC_RAW_SRWI(r_A, r_A, K));
254 EMIT(PPC_RAW_NEG(r_A, r_A));
280 EMIT(PPC_RAW_BLR());
284 EMIT(PPC_RAW_MR(r_ret, r_A));
289 EMIT(PPC_RAW_BLR());
293 EMIT(PPC_RAW_MR(r_X, r_A));
297 EMIT(PPC_RAW_MR(r_A, r_X));
308 EMIT(PPC_RAW_MR(r_A, r_M + (K & 0xf)));
312 EMIT(PPC_RAW_MR(r_X, r_M + (K & 0xf)));
316 EMIT(PPC_RAW_MR(r_M + (K & 0xf), r_A));
320 EMIT(PPC_RAW_MR(r_M + (K & 0xf), r_X));
349 EMIT(PPC_RAW_CMPDI(r_scratch1, 0));
355 EMIT(PPC_RAW_LI(r_ret, 0));
386 EMIT(PPC_RAW_SRWI(r_A, r_A, PKT_VLAN_PRESENT_BIT));
388 EMIT(PPC_RAW_ANDI(r_A, r_A, 1));
398 EMIT(PPC_RAW_ANDI(r_A, r_A, PKT_TYPE_MAX));
399 EMIT(PPC_RAW_SRWI(r_A, r_A, 5));
417 EMIT(PPC_RAW_MTLR(r_scratch1));
419 EMIT(PPC_RAW_BLRL());
443 EMIT(PPC_RAW_MTLR(r_scratch1));
444 EMIT(PPC_RAW_ADDI(r_addr, r_X, IMM_L(K)));
446 EMIT(PPC_RAW_ADDIS(r_addr, r_addr, IMM_HA(K)));
447 EMIT(PPC_RAW_BLRL());
491 EMIT(PPC_RAW_CMPLW(r_A, r_X));
495 EMIT(PPC_RAW_AND_DOT(r_scratch1, r_A, r_X));
501 EMIT(PPC_RAW_CMPLWI(r_A, K));
504 EMIT(PPC_RAW_CMPLW(r_A, r_scratch1));
510 EMIT(PPC_RAW_ANDI(r_scratch1, r_A, K));
513 EMIT(PPC_RAW_AND_DOT(r_scratch1, r_A,