aboutsummaryrefslogtreecommitdiff
path: root/machine/emulation.h
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2024-04-30 19:05:07 -0700
committerAndrew Waterman <andrew@sifive.com>2024-05-20 18:37:48 -0700
commit9774e921862c06ff2a571ab378f12bcf3c73b479 (patch)
tree2f14b273ad2200c54e13485d73e1e90c6e741942 /machine/emulation.h
parent10a0b7b1b0b261d83319c28657268d05c5b65de0 (diff)
downloadpk-9774e921862c06ff2a571ab378f12bcf3c73b479.zip
pk-9774e921862c06ff2a571ab378f12bcf3c73b479.tar.gz
pk-9774e921862c06ff2a571ab378f12bcf3c73b479.tar.bz2
support emulation of misaligned vector loads/stores
Diffstat (limited to 'machine/emulation.h')
-rw-r--r--machine/emulation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/machine/emulation.h b/machine/emulation.h
index 62115bc..c7c770c 100644
--- a/machine/emulation.h
+++ b/machine/emulation.h
@@ -17,6 +17,7 @@ void redirect_trap(uintptr_t epc, uintptr_t mstatus, uintptr_t badaddr);
DECLARE_EMULATION_FUNC(truly_illegal_insn);
DECLARE_EMULATION_FUNC(emulate_rvc_0);
DECLARE_EMULATION_FUNC(emulate_rvc_2);
+DECLARE_EMULATION_FUNC(misaligned_vec_ldst);
#define SH_RD 7
#define SH_RS1 15