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