1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18#ifndef HEXAGON_OP_HELPER_H
19#define HEXAGON_OP_HELPER_H
20
21
22uint8_t mem_load1(CPUHexagonState *env, bool pkt_has_store_s1,
23 uint32_t slot, target_ulong vaddr);
24uint16_t mem_load2(CPUHexagonState *env, bool pkt_has_store_s1,
25 uint32_t slot, target_ulong vaddr);
26uint32_t mem_load4(CPUHexagonState *env, bool pkt_has_store_s1,
27 uint32_t slot, target_ulong vaddr);
28uint64_t mem_load8(CPUHexagonState *env, bool pkt_has_store_s1,
29 uint32_t slot, target_ulong vaddr);
30
31void log_store64(CPUHexagonState *env, target_ulong addr,
32 int64_t val, int width, int slot);
33void log_store32(CPUHexagonState *env, target_ulong addr,
34 target_ulong val, int width, int slot);
35
36#endif
37