diff options
author | Chih-Min Chao <48193236+chihminchao@users.noreply.github.com> | 2021-01-18 15:56:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-17 23:56:00 -0800 |
commit | 9bfb43c668848a4850d5805b9adb8ad18e7f43b6 (patch) | |
tree | 06e84064aae14771ab3159e2549185142f8bf3fc /riscv/encoding.h | |
parent | 35d50bc40e59ea1d5566fbd3d9226023821b1bb6 (diff) | |
download | spike-9bfb43c668848a4850d5805b9adb8ad18e7f43b6.zip spike-9bfb43c668848a4850d5805b9adb8ad18e7f43b6.tar.gz spike-9bfb43c668848a4850d5805b9adb8ad18e7f43b6.tar.bz2 |
rvb: add xperm.[nbhw] (#629)
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
Diffstat (limited to 'riscv/encoding.h')
-rw-r--r-- | riscv/encoding.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/riscv/encoding.h b/riscv/encoding.h index 448d6af..af2b786 100644 --- a/riscv/encoding.h +++ b/riscv/encoding.h @@ -1,6 +1,6 @@ /* * This file is auto-generated by running 'make ../riscv-isa-sim/riscv/encoding.h' in - * https://github.com/riscv/riscv-opcodes (2aa7492) + * https://github.com/riscv/riscv-opcodes (c4d2cc0) */ /* See LICENSE for license details. */ @@ -838,6 +838,12 @@ #define MASK_SHFLI 0xfe00707f #define MATCH_UNSHFLI 0x8005013 #define MASK_UNSHFLI 0xfe00707f +#define MATCH_XPERM_N 0x28002033 +#define MASK_XPERM_N 0xfe00707f +#define MATCH_XPERM_B 0x28004033 +#define MASK_XPERM_B 0xfe00707f +#define MATCH_XPERM_H 0x28006033 +#define MASK_XPERM_H 0xfe00707f #define MATCH_BMATFLIP 0x60301013 #define MASK_BMATFLIP 0xfff0707f #define MATCH_CRC32_D 0x61301013 @@ -920,6 +926,8 @@ #define MASK_PACKUW 0xfe00707f #define MATCH_BFPW 0x4800703b #define MASK_BFPW 0xfe00707f +#define MATCH_XPERM_W 0x28000033 +#define MASK_XPERM_W 0xfe00707f #define MATCH_ECALL 0x73 #define MASK_ECALL 0xffffffff #define MATCH_EBREAK 0x100073 @@ -2630,6 +2638,9 @@ DECLARE_INSN(packh, MATCH_PACKH, MASK_PACKH) DECLARE_INSN(bfp, MATCH_BFP, MASK_BFP) DECLARE_INSN(shfli, MATCH_SHFLI, MASK_SHFLI) DECLARE_INSN(unshfli, MATCH_UNSHFLI, MASK_UNSHFLI) +DECLARE_INSN(xperm_n, MATCH_XPERM_N, MASK_XPERM_N) +DECLARE_INSN(xperm_b, MATCH_XPERM_B, MASK_XPERM_B) +DECLARE_INSN(xperm_h, MATCH_XPERM_H, MASK_XPERM_H) DECLARE_INSN(bmatflip, MATCH_BMATFLIP, MASK_BMATFLIP) DECLARE_INSN(crc32_d, MATCH_CRC32_D, MASK_CRC32_D) DECLARE_INSN(crc32c_d, MATCH_CRC32C_D, MASK_CRC32C_D) @@ -2671,6 +2682,7 @@ DECLARE_INSN(bdecompressw, MATCH_BDECOMPRESSW, MASK_BDECOMPRESSW) DECLARE_INSN(packw, MATCH_PACKW, MASK_PACKW) DECLARE_INSN(packuw, MATCH_PACKUW, MASK_PACKUW) DECLARE_INSN(bfpw, MATCH_BFPW, MASK_BFPW) +DECLARE_INSN(xperm_w, MATCH_XPERM_W, MASK_XPERM_W) DECLARE_INSN(ecall, MATCH_ECALL, MASK_ECALL) DECLARE_INSN(ebreak, MATCH_EBREAK, MASK_EBREAK) DECLARE_INSN(uret, MATCH_URET, MASK_URET) |