Re: [RFC PATCH 0/2] Make the core disassembler functions target-independent

2023-05-09 Thread Richard Henderson
On 5/8/23 15:04, Richard Henderson wrote: On 5/8/23 14:37, Thomas Huth wrote: Move disas.c into the target-independent source set, so that we only have to compile this code once instead multiple times (one time for each target). Marked as RFC since we have to replace the target_ulongs here with

Re: [RFC PATCH 0/2] Make the core disassembler functions target-independent

2023-05-08 Thread Thomas Huth
On 08/05/2023 16.04, Richard Henderson wrote: On 5/8/23 14:37, Thomas Huth wrote: Move disas.c into the target-independent source set, so that we only have to compile this code once instead multiple times (one time for each target). Marked as RFC since we have to replace the target_ulongs here

Re: [RFC PATCH 0/2] Make the core disassembler functions target-independent

2023-05-08 Thread Richard Henderson
On 5/8/23 14:37, Thomas Huth wrote: Move disas.c into the target-independent source set, so that we only have to compile this code once instead multiple times (one time for each target). Marked as RFC since we have to replace the target_ulongs here with hwaddr, and the TARGET_FMT_lx with HWADDR_

[RFC PATCH 0/2] Make the core disassembler functions target-independent

2023-05-08 Thread Thomas Huth
Move disas.c into the target-independent source set, so that we only have to compile this code once instead multiple times (one time for each target). Marked as RFC since we have to replace the target_ulongs here with hwaddr, and the TARGET_FMT_lx with HWADDR_FMT_plx, which is a little bit ugly ..