This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][RFC] Introduce BIT_FIELD_INSERT
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Richard Biener <rguenther at suse dot de>
- Cc: Eric Botcazou <ebotcazou at adacore dot com>, gcc-patches at gcc dot gnu dot org, Michael Matz <matz at suse dot de>
- Date: Fri, 20 May 2016 13:52:09 +0200
- Subject: Re: [PATCH][RFC] Introduce BIT_FIELD_INSERT
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot LSU dot 2 dot 11 dot 1605131239490 dot 18037 at t29 dot fhfr dot qr> <alpine dot LSU dot 2 dot 20 dot 1605171718400 dot 13156 at wotan dot suse dot de> <alpine dot LSU dot 2 dot 11 dot 1605191521480 dot 18037 at t29 dot fhfr dot qr> <10155617 dot 0hHYLBiUYX at polaris> <alpine dot LSU dot 2 dot 11 dot 1605201057290 dot 18037 at t29 dot fhfr dot qr> <20160520112525 dot GH28550 at tucnak dot redhat dot com> <alpine dot LSU dot 2 dot 11 dot 1605201339460 dot 18037 at t29 dot fhfr dot qr>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, May 20, 2016 at 01:41:01PM +0200, Richard Biener wrote:
> I'd say ppc and aarch64 are fine. Thanks for noticing.
So like this then?
2016-05-20 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/29756
gcc.dg/tree-ssa/vector-6.c: Add -Wno-psabi -w to dg-options.
Add -msse2 for x86 and -maltivec for powerpc. Use scan-tree-dump-times
only on selected targets where V4SImode vectors are known to be
supported.
--- gcc/testsuite/gcc.dg/tree-ssa/vector-6.c.jj 2016-05-20 12:44:33.000000000 +0200
+++ gcc/testsuite/gcc.dg/tree-ssa/vector-6.c 2016-05-20 13:49:19.880961132 +0200
@@ -1,5 +1,7 @@
/* { dg-do compile } */
-/* { dg-options "-O -fdump-tree-ccp1" } */
+/* { dg-options "-O -fdump-tree-ccp1 -Wno-psabi -w" } */
+/* { dg-additional-options "-msse2" { target i?86-*-* x86_64-*-* } } */
+/* { dg-additional-options "-maltivec" { target powerpc_altivec_ok } } */
typedef int v4si __attribute__((vector_size (4 * sizeof (int))));
@@ -30,4 +32,4 @@ v4si test4 (v4si v, int i)
return v;
}
-/* { dg-final { scan-tree-dump-times "Now a gimple register: v" 4 "ccp1" } } */
+/* { dg-final { scan-tree-dump-times "Now a gimple register: v" 4 "ccp1" { target { { i?86-*-* x86_64-*-* aarch64*-*-* spu*-*-* } || { powerpc_altivec_ok } } } } } */
Jakub