Signed-off-by: Anthony Green gr...@moxielogic.com
---
target-moxie/Makefile.objs |2 +
target-moxie/cpu.c | 172
target-moxie/cpu.h | 170
target-moxie/helper.c | 97 +
target-moxie/helper.h |9 +
target-moxie/machine.c | 27 ++
On 2 March 2013 12:24, Anthony Green gr...@moxielogic.com wrote:
+uint32_t helper_div(CPUMoxieState *env, uint32_t pc, uint32_t a, uint32_t b)
+{
+if (unlikely(b == 0)) {
+helper_raise_exception(env, pc, MOXIE_EX_DIV0);
This never returns, so the following 'return' is unreachable.