From: Tamar Christina Date: Mon, 12 Jun 2017 14:23:22 +0000 (+0000) Subject: inline-lrint_1.c: Broaden regexp. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64ff4f60d0ac97acdfd869d3655cc962923faa20;p=gcc.git inline-lrint_1.c: Broaden regexp. 2017-06-12 Tamar Christina * gcc.target/aarch64/inline-lrint_1.c: Broaden regexp. * gcc.target/aarch64/inline-lrint_2.c: Likewise. * gcc.target/aarch64/no-inline-lrint_1.c: Likewise. * gcc.target/aarch64/no-inline-lrint_2.c: Likewise. From-SVN: r249127 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8b48a411f61..6568326db63 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2017-06-12 Tamar Christina + + * gcc.target/aarch64/inline-lrint_1.c: Broaden regexp. + * gcc.target/aarch64/inline-lrint_2.c: Likewise. + * gcc.target/aarch64/no-inline-lrint_1.c: Likewise. + * gcc.target/aarch64/no-inline-lrint_2.c: Likewise. + 2017-06-12 Tamar Christina * gcc.target/arm/sdiv_costs_1.c: Require arm_v8_vfp_ok. diff --git a/gcc/testsuite/gcc.target/aarch64/inline-lrint_1.c b/gcc/testsuite/gcc.target/aarch64/inline-lrint_1.c index 876cecd674b..478875ff874 100644 --- a/gcc/testsuite/gcc.target/aarch64/inline-lrint_1.c +++ b/gcc/testsuite/gcc.target/aarch64/inline-lrint_1.c @@ -13,8 +13,6 @@ TEST (fif, float , int, ) TEST (dlld, double, long long, l) TEST (fllf, float , long long, l) -/* { dg-final { scan-assembler-times "frintx\td\[0-9\]+, d\[0-9\]+" 3 } } */ -/* { dg-final { scan-assembler-times "frintx\ts\[0-9\]+, s\[0-9\]+" 3 } } */ -/* { dg-final { scan-assembler-times "fcvtzs\tx\[0-9\]+, d\[0-9\]+" 3 } } */ -/* { dg-final { scan-assembler-times "fcvtzs\tx\[0-9\]+, s\[0-9\]+" 3 } } */ +/* { dg-final { scan-assembler-times "frintx\t\[d,s\]\[0-9\]+, \[d,s\]\[0-9\]+" 6 } } */ +/* { dg-final { scan-assembler-times "fcvtzs\tx\[0-9\]+, \[d,s\]\[0-9\]+" 6 } } */ /* { dg-final { scan-assembler-not "bl" } } */ diff --git a/gcc/testsuite/gcc.target/aarch64/inline-lrint_2.c b/gcc/testsuite/gcc.target/aarch64/inline-lrint_2.c index baa5aee7617..6080e186d8f 100644 --- a/gcc/testsuite/gcc.target/aarch64/inline-lrint_2.c +++ b/gcc/testsuite/gcc.target/aarch64/inline-lrint_2.c @@ -13,10 +13,6 @@ TEST (fif, float , int, ) TEST (dlld, double, long long, l) TEST (fllf, float , long long, l) -/* { dg-final { scan-assembler-times "frintx\td\[0-9\]+, d\[0-9\]+" 3 } } */ -/* { dg-final { scan-assembler-times "frintx\ts\[0-9\]+, s\[0-9\]+" 3 } } */ -/* { dg-final { scan-assembler-times "fcvtzs\tx\[0-9\]+, d\[0-9\]+" 1 } } */ -/* { dg-final { scan-assembler-times "fcvtzs\tx\[0-9\]+, s\[0-9\]+" 1 } } */ -/* { dg-final { scan-assembler-times "fcvtzs\tw\[0-9\]+, d\[0-9\]+" 2 } } */ -/* { dg-final { scan-assembler-times "fcvtzs\tw\[0-9\]+, s\[0-9\]+" 2 } } */ +/* { dg-final { scan-assembler-times "frintx\t\[d,s\]\[0-9\]+, \[d,s\]\[0-9\]+" 6 } } */ +/* { dg-final { scan-assembler-times "fcvtzs\t\[w,x\]\[0-9\]+, \[d,s\]\[0-9\]+" 6 } } */ /* { dg-final { scan-assembler-not "bl" } } */ diff --git a/gcc/testsuite/gcc.target/aarch64/no-inline-lrint_1.c b/gcc/testsuite/gcc.target/aarch64/no-inline-lrint_1.c index fb7f0655687..d5e9200562c 100644 --- a/gcc/testsuite/gcc.target/aarch64/no-inline-lrint_1.c +++ b/gcc/testsuite/gcc.target/aarch64/no-inline-lrint_1.c @@ -13,8 +13,7 @@ TEST (fif, float , int, ) TEST (dlld, double, long long, l) TEST (fllf, float , long long, l) -/* { dg-final { scan-assembler-times "frintx\td\[0-9\]+, d\[0-9\]+" 3 } } */ -/* { dg-final { scan-assembler-times "frintx\ts\[0-9\]+, s\[0-9\]+" 3 } } */ +/* { dg-final { scan-assembler-times "frintx\t\[d,s\]\[0-9\]+, \[d,s\]\[0-9\]+" 6 } } */ /* { dg-final { scan-assembler-times "bl\tlrint" 4 } } */ /* { dg-final { scan-assembler-times "bl\tllrint" 2 } } */ /* { dg-final { scan-assembler-not "fcvtzs" } } */ diff --git a/gcc/testsuite/gcc.target/aarch64/no-inline-lrint_2.c b/gcc/testsuite/gcc.target/aarch64/no-inline-lrint_2.c index c99843c3a25..05c0a2affa0 100644 --- a/gcc/testsuite/gcc.target/aarch64/no-inline-lrint_2.c +++ b/gcc/testsuite/gcc.target/aarch64/no-inline-lrint_2.c @@ -13,8 +13,7 @@ TEST (fif, float , int, ) TEST (dlld, double, long long, l) TEST (fllf, float , long long, l) -/* { dg-final { scan-assembler-times "frintx\td\[0-9\]+, d\[0-9\]+" 3 } } */ -/* { dg-final { scan-assembler-times "frintx\ts\[0-9\]+, s\[0-9\]+" 3 } } */ +/* { dg-final { scan-assembler-times "frintx\t\[d,s\]\[0-9\]+, \[d,s\]\[0-9\]+" 6 } } */ /* { dg-final { scan-assembler-times "bl\tlrint" 4 } } */ /* { dg-final { scan-assembler-times "bl\tllrint" 2 } } */ /* { dg-final { scan-assembler-not "fcvtzs" } } */