================
@@ -796,6 +796,16 @@ def SVSCALE_N_M : SInst<"svscale[_n_{d}]", "dPdK", "hfd", 
MergeOp1,  "aarch64_sv
 def SVSCALE_N_X : SInst<"svscale[_n_{d}]", "dPdK", "hfd", MergeAny,  
"aarch64_sve_fscale", [VerifyRuntimeMode]>;
 def SVSCALE_N_Z : SInst<"svscale[_n_{d}]", "dPdK", "hfd", MergeZero, 
"aarch64_sve_fscale", [VerifyRuntimeMode]>;
 
+let SVETargetGuard = "sve-bfscale", SMETargetGuard = "sve-bfscale,sme2" in {
+  def SVSCALE_BF_M : SInst<"svscale[_{d}]",   "dPdx", "b", MergeOp1,  
"aarch64_sve_fscale", [VerifyRuntimeMode]>;
+  def SVSCALE_BF_X : SInst<"svscale[_{d}]",   "dPdx", "b", MergeAny,  
"aarch64_sve_fscale", [VerifyRuntimeMode]>;
+  def SVSCALE_BF_Z : SInst<"svscale[_{d}]",   "dPdx", "b", MergeZero, 
"aarch64_sve_fscale", [VerifyRuntimeMode]>;
+
+  def SVSCALE_BF_N_M : SInst<"svscale[_n_{d}]", "dPdK", "b", MergeOp1,  
"aarch64_sve_fscale", [VerifyRuntimeMode]>;
+  def SVSCALE_BF_N_X : SInst<"svscale[_n_{d}]", "dPdK", "b", MergeAny,  
"aarch64_sve_fscale", [VerifyRuntimeMode]>;
+  def SVSCALE_BF_N_Z : SInst<"svscale[_n_{d}]", "dPdK", "b", MergeZero, 
"aarch64_sve_fscale", [VerifyRuntimeMode]>;
----------------
kmclaughlin-arm wrote:

There are multivector bfloat `svscale` instructions defined later in this file 
that start with `SVBFSCALE`, might be worth naming these similarly?

https://github.com/llvm/llvm-project/pull/172025
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to