Home
last modified time | relevance | path

Searched refs:REG (Results 1 – 6 of 6) sorted by relevance

/hardware/google/apf/
Dapf_interpreter.c100 #define REG (registers[reg_num]) in accept_packet() macro
154 REG = val; in accept_packet()
205 ASSERT_IN_PACKET_BOUNDS(REG); in accept_packet()
206 const uint32_t last_packet_offs = REG + cmp_imm - 1; in accept_packet()
207 ASSERT_RETURN(last_packet_offs >= REG); in accept_packet()
209 if (memcmp(program + pc, packet + REG, cmp_imm)) in accept_packet()
245 REG = signed_imm; in accept_packet()
257 REG = memory[imm - LDM_EXT_OPCODE]; in accept_packet()
259 memory[imm - STM_EXT_OPCODE] = REG; in accept_packet()
262 REG = ~REG; in accept_packet()
[all …]
/hardware/google/apf/v4/
Dapf_interpreter.c100 #define REG (registers[reg_num]) in accept_packet() macro
154 REG = val; in accept_packet()
205 ASSERT_IN_PACKET_BOUNDS(REG); in accept_packet()
206 const uint32_t last_packet_offs = REG + cmp_imm - 1; in accept_packet()
207 ASSERT_RETURN(last_packet_offs >= REG); in accept_packet()
209 if (memcmp(program + pc, packet + REG, cmp_imm)) in accept_packet()
245 REG = signed_imm; in accept_packet()
257 REG = memory[imm - LDM_EXT_OPCODE]; in accept_packet()
259 memory[imm - STM_EXT_OPCODE] = REG; in accept_packet()
262 REG = ~REG; in accept_packet()
[all …]
/hardware/google/apf/v7/
Dapf_interpreter_source.c182 #define REG (ctx->R[reg_num]) in do_apf_run() macro
247 REG = val; in do_apf_run()
333 REG = (u32)signed_imm; in do_apf_run()
342 REG = ctx->mem.slot[imm - LDM_EXT_OPCODE]; in do_apf_run()
344 ctx->mem.slot[imm - STM_EXT_OPCODE] = REG; in do_apf_run()
346 case NOT_EXT_OPCODE: REG = ~REG; break; in do_apf_run()
347 case NEG_EXT_OPCODE: REG = -REG; break; in do_apf_run()
348 case MOV_EXT_OPCODE: REG = OTHER_REG; break; in do_apf_run()
350 u32 tmp = REG; in do_apf_run()
351 REG = OTHER_REG; in do_apf_run()
[all …]
Dapf_interpreter.c728 #define REG (ctx->R[reg_num]) in do_apf_run() macro
793 REG = val; in do_apf_run()
879 REG = (u32)signed_imm; in do_apf_run()
888 REG = ctx->mem.slot[imm - LDM_EXT_OPCODE]; in do_apf_run()
890 ctx->mem.slot[imm - STM_EXT_OPCODE] = REG; in do_apf_run()
892 case NOT_EXT_OPCODE: REG = ~REG; break; in do_apf_run()
893 case NEG_EXT_OPCODE: REG = -REG; break; in do_apf_run()
894 case MOV_EXT_OPCODE: REG = OTHER_REG; break; in do_apf_run()
896 u32 tmp = REG; in do_apf_run()
897 REG = OTHER_REG; in do_apf_run()
[all …]
/hardware/google/apf/v6/
Dapf_interpreter.c720 #define REG (ctx->R[reg_num]) in do_apf_run() macro
785 REG = val; in do_apf_run()
869 REG = (u32)signed_imm; in do_apf_run()
878 REG = ctx->mem.slot[imm - LDM_EXT_OPCODE]; in do_apf_run()
880 ctx->mem.slot[imm - STM_EXT_OPCODE] = REG; in do_apf_run()
882 case NOT_EXT_OPCODE: REG = ~REG; break; in do_apf_run()
883 case NEG_EXT_OPCODE: REG = -REG; break; in do_apf_run()
884 case MOV_EXT_OPCODE: REG = OTHER_REG; break; in do_apf_run()
886 u32 tmp = REG; in do_apf_run()
887 REG = OTHER_REG; in do_apf_run()
[all …]
/hardware/google/apf/devtools/
Dapf_interpreter.c728 #define REG (ctx->R[reg_num]) in do_apf_run() macro
793 REG = val; in do_apf_run()
879 REG = (u32)signed_imm; in do_apf_run()
888 REG = ctx->mem.slot[imm - LDM_EXT_OPCODE]; in do_apf_run()
890 ctx->mem.slot[imm - STM_EXT_OPCODE] = REG; in do_apf_run()
892 case NOT_EXT_OPCODE: REG = ~REG; break; in do_apf_run()
893 case NEG_EXT_OPCODE: REG = -REG; break; in do_apf_run()
894 case MOV_EXT_OPCODE: REG = OTHER_REG; break; in do_apf_run()
896 u32 tmp = REG; in do_apf_run()
897 REG = OTHER_REG; in do_apf_run()
[all …]