Re: [PATCH 02/13] target/arm: Share unallocated_encoding() and gen_exception_insn()

2021-04-27 Thread Richard Henderson
On 4/13/21 9:07 AM, Peter Maydell wrote: The unallocated_encoding() function is the same in both translate-a64.c and translate.c; make the translate.c function global and drop the translate-a64.c version. To do this we need to also share gen_exception_insn(), which currently exists in two slight

[PATCH 02/13] target/arm: Share unallocated_encoding() and gen_exception_insn()

2021-04-13 Thread Peter Maydell
The unallocated_encoding() function is the same in both translate-a64.c and translate.c; make the translate.c function global and drop the translate-a64.c version. To do this we need to also share gen_exception_insn(), which currently exists in two slightly different versions for A32 and A64: merg