Re: [Qemu-devel] [PATCH v4 4/9] disas: Support the Capstone disassembler library

2017-10-03 Thread Philippe Mathieu-Daudé
On 10/02/2017 10:51 PM, Richard Henderson wrote: > On 10/02/2017 02:45 PM, Philippe Mathieu-Daudé wrote: >> On 10/02/2017 03:34 PM, Richard Henderson wrote: >>> On 10/02/2017 09:36 AM, Philippe Mathieu-Daudé wrote: Maybe some defines like: #define LARGEST_TARGET_INSTR_SIZE 32 >>

Re: [Qemu-devel] [PATCH v4 4/9] disas: Support the Capstone disassembler library

2017-10-02 Thread Richard Henderson
On 10/02/2017 02:45 PM, Philippe Mathieu-Daudé wrote: > On 10/02/2017 03:34 PM, Richard Henderson wrote: >> On 10/02/2017 09:36 AM, Philippe Mathieu-Daudé wrote: >>> Maybe some defines like: >>> >>> #define LARGEST_TARGET_INSTR_SIZE 32 >>> >>> #define MINIMUM_TARGET_PAGE_SIZE 1024 >> >> Eh.  If I w

[Qemu-devel] [PATCH v4 4/9] disas: Support the Capstone disassembler library

2017-09-28 Thread Richard Henderson
If configured, prefer this over our rather dated copy of the GPLv2-only binutils. This will be especially apparent with the proposed vector extensions to TCG, as disas/i386.c does not handle AVX. Signed-off-by: Richard Henderson --- include/disas/bfd.h | 4 + include/disas/capstone.h |