1 ! RUN: %flang_fc1 -triple powerpc64le-unknown-unknown -target-cpu pwr10 -emit-llvm %s -o - | FileCheck --check-prefixes="CHECK" %s
2 ! REQUIRES: target=powerpc{{.*}}
4 subroutine test_xxmfacc()
9 end subroutine test_xxmfacc
11 !CHECK-LABEL: @test_xxmfacc_
12 !CHECK: %1 = alloca <512 x i1>, i64 1, align 64
13 !CHECK: %2 = load <512 x i1>, ptr %1, align 64
14 !CHECK: %3 = call <512 x i1> @llvm.ppc.mma.xxmfacc(<512 x i1> %2)
15 !CHECK: store <512 x i1> %3, ptr %1, align 64
17 subroutine test_xxmtacc()
22 end subroutine test_xxmtacc
24 !CHECK-LABEL: @test_xxmtacc_
25 !CHECK: %1 = alloca <512 x i1>, i64 1, align 64
26 !CHECK: %2 = load <512 x i1>, ptr %1, align 64
27 !CHECK: %3 = call <512 x i1> @llvm.ppc.mma.xxmtacc(<512 x i1> %2)
28 !CHECK: store <512 x i1> %3, ptr %1, align 64
30 subroutine test_xxsetaccz()
34 call mma_xxsetaccz(cq
)
35 end subroutine test_xxsetaccz
37 !CHECK-LABEL: @test_xxsetaccz_
38 !CHECK: %1 = alloca <512 x i1>, i64 1, align 64
39 !CHECK: %2 = call <512 x i1> @llvm.ppc.mma.xxsetaccz()
40 !CHECK: store <512 x i1> %2, ptr %1, align 64