From 011acc898923f2511fc4ac2cbd21903cfe297a55 Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Mon, 11 Mar 2019 21:04:02 +0000 Subject: [PATCH] [ARM] Fix availability of FP16-FP64 conversion instructions 2019-03-11 Christophe Lyon * gcc.target/arm/f16_f64_conv_no_dp.c: Add arm_fp16_ok effective target. From-SVN: r269596 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/arm/f16_f64_conv_no_dp.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index aec924f27aa..6ae27496180 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-03-11 Christophe Lyon + + * gcc.target/arm/f16_f64_conv_no_dp.c: Add arm_fp16_ok effective + target. + 2019-03-11 Martin Liska * g++.dg/conversion/simd3.C (foo): Wrap option names diff --git a/gcc/testsuite/gcc.target/arm/f16_f64_conv_no_dp.c b/gcc/testsuite/gcc.target/arm/f16_f64_conv_no_dp.c index 99b62a8ffd5..2620e570004 100644 --- a/gcc/testsuite/gcc.target/arm/f16_f64_conv_no_dp.c +++ b/gcc/testsuite/gcc.target/arm/f16_f64_conv_no_dp.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target arm_fp16_ok } */ /* { dg-skip-if "do not override fpu" { *-*-* } { "-mfpu=*" } { "-mfpu=fpv5-sp-d16" } } */ /* { dg-skip-if "do not disable fpu" { *-*-* } { "-mfloat-abi=soft" } { * } } */ /* { dg-skip-if "do not override fp16-format" { *-*-* } { "-mfp16-format=*" } { "-mfp16-format=ieee" } } */ -- 2.30.2