RISC-V: Remove redundant RVV opcode definitions

Message ID 20230725104738.8619-1-jiawei@iscas.ac.cn
State Unresolved
Headers
Series RISC-V: Remove redundant RVV opcode definitions |

Checks

Context Check Description
snail/binutils-gdb-check warning Git am fail log

Commit Message

Jiawei July 25, 2023, 10:47 a.m. UTC
  Remove redundant rvv opcodes that not use currently.

include/ChangeLog:

        * opcode/riscv-opc.h (MATCH_VDOTVV): Deleted.
        (MASK_VDOTVV): Ditto.
        (MATCH_VDOTUVV): Ditto.
        (MASK_VDOTUVV): Ditto.
        (MATCH_VFDOTVV): Ditto.
        (MASK_VFDOTVV): Ditto.

---
 include/opcode/riscv-opc.h | 6 ------
 1 file changed, 6 deletions(-)
  

Comments

Kito Cheng July 25, 2023, 1:27 p.m. UTC | #1
Reviewed-by: Kito Cheng <kito.cheng@sifive.com>

On Tue, Jul 25, 2023 at 6:47 PM Jiawei <jiawei@iscas.ac.cn> wrote:
>
> Remove redundant rvv opcodes that not use currently.
>
> include/ChangeLog:
>
>         * opcode/riscv-opc.h (MATCH_VDOTVV): Deleted.
>         (MASK_VDOTVV): Ditto.
>         (MATCH_VDOTUVV): Ditto.
>         (MASK_VDOTUVV): Ditto.
>         (MATCH_VFDOTVV): Ditto.
>         (MASK_VFDOTVV): Ditto.
>
> ---
>  include/opcode/riscv-opc.h | 6 ------
>  1 file changed, 6 deletions(-)
>
> diff --git a/include/opcode/riscv-opc.h b/include/opcode/riscv-opc.h
> index 53f5f200508..e3ffc9092c9 100644
> --- a/include/opcode/riscv-opc.h
> +++ b/include/opcode/riscv-opc.h
> @@ -2115,12 +2115,6 @@
>  #define MASK_VMV4RV  0xfe0ff07f
>  #define MATCH_VMV8RV  0x9e03b057
>  #define MASK_VMV8RV  0xfe0ff07f
> -#define MATCH_VDOTVV  0xe4000057
> -#define MASK_VDOTVV  0xfc00707f
> -#define MATCH_VDOTUVV  0xe0000057
> -#define MASK_VDOTUVV  0xfc00707f
> -#define MATCH_VFDOTVV  0xe4001057
> -#define MASK_VFDOTVV  0xfc00707f
>  /* Zvbb instructions.  */
>  #define MATCH_VANDN_VV 0x4000057
>  #define MASK_VANDN_VV 0xfc00707f
> --
> 2.25.1
>
  

Patch

diff --git a/include/opcode/riscv-opc.h b/include/opcode/riscv-opc.h
index 53f5f200508..e3ffc9092c9 100644
--- a/include/opcode/riscv-opc.h
+++ b/include/opcode/riscv-opc.h
@@ -2115,12 +2115,6 @@ 
 #define MASK_VMV4RV  0xfe0ff07f
 #define MATCH_VMV8RV  0x9e03b057
 #define MASK_VMV8RV  0xfe0ff07f
-#define MATCH_VDOTVV  0xe4000057
-#define MASK_VDOTVV  0xfc00707f
-#define MATCH_VDOTUVV  0xe0000057
-#define MASK_VDOTUVV  0xfc00707f
-#define MATCH_VFDOTVV  0xe4001057
-#define MASK_VFDOTVV  0xfc00707f
 /* Zvbb instructions.  */
 #define MATCH_VANDN_VV 0x4000057
 #define MASK_VANDN_VV 0xfc00707f