OSDN Git Service

target/xtensa: extract test for division by zero
authorMax Filippov <jcmvbkbc@gmail.com>
Sat, 1 Sep 2018 04:26:54 +0000 (21:26 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 1 Oct 2018 18:08:35 +0000 (11:08 -0700)
commit4a038955dadd063b17c1d67bc2811707cfa56719
tree329c63310676a0c5b13ebf409fc39ac925fc713f
parent582fef0f47876da8968ac8d867922e040a02ebae
target/xtensa: extract test for division by zero

- mark quos/quou/rems/remu instructions;
- drop parameter 0 from the translate_quou and split translate_remu from
  it;
- put test for division by zero exception right after the coprocessor
  exception test;

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
target/xtensa/translate.c