1; Test strict 128-bit floating-point square root on z14. 2; 3; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z14 | FileCheck %s 4 5declare fp128 @llvm.experimental.constrained.sqrt.f128(fp128, metadata, metadata) 6 7define void @f1(fp128 *%ptr) strictfp { 8; CHECK-LABEL: f1: 9; CHECK-DAG: vl [[REG:%v[0-9]+]], 0(%r2) 10; CHECK: wfsqxb [[RES:%v[0-9]+]], [[REG]] 11; CHECK: vst [[RES]], 0(%r2) 12; CHECK: br %r14 13 %f = load fp128, fp128 *%ptr 14 %res = call fp128 @llvm.experimental.constrained.sqrt.f128( 15 fp128 %f, 16 metadata !"round.dynamic", 17 metadata !"fpexcept.strict") strictfp 18 store fp128 %res, fp128 *%ptr 19 ret void 20} 21