Re: [PATCH 02/27] arc: Decoder code

2021-04-06 Thread Richard Henderson
On 4/5/21 7:31 AM, cupertinomira...@gmail.com wrote: +static long long int +extract_uimm6_20(unsigned long long insn ATTRIBUTE_UNUSED, global replace long long int with int64_t, and unsigned long long int with uint64_t. +{ + unsigned value = 0; + + value |= ((insn >> 6) & 0x003f) << 0; + +

[PATCH 02/27] arc: Decoder code

2021-04-05 Thread cupertinomiranda
From: Claudiu Zissulescu The decoder and the disassembler inspired by ARC GNU binutils. Signed-off-by: Claudiu Zissulescu --- disas/arc.c | 422 + target/arc/decoder.c| 1297 +++ target/arc/decoder.h| 351 +++ target