Re: [Qemu-devel] [PATCH 01/28] targer/riscv: Activate decodetree and implemnt LUI & AUIPC

2018-10-12 Thread Richard Henderson
On 10/12/18 10:30 AM, Bastian Koppelmann wrote: > +#define EX_SH(amount) \ > +static int64_t ex_shift_##amount(int imm) \ > +{ \ > +return imm << amount; \ > +} The int64_t return doesn't help, because it'll be stored

[Qemu-devel] [PATCH 01/28] targer/riscv: Activate decodetree and implemnt LUI & AUIPC

2018-10-12 Thread Bastian Koppelmann
for now only LUI & AUIPC are decoded and translated. If decodetree fails, we falls back to the old decoder. Signed-off-by: Bastian Koppelmann Signed-off-by: Peer Adelt --- target/riscv/Makefile.objs | 10 +++ target/riscv/insn32.decode | 30 +