diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-08-06 05:49:16 -1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2022-02-09 08:55:02 +1100 |
commit | 23a79c113ed2ae693d882d109862f4a759fbf10e (patch) | |
tree | 49f53b9a023cfc76b63e833ab8725b6db5e209cc /disas.c | |
parent | 0c90fa5dce29243c06841d7b07ff2bd97c27c1f4 (diff) |
tcg/mips: Support unaligned access for user-only
This is kinda sorta the opposite of the other tcg hosts, where
we get (normal) alignment checks for free with host SIGBUS and
need to add code to support unaligned accesses.
Fortunately, the ISA contains pairs of instructions that are
used to implement unaligned memory accesses. Use them.
Tested-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'disas.c')
0 files changed, 0 insertions, 0 deletions