Home
last modified time | relevance | path

Searched refs:CPUHexagonState (Results 1 – 17 of 17) sorted by relevance

/openbmc/qemu/target/hexagon/
H A Dop_helper.c39 G_NORETURN void hexagon_raise_exception_err(CPUHexagonState *env, in hexagon_raise_exception_err()
49 G_NORETURN void HELPER(raise_exception)(CPUHexagonState *env, uint32_t excp) in HELPER()
54 void log_store32(CPUHexagonState *env, target_ulong addr, in log_store32()
65 void log_store64(CPUHexagonState *env, target_ulong addr, in log_store64()
77 void HELPER(debug_start_packet)(CPUHexagonState *env) in HELPER()
88 void HELPER(debug_check_store_width)(CPUHexagonState *env, int slot, int check) in HELPER()
97 static void commit_store(CPUHexagonState *env, int slot_num, uintptr_t ra) in commit_store()
120 void HELPER(commit_store)(CPUHexagonState *env, int slot_num) in HELPER()
126 void HELPER(gather_store)(CPUHexagonState *env, uint32_t addr, int slot) in HELPER()
131 void HELPER(commit_hvx_stores)(CPUHexagonState *env) in HELPER()
[all …]
H A Dgdbstub.c25 CPUHexagonState *env = cpu_env(cs); in hexagon_gdb_read_register()
52 CPUHexagonState *env = cpu_env(cs); in hexagon_gdb_write_register()
79 static int gdb_get_vreg(CPUHexagonState *env, GByteArray *mem_buf, int n) in gdb_get_vreg()
89 static int gdb_get_qreg(CPUHexagonState *env, GByteArray *mem_buf, int n) in gdb_get_qreg()
102 CPUHexagonState *env = &cpu->env; in hexagon_hvx_gdb_read_register()
116 static int gdb_put_vreg(CPUHexagonState *env, uint8_t *mem_buf, int n) in gdb_put_vreg()
126 static int gdb_put_qreg(CPUHexagonState *env, uint8_t *mem_buf, int n) in gdb_put_qreg()
139 CPUHexagonState *env = &cpu->env; in hexagon_hvx_gdb_write_register()
H A Dtranslate.c75 return offsetof(CPUHexagonState, VRegs[regnum]); in ctx_future_vreg_off()
81 return offsetof(CPUHexagonState, future_VRegs[i]); in ctx_future_vreg_off()
86 offset = offsetof(CPUHexagonState, future_VRegs[ctx->future_vregs_idx]); in ctx_future_vreg_off()
103 return offsetof(CPUHexagonState, tmp_VRegs[i]); in ctx_tmp_vreg_off()
108 offset = offsetof(CPUHexagonState, tmp_VRegs[ctx->tmp_vregs_idx]); in ctx_tmp_vreg_off()
213 static int read_packet_words(CPUHexagonState *env, DisasContext *ctx, in read_packet_words()
521 intptr_t src_off = offsetof(CPUHexagonState, VRegs[i]); in gen_start_packet()
534 intptr_t src_off = offsetof(CPUHexagonState, VRegs[i]); in gen_start_packet()
801 intptr_t dstoff = offsetof(CPUHexagonState, VRegs[rnum]); in gen_commit_hvx()
816 intptr_t dstoff = offsetof(CPUHexagonState, QRegs[rnum]); in gen_commit_hvx()
[all …]
H A Dcpu.c76 static target_ulong adjust_stack_ptrs(CPUHexagonState *env, target_ulong addr) in adjust_stack_ptrs()
94 static target_ulong read_p3_0(CPUHexagonState *env) in read_p3_0()
105 static void print_reg(FILE *f, CPUHexagonState *env, int regnum) in print_reg()
120 static void print_vreg(FILE *f, CPUHexagonState *env, int regnum, in print_vreg()
144 void hexagon_debug_vreg(CPUHexagonState *env, int regnum) in hexagon_debug_vreg()
149 static void print_qreg(FILE *f, CPUHexagonState *env, int regnum, in print_qreg()
174 void hexagon_debug_qreg(CPUHexagonState *env, int regnum) in hexagon_debug_qreg()
179 static void hexagon_dump(CPUHexagonState *env, FILE *f, int flags) in hexagon_dump()
243 void hexagon_debug(CPUHexagonState *env) in hexagon_debug()
281 CPUHexagonState *env = cpu_env(cs); in hexagon_cpu_reset_hold()
H A Dinternal.h39 void hexagon_debug_vreg(CPUHexagonState *env, int regnum);
40 void hexagon_debug_qreg(CPUHexagonState *env, int regnum);
41 void hexagon_debug(CPUHexagonState *env);
H A Dcpu.h114 } CPUHexagonState; typedef
126 CPUHexagonState env;
137 G_NORETURN void hexagon_raise_exception_err(CPUHexagonState *env,
141 static inline void cpu_get_tb_cpu_state(CPUHexagonState *env, vaddr *pc, in cpu_get_tb_cpu_state()
H A Dop_helper.h22 void log_store64(CPUHexagonState *env, target_ulong addr,
24 void log_store32(CPUHexagonState *env, target_ulong addr,
H A Darch.h30 void arch_fpop_start(CPUHexagonState *env);
31 void arch_fpop_end(CPUHexagonState *env);
H A Dgen_tcg_hvx.h51 intptr_t dstoff = offsetof(CPUHexagonState, qtmp); \
67 intptr_t dstoff = offsetof(CPUHexagonState, qtmp); \
83 intptr_t dstoff = offsetof(CPUHexagonState, qtmp); \
99 intptr_t dstoff = offsetof(CPUHexagonState, qtmp); \
116 intptr_t dstoff = offsetof(CPUHexagonState, qtmp); \
156 intptr_t tmpoff = offsetof(CPUHexagonState, vtmp); \
248 intptr_t tmpoff = offsetof(CPUHexagonState, vtmp); \
267 intptr_t tmpoff = offsetof(CPUHexagonState, vtmp); \
319 intptr_t tmpoff = offsetof(CPUHexagonState, vtmp); \
338 intptr_t tmpoff = offsetof(CPUHexagonState, vtmp); \
[all …]
H A Darch.c196 void arch_fpop_start(CPUHexagonState *env) in arch_fpop_start()
225 void arch_fpop_end(CPUHexagonState *env) in arch_fpop_end()
H A Dgenptr.c1188 intptr_t offset = offsetof(CPUHexagonState, VRegs[num]); in vreg_src_off()
1226 return offsetof(CPUHexagonState, future_QRegs[qnum]); in get_result_qreg()
1228 return offsetof(CPUHexagonState, QRegs[qnum]); in get_result_qreg()
1249 intptr_t dstoff = offsetof(CPUHexagonState, vstore[slot].data); in gen_vreg_store()
1250 intptr_t maskoff = offsetof(CPUHexagonState, vstore[slot].mask); in gen_vreg_store()
1276 intptr_t dstoff = offsetof(CPUHexagonState, vstore[slot].data); in gen_vreg_masked_store()
1277 intptr_t maskoff = offsetof(CPUHexagonState, vstore[slot].mask); in gen_vreg_masked_store()
H A DREADME78 CPUHexagonState *env,
92 int32_t HELPER(A2_add)(CPUHexagonState *env, int32_t RsV, int32_t RtV)
207 This file contains the definition of the CPUHexagonState struct. It is the
268 During runtime, the following fields in CPUHexagonState (see cpu.h) are used
/openbmc/qemu/linux-user/hexagon/
H A Dtarget_cpu.h21 static inline void cpu_clone_regs_child(CPUHexagonState *env, in cpu_clone_regs_child()
30 static inline void cpu_clone_regs_parent(CPUHexagonState *env, unsigned flags) in cpu_clone_regs_parent()
34 static inline void cpu_set_tls(CPUHexagonState *env, target_ulong newtls) in cpu_set_tls()
39 static inline abi_ulong get_sp_from_cpustate(CPUHexagonState *state) in get_sp_from_cpustate()
H A Dsignal.c65 CPUHexagonState *regs, size_t framesize) in get_sigframe()
77 static void setup_sigcontext(struct target_sigcontext *sc, CPUHexagonState *env) in setup_sigcontext()
129 CPUHexagonState *env, target_sigset_t *set) in setup_ucontext()
152 target_sigset_t *set, CPUHexagonState *env) in setup_rt_frame()
192 static void restore_sigcontext(CPUHexagonState *env, in restore_sigcontext()
244 static void restore_ucontext(CPUHexagonState *env, struct target_ucontext *uc) in restore_ucontext()
261 long do_rt_sigreturn(CPUHexagonState *env) in do_rt_sigreturn()
H A Dcpu_loop.c28 void cpu_loop(CPUHexagonState *env) in cpu_loop()
/openbmc/qemu/target/hexagon/mmvec/
H A Dsystem_ext_mmvec.h21 void mem_gather_store(CPUHexagonState *env, target_ulong vaddr, int slot);
22 void mem_vector_scatter_init(CPUHexagonState *env);
23 void mem_vector_gather_init(CPUHexagonState *env);
H A Dsystem_ext_mmvec.c22 void mem_gather_store(CPUHexagonState *env, target_ulong vaddr, int slot) in mem_gather_store()
35 void mem_vector_scatter_init(CPUHexagonState *env) in mem_vector_scatter_init()
44 void mem_vector_gather_init(CPUHexagonState *env) in mem_vector_gather_init()