public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/54079] New: __builtin_ia32_palignr128 can't be called
@ 2012-07-24 10:07 jens.maurer at gmx dot net
2012-07-24 10:45 ` [Bug c++/54079] " ubizjak at gmail dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: jens.maurer at gmx dot net @ 2012-07-24 10:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54079
Bug #: 54079
Summary: __builtin_ia32_palignr128 can't be called
Classification: Unclassified
Product: gcc
Version: 4.7.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jens.maurer@gmx.net
#pragma GCC target ("ssse3")
int main()
{
long long x __attribute__((vector_size(16)));
x = __builtin_ia32_palignr128(x, x, 4);
}
yields:
$ g++ x.cc
x.cc: In function ‘int main()’:
x.cc:7:42: error: the last argument must be an 8-bit immediate
How much more "immediate" can you get when you pass an integer literal?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/54079] __builtin_ia32_palignr128 can't be called
2012-07-24 10:07 [Bug c++/54079] New: __builtin_ia32_palignr128 can't be called jens.maurer at gmx dot net
@ 2012-07-24 10:45 ` ubizjak at gmail dot com
2012-10-10 19:46 ` [Bug target/54079] " paolo.carlini at oracle dot com
2012-10-11 6:37 ` ubizjak at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: ubizjak at gmail dot com @ 2012-07-24 10:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54079
--- Comment #1 from Uros Bizjak <ubizjak at gmail dot com> 2012-07-24 10:45:32 UTC ---
Probably there is a compelling reason you don't use tmmintrin.h.
Anyway, the error is a bit unfortunate, you have to pass 8*N to the builtin.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/54079] __builtin_ia32_palignr128 can't be called
2012-07-24 10:07 [Bug c++/54079] New: __builtin_ia32_palignr128 can't be called jens.maurer at gmx dot net
2012-07-24 10:45 ` [Bug c++/54079] " ubizjak at gmail dot com
@ 2012-10-10 19:46 ` paolo.carlini at oracle dot com
2012-10-11 6:37 ` ubizjak at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-10-10 19:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54079
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |uros at gcc dot gnu.org
Component|c++ |target
--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-10-10 19:46:36 UTC ---
Uros, what's the status of this issue? For sure isn't C++ front-end specific,
but I don't understand if "somebody" should tweak the error message or
something.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/54079] __builtin_ia32_palignr128 can't be called
2012-07-24 10:07 [Bug c++/54079] New: __builtin_ia32_palignr128 can't be called jens.maurer at gmx dot net
2012-07-24 10:45 ` [Bug c++/54079] " ubizjak at gmail dot com
2012-10-10 19:46 ` [Bug target/54079] " paolo.carlini at oracle dot com
@ 2012-10-11 6:37 ` ubizjak at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: ubizjak at gmail dot com @ 2012-10-11 6:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54079
Uros Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WONTFIX
--- Comment #3 from Uros Bizjak <ubizjak at gmail dot com> 2012-10-11 06:37:17 UTC ---
(In reply to comment #2)
> Uros, what's the status of this issue? For sure isn't C++ front-end specific,
> but I don't understand if "somebody" should tweak the error message or
> something.
Builtins are internal implementation details, users should use various .h
files.
So, wontfix.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-10-11 6:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-24 10:07 [Bug c++/54079] New: __builtin_ia32_palignr128 can't be called jens.maurer at gmx dot net
2012-07-24 10:45 ` [Bug c++/54079] " ubizjak at gmail dot com
2012-10-10 19:46 ` [Bug target/54079] " paolo.carlini at oracle dot com
2012-10-11 6:37 ` ubizjak at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).