http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50583
--- Comment #1 from H.J. Lu hjl.tools at gmail dot com 2011-09-30 16:57:14
UTC ---
We have 2 choices:
1. Update document of
`TYPE __sync_fetch_and_add (TYPE *ptr, TYPE value, ...)'
`TYPE __sync_fetch_and_sub (TYPE *ptr, TYPE value, ...)'
`TYPE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50583
Andrew Macleod amacleod at redhat dot com changed:
What|Removed |Added
CC||amacleod at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50583
--- Comment #3 from H.J. Lu hjl.tools at gmail dot com 2011-09-30 18:37:42
UTC ---
The same problem with
`TYPE __sync_add_and_fetch (TYPE *ptr, TYPE value, ...)'
`TYPE __sync_sub_and_fetch (TYPE *ptr, TYPE value, ...)'
`TYPE __sync_or_and_fetch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50583
--- Comment #4 from H.J. Lu hjl.tools at gmail dot com 2011-09-30 18:47:21
UTC ---
I guess it is OK.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50583
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50583
--- Comment #6 from Andi Kleen andi-gcc at firstfloor dot org 2011-09-30
23:35:29 UTC ---
Can't say I'm a fan of adding such a heavy weight sequence into
an intrinsic. Maybe better to simply leave out the intrinsics that
cannot be implemented