From 98864d1ceafe5578608f598f4c6e20a55f62bf9c Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sat, 24 Aug 2019 10:22:48 +0200 Subject: [riscv-bitmanip] Fix [un]shfl shamt length Signed-off-by: Clifford Wolf --- riscv/encoding.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'riscv/encoding.h') diff --git a/riscv/encoding.h b/riscv/encoding.h index 79af160..417fe64 100644 --- a/riscv/encoding.h +++ b/riscv/encoding.h @@ -541,9 +541,9 @@ #define MATCH_PACK 0x8004033 #define MASK_PACK 0xfe00707f #define MATCH_SHFLI 0x8001013 -#define MASK_SHFLI 0xfc00707f +#define MASK_SHFLI 0xfe00707f #define MATCH_UNSHFLI 0x8005013 -#define MASK_UNSHFLI 0xfc00707f +#define MASK_UNSHFLI 0xfe00707f #define MATCH_BMATFLIP 0x60301013 #define MASK_BMATFLIP 0xfff0707f #define MATCH_CRC32_D 0x61301013 -- cgit v1.1