[llvm] [RISCV] RVA23S64 should include H extension (PR #115572)

Petr Penzin via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 8 16:32:10 PST 2024


https://github.com/ppenzin created https://github.com/llvm/llvm-project/pull/115572

RVA23 defines Hypervisor (H) extension to be required for RVA23S64:

https://drive.google.com/file/d/12QKRm92cLcEk8-5J9NI91m0fAQOxqNAq/view?usp=sharing

>From b2c17eb2aeb35e403b85981d4c22ff2d21877163 Mon Sep 17 00:00:00 2001
From: Petr Penzin <ppenzin at tenstorrent.com>
Date: Fri, 8 Nov 2024 16:31:34 -0800
Subject: [PATCH] [RISCV] RVA23S64 should include H extension

RVA23 defines Hypervisor (H) extension to be required for RVA23S64:

https://drive.google.com/file/d/12QKRm92cLcEk8-5J9NI91m0fAQOxqNAq/view?usp=sharing
---
 llvm/lib/Target/RISCV/RISCVProfiles.td | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/llvm/lib/Target/RISCV/RISCVProfiles.td b/llvm/lib/Target/RISCV/RISCVProfiles.td
index cbf2a2eddf38ed..a2bedb4be83567 100644
--- a/llvm/lib/Target/RISCV/RISCVProfiles.td
+++ b/llvm/lib/Target/RISCV/RISCVProfiles.td
@@ -77,7 +77,8 @@ defvar RVA23U64Features = !listconcat(RVA22U64Features,
                                        FeatureStdExtSupm]);
 
 defvar RVA23S64BaseFeatures = !listconcat(RVA22S64BaseFeatures,
-                                          [FeatureStdExtSvnapot,
+                                          [FeatureStdExtH,
+                                           FeatureStdExtSvnapot,
                                            FeatureStdExtSstc,
                                            FeatureStdExtSscofpmf,
                                            FeatureStdExtSsnpm,



More information about the llvm-commits mailing list