blob: 688fd9a235f02df7fee028c85047a7e5e3bebffc [file] [log] [blame]
/* { dg-do compile } */
/* { dg-require-effective-target arm_v8_2a_fp16_neon_ok } */
/* { dg-add-options arm_v8_2a_fp16_neon } */
/* { dg-additional-options "-O3 -funsafe-math-optimizations" } */
#include "mve-vcmp-f16.c"
/* 'ne' uses vceq. */
/* le and lt use ge and gt with inverted operands. */
/* { dg-final { scan-assembler-times {\tvceq.f16\tq[0-9]+, q[0-9]+, q[0-9]+\n} 2 } } */
/* { dg-final { scan-assembler-times {\tvcge.f16\tq[0-9]+, q[0-9]+, q[0-9]+\n} 2 } } */
/* { dg-final { scan-assembler-times {\tvcgt.f16\tq[0-9]+, q[0-9]+, q[0-9]+\n} 2 } } */