Home
last modified time | relevance | path

Searched refs:signed_imm (Results 1 – 7 of 7) sorted by relevance

/hardware/google/apf/
Ddisassembler.c127 int32_t signed_imm = 0; in apf_disassemble() local
132 signed_imm = imm << ((4 - imm_len) * 8); in apf_disassemble()
133 signed_imm >>= (4 - imm_len) * 8; in apf_disassemble()
229 bprintf("r0, %d", signed_imm); in apf_disassemble()
248 bprintf("r%d, %d", reg_num, signed_imm); in apf_disassemble()
415 if (signed_imm > 0) { in apf_disassemble()
416 bprintf("r%u, [r%u+%d]", reg_num, reg_num ^ 1, signed_imm); in apf_disassemble()
417 } else if (signed_imm < 0) { in apf_disassemble()
418 bprintf("r%u, [r%u-%d]", reg_num, reg_num ^ 1, -signed_imm); in apf_disassemble()
Dapf_interpreter.c105 int32_t signed_imm = 0; in accept_packet() local
113 signed_imm = imm << ((4 - imm_len) * 8); in accept_packet()
114 signed_imm >>= (4 - imm_len) * 8; in accept_packet()
237 const int32_t shift_val = reg_num ? (int32_t)registers[1] : signed_imm; in accept_packet()
245 REG = signed_imm; in accept_packet()
283 uint32_t offs = OTHER_REG + signed_imm; in accept_packet()
299 uint32_t offs = OTHER_REG + signed_imm; in accept_packet()
/hardware/google/apf/v4/
Dapf_interpreter.c105 int32_t signed_imm = 0; in accept_packet() local
113 signed_imm = imm << ((4 - imm_len) * 8); in accept_packet()
114 signed_imm >>= (4 - imm_len) * 8; in accept_packet()
237 const int32_t shift_val = reg_num ? (int32_t)registers[1] : signed_imm; in accept_packet()
245 REG = signed_imm; in accept_packet()
283 uint32_t offs = OTHER_REG + signed_imm; in accept_packet()
299 uint32_t offs = OTHER_REG + signed_imm; in accept_packet()
/hardware/google/apf/v7/
Dapf_interpreter_source.c189 s32 signed_imm = 0; in do_apf_run() local
195 signed_imm = (s32)(imm << ((4 - imm_len) * 8)); in do_apf_run()
196 signed_imm >>= (4 - imm_len) * 8; in do_apf_run()
202 …ith_signed_imm = (ctx->v6) ? (len_field ? signed_imm : (s32)OTHER_REG) : (reg_num ? (s32)ctx->R[1]… in do_apf_run()
333 REG = (u32)signed_imm; in do_apf_run()
509 u32 offs = OTHER_REG + (u32)signed_imm; in do_apf_run()
Dapf_interpreter.c735 s32 signed_imm = 0; in do_apf_run() local
741 signed_imm = (s32)(imm << ((4 - imm_len) * 8)); in do_apf_run()
742 signed_imm >>= (4 - imm_len) * 8; in do_apf_run()
748 …ith_signed_imm = (ctx->v6) ? (len_field ? signed_imm : (s32)OTHER_REG) : (reg_num ? (s32)ctx->R[1]… in do_apf_run()
879 REG = (u32)signed_imm; in do_apf_run()
1055 u32 offs = OTHER_REG + (u32)signed_imm; in do_apf_run()
/hardware/google/apf/v6/
Dapf_interpreter.c727 s32 signed_imm = 0; in do_apf_run() local
733 signed_imm = (s32)(imm << ((4 - imm_len) * 8)); in do_apf_run()
734 signed_imm >>= (4 - imm_len) * 8; in do_apf_run()
740 …ith_signed_imm = (ctx->v6) ? (len_field ? signed_imm : (s32)OTHER_REG) : (reg_num ? (s32)ctx->R[1]… in do_apf_run()
869 REG = (u32)signed_imm; in do_apf_run()
1045 u32 offs = OTHER_REG + (u32)signed_imm; in do_apf_run()
/hardware/google/apf/devtools/
Dapf_interpreter.c735 s32 signed_imm = 0; in do_apf_run() local
741 signed_imm = (s32)(imm << ((4 - imm_len) * 8)); in do_apf_run()
742 signed_imm >>= (4 - imm_len) * 8; in do_apf_run()
748 …ith_signed_imm = (ctx->v6) ? (len_field ? signed_imm : (s32)OTHER_REG) : (reg_num ? (s32)ctx->R[1]… in do_apf_run()
879 REG = (u32)signed_imm; in do_apf_run()
1055 u32 offs = OTHER_REG + (u32)signed_imm; in do_apf_run()