e75f9451 | 08-Oct-2024 |
Deepak Gupta <debug@rivosinc.com> |
disas/riscv: enable disassembly for compressed sspush/sspopchk
sspush and sspopchk have equivalent compressed encoding taken from zcmop. cmop.1 is sspush x1 while cmop.5 is sspopchk x5. Due to unusu
disas/riscv: enable disassembly for compressed sspush/sspopchk
sspush and sspopchk have equivalent compressed encoding taken from zcmop. cmop.1 is sspush x1 while cmop.5 is sspopchk x5. Due to unusual encoding for both rs1 and rs2 from space bitfield, this required a new codec.
Signed-off-by: Deepak Gupta <debug@rivosinc.com> Acked-by: Alistair Francis <alistair.francis@wdc.com> Message-ID: <20241008225010.1861630-20-debug@rivosinc.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
show more ...
|
4d46d84e | 05-Jul-2024 |
Balaji Ravikumar <bravikumar@rivosinc.com> |
disas/riscv: Add decode for Zawrs extension
Add disassembly support for these instructions from Zawrs:
* wrs.sto * wrs.nto
Signed-off-by: Balaji Ravikumar <bravikumar@rivosinc.com> Signed-off-by:
disas/riscv: Add decode for Zawrs extension
Add disassembly support for these instructions from Zawrs:
* wrs.sto * wrs.nto
Signed-off-by: Balaji Ravikumar <bravikumar@rivosinc.com> Signed-off-by: Rob Bradford <rbradford@rivosinc.com> Acked-by: Alistair Francis <alistair.francis@wdc.com> Message-ID: <20240705165316.127494-1-rbradford@rivosinc.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
show more ...
|
67e98eba | 09-Jul-2024 |
LIU Zhiwei <zhiwei_liu@linux.alibaba.com> |
disas/riscv: Support zcmop disassemble
Although in QEMU disassemble, we usually lift compressed instruction to an normal format when display the instruction name. For C.MOP.n, it is more reasonable
disas/riscv: Support zcmop disassemble
Although in QEMU disassemble, we usually lift compressed instruction to an normal format when display the instruction name. For C.MOP.n, it is more reasonable to directly display its compressed name, because its behavior can be redefined by later extension.
Signed-off-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com> Acked-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Deepak Gupta <debug@rivosinc.com> Message-ID: <20240709113652.1239-5-zhiwei_liu@linux.alibaba.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
show more ...
|
b89fb575 | 12-Apr-2024 |
Richard Henderson <richard.henderson@linaro.org> |
disas/riscv: Use GString in format_inst
Allocate and fill a GString instead of snprintf and appending to a fixed sized buffer.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Review
disas/riscv: Use GString in format_inst
Allocate and fill a GString instead of snprintf and appending to a fixed sized buffer.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20240412073346.458116-22-richard.henderson@linaro.org>
show more ...
|
a45e0b52 | 12-Apr-2024 |
Richard Henderson <richard.henderson@linaro.org> |
disas/microblaze: Split get_field_special
Extract the raw special index and a function to lookup a name.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Pierrick Bouvie
disas/microblaze: Split get_field_special
Extract the raw special index and a function to lookup a name.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20240412073346.458116-21-richard.henderson@linaro.org>
show more ...
|
b35ab133 | 12-Apr-2024 |
Richard Henderson <richard.henderson@linaro.org> |
disas/microblaze: Print registers directly with PRIrfsl
Use a printf format instead of sprintf into a buffer.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Pierrick B
disas/microblaze: Print registers directly with PRIrfsl
Use a printf format instead of sprintf into a buffer.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20240412073346.458116-20-richard.henderson@linaro.org>
show more ...
|
c521e0a3 | 12-Apr-2024 |
Richard Henderson <richard.henderson@linaro.org> |
disas/microblaze: Print immediates directly with PRIimm
Use a printf format instead of sprintf into a buffer.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Pierrick B
disas/microblaze: Print immediates directly with PRIimm
Use a printf format instead of sprintf into a buffer.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20240412073346.458116-19-richard.henderson@linaro.org>
show more ...
|
b0063d83 | 12-Apr-2024 |
Richard Henderson <richard.henderson@linaro.org> |
disas/microblaze: Print registers directly with PRIreg
Use a printf format instead of sprintf into a buffer.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Pierrick Bo
disas/microblaze: Print registers directly with PRIreg
Use a printf format instead of sprintf into a buffer.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20240412073346.458116-18-richard.henderson@linaro.org>
show more ...
|
de66f9f7 | 12-Apr-2024 |
Richard Henderson <richard.henderson@linaro.org> |
disas/microblaze: Merge op->name output into each fprintf
In the common case, issue one single fprintf.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Pierrick Bouvier
disas/microblaze: Merge op->name output into each fprintf
In the common case, issue one single fprintf.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20240412073346.458116-17-richard.henderson@linaro.org>
show more ...
|
c3c6fed6 | 12-Apr-2024 |
Richard Henderson <richard.henderson@linaro.org> |
disas/microblaze: Re-indent print_insn_microblaze
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20240412073
disas/microblaze: Re-indent print_insn_microblaze
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20240412073346.458116-16-richard.henderson@linaro.org>
show more ...
|
c54c6a10 | 11-Apr-2024 |
Philippe Mathieu-Daudé <philmd@linaro.org> |
disas/microblaze: Replace sprintf() by snprintf()
sprintf() is deprecated on Darwin since macOS 13.0 / XCode 14.1, resulting in painful developper experience. Use snprintf() instead.
Signed-off-by:
disas/microblaze: Replace sprintf() by snprintf()
sprintf() is deprecated on Darwin since macOS 13.0 / XCode 14.1, resulting in painful developper experience. Use snprintf() instead.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com> Message-Id: <20240411104340.6617-3-philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
show more ...
|