[llvm] c34d2fb - [SPARC] Mark Niagara3 as VIS3-capable

via llvm-commits llvm-commits at lists.llvm.org
Sat May 3 19:39:12 PDT 2025


Author: Koakuma
Date: 2025-05-04T09:39:08+07:00
New Revision: c34d2fb59974dbad07a41987896dff7da8ec8a67

URL: https://github.com/llvm/llvm-project/commit/c34d2fb59974dbad07a41987896dff7da8ec8a67
DIFF: https://github.com/llvm/llvm-project/commit/c34d2fb59974dbad07a41987896dff7da8ec8a67.diff

LOG: [SPARC] Mark Niagara3 as VIS3-capable

>From SPARC T3 Supplement to the UltraSPARC Architecture 2007 Specification:
> T3 SPARC core has a new 9 stage floating point pipeline and added Fused
> Multiply-Add (FMADD) instruction and VIS 3.0 Instructions compared to
> UltraSPARC T2/T2+.

Reviewers: rorth, s-barannikov, brad0

Reviewed By: s-barannikov

Pull Request: https://github.com/llvm/llvm-project/pull/138399

Added: 
    

Modified: 
    llvm/lib/Target/Sparc/Sparc.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/Sparc/Sparc.td b/llvm/lib/Target/Sparc/Sparc.td
index 8b1122741b661..2083c0e763b82 100644
--- a/llvm/lib/Target/Sparc/Sparc.td
+++ b/llvm/lib/Target/Sparc/Sparc.td
@@ -156,7 +156,7 @@ def : Proc<"niagara",         [FeatureV9, FeatureV8Deprecated, FeatureVIS,
 def : Proc<"niagara2",        [FeatureV9, FeatureV8Deprecated, UsePopc,
                                FeatureVIS, FeatureVIS2]>;
 def : Proc<"niagara3",        [FeatureV9, FeatureV8Deprecated, UsePopc,
-                               FeatureVIS, FeatureVIS2]>;
+                               FeatureVIS, FeatureVIS2, FeatureVIS3]>;
 def : Proc<"niagara4",        [FeatureV9, FeatureV8Deprecated, UsePopc,
                                FeatureVIS, FeatureVIS2, FeatureVIS3]>;
 


        


More information about the llvm-commits mailing list