1; Test vector subtraction on z14. 2; 3; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z14 | FileCheck %s 4 5; Test a v4f32 subtraction. 6define <4 x float> @f6(<4 x float> %dummy, <4 x float> %val1, 7 <4 x float> %val2) { 8; CHECK-LABEL: f6: 9; CHECK: vfssb %v24, %v26, %v28 10; CHECK: br %r14 11 %ret = fsub <4 x float> %val1, %val2 12 ret <4 x float> %ret 13} 14 15; Test an f32 subtraction that uses vector registers. 16define float @f7(<4 x float> %val1, <4 x float> %val2) { 17; CHECK-LABEL: f7: 18; CHECK: wfssb %f0, %v24, %v26 19; CHECK: br %r14 20 %scalar1 = extractelement <4 x float> %val1, i32 0 21 %scalar2 = extractelement <4 x float> %val2, i32 0 22 %ret = fsub float %scalar1, %scalar2 23 ret float %ret 24} 25 26; Test a v2f32 subtraction, which gets promoted to v4f32. 27define <2 x float> @f14(<2 x float> %val1, <2 x float> %val2) { 28; No particular output expected, but must compile. 29 %ret = fsub <2 x float> %val1, %val2 30 ret <2 x float> %ret 31} 32