[clang] [llvm] [AArch64] Implements FP8 SVE intrinsics for dot-product (PR #118125)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 6 07:59:10 PST 2024
================
@@ -10877,24 +10923,37 @@ class sve_fp8_dot_indexed<bits<4> opc, ZPRRegOp dst_ty, Operand iop_ty, string m
let DestructiveInstType = DestructiveOther;
let hasSideEffects = 0;
let mayRaiseFPException = 1;
+
+ let mayLoad = 1;
+ let mayStore = 0;
}
// FP8 Widening Dot-Product - Indexed Group
-multiclass sve2_fp8_dot_indexed_h<string asm>{
- def NAME : sve_fp8_dot_indexed<{0, ?, ?, ?}, ZPR16, VectorIndexH, asm> {
+multiclass sve2_fp8_dot_indexed_h<string asm, SDPatternOperator op> {
+ def NAME : sve_fp8_dot_indexed<{0, ?, ?, ?}, ZPR16, VectorIndexH32b, asm> {
bits<3> iop;
let Inst{20-19} = iop{2-1};
let Inst{11} = iop{0};
+
+ let mayLoad = 1;
----------------
CarolineConcatto wrote:
Do we need to repeat this here if the class sve_fp8_dot_indexed already have:
let mayLoad = 1;
let mayStore = 0;
https://github.com/llvm/llvm-project/pull/118125
More information about the cfe-commits
mailing list