mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-01 07:44:05 +08:00
PR testsuite/92127: Disable unrolling for some vect code model cases
2019-11-01 Kewen Lin <linkw@gcc.gnu.org> PR testsuite/92127 * gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c: Disable unroll. * gcc.dg/vect/costmodel/ppc/costmodel-fast-math-vect-pr29925.c: Likewise. From-SVN: r277704
This commit is contained in:
parent
52c826885f
commit
271da73284
@ -1,3 +1,10 @@
|
|||||||
|
2019-11-01 Kewen Lin <linkw@gcc.gnu.org>
|
||||||
|
|
||||||
|
PR testsuite/92127
|
||||||
|
* gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c: Disable unroll.
|
||||||
|
* gcc.dg/vect/costmodel/ppc/costmodel-fast-math-vect-pr29925.c:
|
||||||
|
Likewise.
|
||||||
|
|
||||||
2019-10-31 Alexandre Oliva <oliva@adacore.com>
|
2019-10-31 Alexandre Oliva <oliva@adacore.com>
|
||||||
|
|
||||||
* gcc.misc-tests/help.exp: Test --help=common for full sentences.
|
* gcc.misc-tests/help.exp: Test --help=common for full sentences.
|
||||||
|
@ -13,6 +13,8 @@ interp_pitch(float *exc, float *interp, int pitch, int len)
|
|||||||
for (i=0;i<len;i++)
|
for (i=0;i<len;i++)
|
||||||
{
|
{
|
||||||
float tmp = 0;
|
float tmp = 0;
|
||||||
|
/* PR92127, disable unroll to avoid unexpected profit calculation. */
|
||||||
|
#pragma GCC unroll 0
|
||||||
for (k=0;k<7;k++)
|
for (k=0;k<7;k++)
|
||||||
{
|
{
|
||||||
tmp += exc[i-pitch+k+maxj-6];
|
tmp += exc[i-pitch+k+maxj-6];
|
||||||
|
@ -9,6 +9,8 @@ ggSpectrum_Set8(float * data, float d)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
/* PR92127, disable unroll to avoid unexpected profit calculation. */
|
||||||
|
#pragma GCC unroll 0
|
||||||
for (i = 0; i < 8; i++)
|
for (i = 0; i < 8; i++)
|
||||||
data[i] = d;
|
data[i] = d;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user