0011-enable-l2-cache-prefetch.patch 773 B

12345678910111213141516171819202122232425
  1. From 04d14996c5141373a8bd4402c2dd3625e0ce2bfd Mon Sep 17 00:00:00 2001
  2. From: "max.ma" <max.ma@starfivetech.com>
  3. Date: Tue, 2 Nov 2021 20:23:54 -0700
  4. Subject: [PATCH 11/11] enable l2 cache prefetch
  5. ---
  6. gas/config/tc-riscv.c | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/gas/config/tc-riscv.c b/gas/config/tc-riscv.c
  9. index 3df6b6c0f6..d473743019 100644
  10. --- a/gas/config/tc-riscv.c
  11. +++ b/gas/config/tc-riscv.c
  12. @@ -1561,7 +1561,7 @@ check_absolute_expr (struct riscv_cl_insn *ip, expressionS *ex,
  13. static bfd_boolean check_pref_type(unsigned long type)
  14. {
  15. - if (type != 0 && type != 1 && type != 3 && type != 8)
  16. + if (type != 0 && type != 1 && type != 2 && type != 3 && type != 8)
  17. as_bad (_("Improper pref type (%lu)"), type);
  18. }
  19. --
  20. 2.33.1