Message ID | CO2PR07MB269456276E946DE7CD0387AC83B70@CO2PR07MB2694.namprd07.prod.outlook.com |
---|---|
State | New |
Headers | show |
On 23/11/16 05:25, Hurugalawadi, Naveen wrote: > Hi, > > Please find attached the patch that fixes PR77635. > > Some load pair testcase fails when gcc is configured "--with-cpu=thunderx" > as -mcpu=generic is missed out in them. > The attached patch modifies the testcases to use -mcpu=generic. > > Please review the patch and let me know if its okay? > > 2016-11-23 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> > > * gcc.target/aarch64/ldp_stp_1.c : Add -mcpu=generic. > * gcc.target/aarch64/store-pair-1.c : Likewise. > OK. R.
diff --git a/gcc/testsuite/gcc.target/aarch64/ldp_stp_1.c b/gcc/testsuite/gcc.target/aarch64/ldp_stp_1.c index 9de4e77..89550e0 100644 --- a/gcc/testsuite/gcc.target/aarch64/ldp_stp_1.c +++ b/gcc/testsuite/gcc.target/aarch64/ldp_stp_1.c @@ -1,4 +1,4 @@ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mcpu=generic" } */ int arr[4][4]; diff --git a/gcc/testsuite/gcc.target/aarch64/store-pair-1.c b/gcc/testsuite/gcc.target/aarch64/store-pair-1.c index a90fc61..b8e762b 100644 --- a/gcc/testsuite/gcc.target/aarch64/store-pair-1.c +++ b/gcc/testsuite/gcc.target/aarch64/store-pair-1.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mcpu=generic" } */ int f(int *a, int b) {