• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test v2f64 logarithm.
2;
3; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s
4
5declare <2 x double> @llvm.log.v2f64(<2 x double>)
6
7define <2 x double> @f1(<2 x double> %val) {
8; CHECK-LABEL: f1:
9; CHECK: brasl %r14, log@PLT
10; CHECK: brasl %r14, log@PLT
11; CHECK: vmrhg %v24,
12; CHECK: br %r14
13  %ret = call <2 x double> @llvm.log.v2f64(<2 x double> %val)
14  ret <2 x double> %ret
15}
16