0007-RISC-V-Remove-the-unimplemented-extensions.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. From 5b9cc689d4ba988a2540ea7047f9b285eda3da5a Mon Sep 17 00:00:00 2001
  2. From: Nelson Chu <nelson.chu@sifive.com>
  3. Date: Fri, 20 Nov 2020 16:52:35 +0800
  4. Subject: [PATCH 07/48] RISC-V: Remove the unimplemented extensions.
  5. Although spec had defined and ratified p, v and n extensions,
  6. but we don't have any related implementaitons so far, so keep
  7. them in the supported extension table looks weird. Remove them
  8. until we have the related implementations.
  9. opcodes/
  10. * riscv-opc.c (riscv_ext_version_table): Remove the p, v, n
  11. and their versions.
  12. ---
  13. opcodes/riscv-opc.c | 11 -----------
  14. 1 file changed, 11 deletions(-)
  15. diff --git a/opcodes/riscv-opc.c b/opcodes/riscv-opc.c
  16. index 121f3fee41..7ca44dc5b8 100644
  17. --- a/opcodes/riscv-opc.c
  18. +++ b/opcodes/riscv-opc.c
  19. @@ -921,17 +921,6 @@ const struct riscv_ext_version riscv_ext_version_table[] =
  20. {"c", ISA_SPEC_CLASS_20190608, 2, 0},
  21. {"c", ISA_SPEC_CLASS_2P2, 2, 0},
  22. -{"p", ISA_SPEC_CLASS_20191213, 0, 2},
  23. -{"p", ISA_SPEC_CLASS_20190608, 0, 2},
  24. -{"p", ISA_SPEC_CLASS_2P2, 0, 1},
  25. -
  26. -{"v", ISA_SPEC_CLASS_20191213, 0, 7},
  27. -{"v", ISA_SPEC_CLASS_20190608, 0, 7},
  28. -{"v", ISA_SPEC_CLASS_2P2, 0, 7},
  29. -
  30. -{"n", ISA_SPEC_CLASS_20190608, 1, 1},
  31. -{"n", ISA_SPEC_CLASS_2P2, 1, 1},
  32. -
  33. {"zicsr", ISA_SPEC_CLASS_20191213, 2, 0},
  34. {"zicsr", ISA_SPEC_CLASS_20190608, 2, 0},
  35. --
  36. 2.33.0