Lines Matching refs:cmp_imm
267 u32 cmp_imm = 0; in do_apf_run() local
270 cmp_imm = ctx->R[1]; in do_apf_run()
272 cmp_imm = decode_imm(ctx, imm_len); // 2nd imm, at worst 8 bytes past prog_len in do_apf_run()
275 case JEQ_OPCODE: if ( ctx->R[0] == cmp_imm ) ctx->pc += imm; break; in do_apf_run()
276 case JNE_OPCODE: if ( ctx->R[0] != cmp_imm ) ctx->pc += imm; break; in do_apf_run()
277 case JGT_OPCODE: if ( ctx->R[0] > cmp_imm ) ctx->pc += imm; break; in do_apf_run()
278 case JLT_OPCODE: if ( ctx->R[0] < cmp_imm ) ctx->pc += imm; break; in do_apf_run()
279 case JSET_OPCODE: if ( ctx->R[0] & cmp_imm ) ctx->pc += imm; break; in do_apf_run()
280 case JNSET_OPCODE: if (!(ctx->R[0] & cmp_imm)) ctx->pc += imm; break; in do_apf_run()
286 u32 cmp_imm = decode_imm(ctx, imm_len); // 2nd imm, at worst 8 bytes past prog_len in do_apf_run() local
287 u32 cnt = (cmp_imm >> 11) + 1; // 1+, up to 32 fits in u16 in do_apf_run()
288 u32 len = cmp_imm & 2047; // 0..2047 in do_apf_run()