0017-add-miss-change-riscv-opc.h-for-rvv1.0.patch 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. From 934316687cfbd86ae14e073dbdc9f4c88cf61f22 Mon Sep 17 00:00:00 2001
  2. From: "eric.tang" <eric.tang@starfivetech.com>
  3. Date: Fri, 15 Apr 2022 16:00:53 +0800
  4. Subject: [PATCH 17/18] add miss change riscv-opc.h for rvv1.0
  5. Signed-off-by: eric.tang <eric.tang@starfivetech.com>
  6. ---
  7. include/opcode/riscv-opc.h | 12 ++++++------
  8. 1 file changed, 6 insertions(+), 6 deletions(-)
  9. diff --git a/include/opcode/riscv-opc.h b/include/opcode/riscv-opc.h
  10. index 8963216302..bc43e710f6 100644
  11. --- a/include/opcode/riscv-opc.h
  12. +++ b/include/opcode/riscv-opc.h
  13. @@ -2531,21 +2531,21 @@ funct6 VM VS2 VS1/RS1/IMM funct3 VD opcode
  14. #define MASK_VMANDMM 0xfe00707f
  15. #define MATCH_VMNANDMM 0x76002057
  16. #define MASK_VMNANDMM 0xfe00707f
  17. -#define MATCH_VMANDNOTMM 0x62002057
  18. -#define MASK_VMANDNOTMM 0xfe00707f
  19. +#define MATCH_VMANDNMM 0x62002057
  20. +#define MASK_VMANDNMM 0xfe00707f
  21. #define MATCH_VMXORMM 0x6e002057
  22. #define MASK_VMXORMM 0xfe00707f
  23. #define MATCH_VMORMM 0x6a002057
  24. #define MASK_VMORMM 0xfe00707f
  25. #define MATCH_VMNORMM 0x7a002057
  26. #define MASK_VMNORMM 0xfe00707f
  27. -#define MATCH_VMORNOTMM 0x72002057
  28. -#define MASK_VMORNOTMM 0xfe00707f
  29. +#define MATCH_VMORNMM 0x72002057
  30. +#define MASK_VMORNMM 0xfe00707f
  31. #define MATCH_VMXNORMM 0x7e002057
  32. #define MASK_VMXNORMM 0xfe00707f
  33. -#define MATCH_VPOPCM 0x40082057
  34. -#define MASK_VPOPCM 0xfc0ff07f
  35. +#define MATCH_VCPOPM 0x40082057
  36. +#define MASK_VCPOPM 0xfc0ff07f
  37. #define MATCH_VFIRSTM 0x4008a057
  38. #define MASK_VFIRSTM 0xfc0ff07f
  39. --
  40. 2.25.1