brintos

brintos / llvm-project-archived public Read only

0
0
Text · 831 B · 608a6bd Raw
25 lines · plain
1; RUN: llc < %s -mtriple=ve -mattr=+vpu | FileCheck %s2 3;;; Test vector compress intrinsic instructions4;;;5;;; Note:6;;;   We test VCP*vml_v instruction.7 8; Function Attrs: nounwind readnone9define fastcc <256 x double> @vcp_vvmvl(<256 x double> %0, <256 x i1> %1, <256 x double> %2) {10; CHECK-LABEL: vcp_vvmvl:11; CHECK:       # %bb.0:12; CHECK-NEXT:    lea %s0, 12813; CHECK-NEXT:    lvl %s014; CHECK-NEXT:    vcp %v1, %v0, %vm115; CHECK-NEXT:    lea %s16, 25616; CHECK-NEXT:    lvl %s1617; CHECK-NEXT:    vor %v0, (0)1, %v118; CHECK-NEXT:    b.l.t (, %s10)19  %4 = tail call fast <256 x double> @llvm.ve.vl.vcp.vvmvl(<256 x double> %0, <256 x i1> %1, <256 x double> %2, i32 128)20  ret <256 x double> %421}22 23; Function Attrs: nounwind readnone24declare <256 x double> @llvm.ve.vl.vcp.vvmvl(<256 x double>, <256 x i1>, <256 x double>, i32)25