On 2022/11/15 21:44, Richard Henderson wrote:
On 11/13/22 12:32, Weiwei Li wrote:
{
sq 101 ... ... .. ... 10 @c_sqsp
c_fsd 101 .. . 10 @c_sdsp
+
+ # *** RV64 and RV32 Zcmp Extension ***
+ cm_push 101 11000 .. 10 @zcmp
+ cm_pop
On 11/13/22 12:32, Weiwei Li wrote:
{
sq 101 ... ... .. ... 10 @c_sqsp
c_fsd 101 .. . 10 @c_sdsp
+
+ # *** RV64 and RV32 Zcmp Extension ***
+ cm_push 101 11000 .. 10 @zcmp
+ cm_pop 101 11010 .. 10 @zcmp
+ cm_popret
Add encode, trans* functions and helper functions support for Zcmp
instructions
Signed-off-by: Weiwei Li
Signed-off-by: Junqiang Wang
---
target/riscv/helper.h | 6 +
target/riscv/insn16.decode| 16 ++
target/riscv/insn_trans/trans_rvzce.c.inc | 107 ++