Lines Matching refs:cmp_imm
804 u32 cmp_imm = 0; in do_apf_run() local
807 cmp_imm = ctx->R[1]; in do_apf_run()
809 cmp_imm = decode_imm(ctx, imm_len); /* 2nd imm, at worst 8 bytes past prog_len */ in do_apf_run()
812 case JEQ_OPCODE: if (ctx->R[0] == cmp_imm) ctx->pc += imm; break; in do_apf_run()
813 case JNE_OPCODE: if (ctx->R[0] != cmp_imm) ctx->pc += imm; break; in do_apf_run()
814 case JGT_OPCODE: if (ctx->R[0] > cmp_imm) ctx->pc += imm; break; in do_apf_run()
815 case JLT_OPCODE: if (ctx->R[0] < cmp_imm) ctx->pc += imm; break; in do_apf_run()
816 case JSET_OPCODE: if (ctx->R[0] & cmp_imm) ctx->pc += imm; break; in do_apf_run()
822 u32 cmp_imm = decode_imm(ctx, imm_len); /* 2nd imm, at worst 8 bytes past prog_len */ in do_apf_run() local
823 u32 cnt = (cmp_imm >> 11) + 1; /* 1+, up to 32 fits in u16 */ in do_apf_run()
824 u32 len = cmp_imm & 2047; /* 0..2047 */ in do_apf_run()