brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · ce07f20 Raw
41 lines · plain
1! RUN: %flang_fc1 -flang-experimental-hlfir -triple powerpc64le-unknown-unknown -target-cpu pwr10 -emit-llvm %s -o - | FileCheck --check-prefixes="LLVMIR" %s2! REQUIRES: target=powerpc{{.*}}3 4      subroutine test_xxmfacc()5      use, intrinsic :: mma6      implicit none7      __vector_quad :: cq8      call mma_xxmfacc(cq)9      end subroutine test_xxmfacc10 11!CHECK-LABEL: @test_xxmfacc_12!LLVMIR:  %1 = alloca <512 x i1>, i64 1, align 6413!LLVMIR:  %2 = load <512 x i1>, ptr %1, align 6414!LLVMIR:  %3 = call <512 x i1> @llvm.ppc.mma.xxmfacc(<512 x i1> %2)15!LLVMIR:  store <512 x i1> %3, ptr %1, align 6416 17      subroutine test_xxmtacc()18      use, intrinsic :: mma19      implicit none20      __vector_quad :: cq21      call mma_xxmtacc(cq)22      end subroutine test_xxmtacc23 24!CHECK-LABEL: @test_xxmtacc_25!LLVMIR:  %1 = alloca <512 x i1>, i64 1, align 6426!LLVMIR:  %2 = load <512 x i1>, ptr %1, align 6427!LLVMIR:  %3 = call <512 x i1> @llvm.ppc.mma.xxmtacc(<512 x i1> %2)28!LLVMIR:  store <512 x i1> %3, ptr %1, align 6429 30      subroutine test_xxsetaccz()31      use, intrinsic :: mma32      implicit none33      __vector_quad :: cq34      call mma_xxsetaccz(cq)35      end subroutine test_xxsetaccz36 37!CHECK-LABEL: @test_xxsetaccz_38!LLVMIR:  %1 = alloca <512 x i1>, i64 1, align 6439!LLVMIR:  %2 = call <512 x i1> @llvm.ppc.mma.xxsetaccz()40!LLVMIR:  store <512 x i1> %2, ptr %1, align 6441