On 09/08/2016 03:32 PM, Michael Rolnik wrote:
+int arc_gen_UNIMP(DisasCtxt *ctx)
+{
+/* PC = INT_VECTOR_BACE + 0x10 */
+tcg_gen_andi_tl(cpu_pc, cpu_intvec, 0xffc0);
+tcg_gen_addi_tl(cpu_pc, cpu_pc, 0x10);
+
+return BS_EXCP;
+}
This should be done via an exception, with the
Signed-off-by: Michael Rolnik
---
target-arc/translate-inst.c | 20
target-arc/translate-inst.h | 2 ++
2 files changed, 22 insertions(+)
diff --git a/target-arc/translate-inst.c b/target-arc/translate-inst.c
index 9d0f195..4c4318f 100644
---