On Wed, 2018-12-19 at 23:57 +0100, Jakub Jelinek wrote: > On Wed, Dec 19, 2018 at 10:10:19PM +0000, Steve Ellcey wrote: > > @@ -199,6 +201,7 @@ int B<int>::f25<7> (int a, int *b, int c) > > // { dg-final { scan-assembler-times > > "_ZGVdN8vuva32u__ZN1BIiE3f25ILi7EEEiiPii:" 1 { target { i?86-*-* > > x86_64-*-* } } } } > > // { dg-final { scan-assembler-times > > "_ZGVeM8vuva32u__ZN1BIiE3f25ILi7EEEiiPii:" 1 { target { i?86-*-* > > x86_64-*-* } } } } > > // { dg-final { scan-assembler-times > > "_ZGVeN8vuva32u__ZN1BIiE3f25ILi7EEEiiPii:" 1 { target { i?86-*-* > > x86_64-*-* } } } } > > +// { dg-warning "unsupported argument type 'B<int>' for simd" "" { > > target aarch64-*-* } 191 } > > Can you use relative line number instead, like .-10 or so?
That sounds like a good idea. > > > @@ -62,7 +65,7 @@ int f3 (const int a, const int b, const int c, > > const int &d, const int &e, const > > // { dg-final { scan-assembler-times > > "_ZGVdM8vulLUR4__Z2f3iiiRKiS0_S0_:" 1 { target { i?86-*-* x86_64-*- > > * } } } } > > // { dg-final { scan-assembler-times > > "_ZGVdN8vulLUR4__Z2f3iiiRKiS0_S0_:" 1 { target { i?86-*-* x86_64-*- > > * } } } } > > // { dg-final { scan-assembler-times > > "_ZGVeM16vulLUR4__Z2f3iiiRKiS0_S0_:" 1 { target { i?86-*-* x86_64- > > *-* } } } } > > -// { dg-final { scan-assembler-times > > "_ZGVeN16vulLUR4__Z2f3iiiRKiS0_S0_:" 1 { target { i?86-*-* x86_64- > > *-* } } } } > > +// { dg-final { scan-assembler-times > > "_ZGVeN4vulLUR4__Z2f3iiiRKiS0_S0_:" 1 { target { i?86-*-* x86_64-*- > > * } } } } > > Can you explain this change? Are you changing the x86 ABI? No, that is a mistake that snuck in. None of the x86 lines should change. Same for the other x86 changes. I was changing the aarch64 manglings and obviously messed up some of the x86 ones. Unfortunately I did those changes after I did my x86 testing to verify the x86 code change I made so I didn't notice them. I will fix those so that no x86 lines are different. Steve Ellcey sell...@marvell.com