Commit d20faa66 by Kyrylo Tkachov Committed by Kyrylo Tkachov

[AArch64] PR target/70809: Delete aarch64_vmls<mode> pattern

	PR target/70809
	* config/aarch64/aarch64-simd.md (aarch64_vmls<mode>): Delete.

	* gcc.target/aarch64/pr70809_1.c: New test.

From-SVN: r236318
parent 978357b0
2016-05-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR target/70809
* config/aarch64/aarch64-simd.md (aarch64_vmls<mode>): Delete.
2016-05-17 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/aarch64-elf.h (ASM_OUTPUT_DEF): Delete.
......
......@@ -1919,16 +1919,6 @@
}
)
(define_insn "aarch64_vmls<mode>"
[(set (match_operand:VDQF 0 "register_operand" "=w")
(minus:VDQF (match_operand:VDQF 1 "register_operand" "0")
(mult:VDQF (match_operand:VDQF 2 "register_operand" "w")
(match_operand:VDQF 3 "register_operand" "w"))))]
"TARGET_SIMD"
"fmls\\t%0.<Vtype>, %2.<Vtype>, %3.<Vtype>"
[(set_attr "type" "neon_fp_mla_<Vetype>_scalar<q>")]
)
;; FP Max/Min
;; Max/Min are introduced by idiom recognition by GCC's mid-end. An
;; expression like:
......
2016-05-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR target/70809
* gcc.target/aarch64/pr70809_1.c: New test.
2016-05-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.target/aarch64/cpu-diagnostics-1.c: Skip if -mcpu is overriden.
* gcc.target/aarch64/cpu-diagnostics-2.c: Likewise.
* gcc.target/aarch64/cpu-diagnostics-3.c: Likewise.
......
/* PR target/70809. */
/* { dg-do compile } */
/* { dg-options "-O2 -ftree-vectorize -ffp-contract=off -mtune=xgene1" } */
/* Check that vector FMLS is not generated when contraction is disabled. */
void
foo (float *__restrict__ __attribute__ ((aligned (16))) a,
float *__restrict__ __attribute__ ((aligned (16))) x,
float *__restrict__ __attribute__ ((aligned (16))) y,
float *__restrict__ __attribute__ ((aligned (16))) z)
{
unsigned i = 0;
for (i = 0; i < 256; i++)
a[i] = x[i] - (y[i] * z[i]);
}
/* { dg-final { scan-assembler-not "fmls\tv.*" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment