1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -march=ve -mattr=+vpu | FileCheck %s
4 define fastcc <256 x float> @test_vec_fneg_v256f32_v(<256 x float> %v) {
5 ; CHECK-LABEL: test_vec_fneg_v256f32_v:
7 ; CHECK-NEXT: lea %s0, 256
9 ; CHECK-NEXT: vxor %v0, (1)1, %v0
10 ; CHECK-NEXT: b.l.t (, %s10)
11 %neg = fneg <256 x float> %v
12 ret <256 x float> %neg
15 define fastcc <256 x double> @test_vec_fneg_v256f64_v(<256 x double> %v) {
16 ; CHECK-LABEL: test_vec_fneg_v256f64_v:
18 ; CHECK-NEXT: lea %s0, 256
20 ; CHECK-NEXT: vxor %v0, (1)1, %v0
21 ; CHECK-NEXT: b.l.t (, %s10)
22 %neg = fneg <256 x double> %v
23 ret <256 x double> %neg