This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/52750] New: 32xsigned char __builtin_shuffle
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Mar 2012 09:44:09 +0000
- Subject: [Bug middle-end/52750] New: 32xsigned char __builtin_shuffle
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52750
Bug #: 52750
Summary: 32xsigned char __builtin_shuffle
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: middle-end
AssignedTo: jakub@gcc.gnu.org
ReportedBy: jakub@gcc.gnu.org
CC: marc.glisse@normalesup.org
Depends on: 52607
typedef signed char V __attribute__((vector_size (32)));
V
f (V x)
{
V m = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31};
return __builtin_shuffle (x, m);
}
ICEs without -mavx2, because generic vector lowering is using a wrong type for
BIT_FIELD_REF positions.