backporting extract_bit_field patch to 3.1
Aldy Hernandez
aldyh@redhat.com
Tue Apr 30 19:25:00 GMT 2002
hi guys.
i'd like permission to backport:
http://gcc.gnu.org/ml/gcc-patches/2002-04/msg01546.html
to the 3.1 branch. this will supercede my extract_bit_field
patch submitted yesterday.
i'd also like to commit the following testcase along with it (which
abort()s without the aforementioned patch).
ok for 3.1?
2002-04-30 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/altivec-6.c: New.
Index: testsuite/gcc.dg/altivec-6.c
===================================================================
RCS file: testsuite/gcc.dg/altivec-6.c
diff -N testsuite/gcc.dg/altivec-6.c
*** /dev/null 1 Jan 1970 00:00:00 -0000
--- testsuite/gcc.dg/altivec-6.c 1 May 2002 02:19:16 -0000
***************
*** 0 ****
--- 1,16 ----
+ /* { dg-do compile { target powerpc-*-* } } */
+ /* { dg-options "-maltivec -O1" } */
+
+ #include <altivec.h>
+
+ vector signed short b16;
+ vector signed short beth;
+
+ int
+ main ()
+ {
+ vector signed short hannah = beth;
+
+ b16 = vec_xor (b16, *(&hannah));
+ return 0;
+ }
More information about the Gcc-patches
mailing list