[v2,1/5] RISC-V: Add mininal support for Zicbo[mpz]

Message ID 564db543e58099937690bab62c194f94508888b9.1641896546.git.research_trasio@irq.a4lg.com
State New
Headers show
Series
  • RISC-V: Add Ratified Cache Management Operation ISA Extensions
Related show

Commit Message

H.J. Lu via Binutils Jan. 11, 2022, 10:23 a.m.
Minimal support for 'Zicbom', 'Zicboz' and 'Zicbop' extensions.

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_supported_std_z_ext): Add 'Zicbom',
	'Zicbop' and 'Zicboz' standard 'Z' extensions.
---
 bfd/elfxx-riscv.c | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.32.0

Patch

diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c
index 9f52bb545ac..3761811d4fd 100644
--- a/bfd/elfxx-riscv.c
+++ b/bfd/elfxx-riscv.c
@@ -1179,6 +1179,9 @@  static struct riscv_supported_ext riscv_supported_std_ext[] =
 
 static struct riscv_supported_ext riscv_supported_std_z_ext[] =
 {
+  {"zicbom",		ISA_SPEC_CLASS_DRAFT,		1, 0,  0 },
+  {"zicbop",		ISA_SPEC_CLASS_DRAFT,		1, 0,  0 },
+  {"zicboz",		ISA_SPEC_CLASS_DRAFT,		1, 0,  0 },
   {"zicsr",		ISA_SPEC_CLASS_20191213,	2, 0,  0 },
   {"zicsr",		ISA_SPEC_CLASS_20190608,	2, 0,  0 },
   {"zifencei",		ISA_SPEC_CLASS_20191213,	2, 0,  0 },