Searched refs:len_field (Results 1 – 7 of 7) sorted by relevance
/hardware/google/apf/ |
D | disassembler.c | 125 const uint32_t len_field = EXTRACT_IMM_LENGTH(bytecode); in apf_disassemble() local 128 if (len_field != 0) { in apf_disassemble() 129 const uint32_t imm_len = 1 << (len_field - 1); in apf_disassemble() 185 } else if (len_field == 0) { in apf_disassemble() 188 uint32_t cmp_imm = DECODE_IMM(1 << (len_field - 1)); in apf_disassemble() 201 const uint32_t cmp_imm = DECODE_IMM(1 << (len_field - 1)); in apf_disassemble() 326 uint32_t offs = DECODE_IMM(1 << (len_field - 1)); in apf_disassemble() 369 const uint32_t imm_len = 1 << (len_field - 1); in apf_disassemble() 426 uint32_t write_len = 1 << (len_field - 1); in apf_disassemble()
|
D | apf_interpreter.c | 103 const uint32_t len_field = EXTRACT_IMM_LENGTH(bytecode); in accept_packet() local 106 if (len_field != 0) { in accept_packet() 107 const uint32_t imm_len = 1 << (len_field - 1); in accept_packet() 171 } else if (len_field != 0) { in accept_packet() 172 uint32_t cmp_imm_len = 1 << (len_field - 1); in accept_packet()
|
/hardware/google/apf/v4/ |
D | apf_interpreter.c | 103 const uint32_t len_field = EXTRACT_IMM_LENGTH(bytecode); in accept_packet() local 106 if (len_field != 0) { in accept_packet() 107 const uint32_t imm_len = 1 << (len_field - 1); in accept_packet() 171 } else if (len_field != 0) { in accept_packet() 172 uint32_t cmp_imm_len = 1 << (len_field - 1); in accept_packet()
|
/hardware/google/apf/v7/ |
D | apf_interpreter_source.c | 185 const u8 len_field = EXTRACT_IMM_LENGTH(bytecode); in do_apf_run() local 186 const u8 imm_len = ((len_field + 1u) >> 2) + len_field; // 0,1,2,3 -> 0,1,2,4 in do_apf_run() 192 if (len_field != 0) { in do_apf_run() 201 arith_imm = (ctx->v6) ? (len_field ? imm : OTHER_REG) : (reg_num ? ctx->R[1] : imm); in do_apf_run() 202 …arith_signed_imm = (ctx->v6) ? (len_field ? signed_imm : (s32)OTHER_REG) : (reg_num ? (s32)ctx->R[… in do_apf_run() 206 if (len_field > 2) return EXCEPTION; // max 64K counters (ie. imm < 64K) in do_apf_run() 530 ASSERT_RETURN(len_field); in do_apf_run() 532 const u32 write_len = 1 << (len_field - 1); in do_apf_run()
|
D | apf_interpreter.c | 731 const u8 len_field = EXTRACT_IMM_LENGTH(bytecode); in do_apf_run() local 732 const u8 imm_len = ((len_field + 1u) >> 2) + len_field; /* 0,1,2,3 -> 0,1,2,4 */ in do_apf_run() 738 if (len_field != 0) { in do_apf_run() 747 arith_imm = (ctx->v6) ? (len_field ? imm : OTHER_REG) : (reg_num ? ctx->R[1] : imm); in do_apf_run() 748 …arith_signed_imm = (ctx->v6) ? (len_field ? signed_imm : (s32)OTHER_REG) : (reg_num ? (s32)ctx->R[… in do_apf_run() 752 if (len_field > 2) return EXCEPTION; /* max 64K counters (ie. imm < 64K) */ in do_apf_run() 1076 ASSERT_RETURN(len_field); in do_apf_run() 1078 const u32 write_len = 1 << (len_field - 1); in do_apf_run()
|
/hardware/google/apf/v6/ |
D | apf_interpreter.c | 723 const u8 len_field = EXTRACT_IMM_LENGTH(bytecode); in do_apf_run() local 724 const u8 imm_len = ((len_field + 1u) >> 2) + len_field; /* 0,1,2,3 -> 0,1,2,4 */ in do_apf_run() 730 if (len_field != 0) { in do_apf_run() 739 arith_imm = (ctx->v6) ? (len_field ? imm : OTHER_REG) : (reg_num ? ctx->R[1] : imm); in do_apf_run() 740 …arith_signed_imm = (ctx->v6) ? (len_field ? signed_imm : (s32)OTHER_REG) : (reg_num ? (s32)ctx->R[… in do_apf_run() 744 if (len_field > 2) return EXCEPTION; /* max 64K counters (ie. imm < 64K) */ in do_apf_run() 1066 ASSERT_RETURN(len_field); in do_apf_run() 1068 const u32 write_len = 1 << (len_field - 1); in do_apf_run()
|
/hardware/google/apf/devtools/ |
D | apf_interpreter.c | 731 const u8 len_field = EXTRACT_IMM_LENGTH(bytecode); in do_apf_run() local 732 const u8 imm_len = ((len_field + 1u) >> 2) + len_field; /* 0,1,2,3 -> 0,1,2,4 */ in do_apf_run() 738 if (len_field != 0) { in do_apf_run() 747 arith_imm = (ctx->v6) ? (len_field ? imm : OTHER_REG) : (reg_num ? ctx->R[1] : imm); in do_apf_run() 748 …arith_signed_imm = (ctx->v6) ? (len_field ? signed_imm : (s32)OTHER_REG) : (reg_num ? (s32)ctx->R[… in do_apf_run() 752 if (len_field > 2) return EXCEPTION; /* max 64K counters (ie. imm < 64K) */ in do_apf_run() 1076 ASSERT_RETURN(len_field); in do_apf_run() 1078 const u32 write_len = 1 << (len_field - 1); in do_apf_run()
|