On 06/20/2018 05:06 AM, Yongbok Kim wrote:
> +void helper_llwp(CPUMIPSState *env, target_ulong addr, uint32_t reg1,
> + uint32_t reg2, uint32_t mem_idx)
> +{
> +if (addr & 0x7) {
> +env->CP0_BadVAddr = addr;
> +do_raise_exception(env, EXCP_AdEL, GETPC());
> +
From: Yongbok Kim
Implement nanoMIPS LLWP and SCWP instruction pair.
Signed-off-by: Yongbok Kim
---
linux-user/mips/cpu_loop.c | 25 ---
target/mips/cpu.h | 2 +
target/mips/helper.h | 2 +
target/mips/op_helper.c| 35 +++
target/mips/translate.c