[Bug c++/41201] #pragma GCC target ("sse2") doesn't alter __SSE2__ in C++ (as it does in C)

2010-07-26 Thread justin dot lebar+bug at gmail dot com


--- Comment #5 from justin dot lebar+bug at gmail dot com  2010-07-26 16:20 
---
FWIW, it seems that MSVC is perfectly happy to compile code with intrinsics
inside a file which doesn't have any special flags.  It would be awesome if
there were some way to do the same with GCC, even if it involves #pragma
hackery.  The current limitation makes using intrinsics pretty painful, as it
requires a separate file for each targeted instruction set.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41201



[Bug c++/41201] #pragma GCC target ("sse2") doesn't alter __SSE2__ in C++ (as it does in C)

2010-07-12 Thread justin dot lebar+bug at gmail dot com


--- Comment #3 from justin dot lebar+bug at gmail dot com  2010-07-12 22:22 
---
Also cc'ing H.J. Lu, who wrote sse-23.c


-- 

justin dot lebar+bug at gmail dot com changed:

   What|Removed |Added

 CC||hjl at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41201



[Bug c++/41201] #pragma GCC target ("sse2") doesn't alter __SSE2__ in C++ (as it does in C)

2010-07-12 Thread justin dot lebar+bug at gmail dot com


--- Comment #2 from justin dot lebar+bug at gmail dot com  2010-07-12 22:09 
---
cc'ing Harsha Jagasia, who wrote sse-22.c and funcspec-9.

I might be willing to put together a patch for this, but I'm totally unfamiliar
with the codebase, so I'd almost surely need some help.


-- 

justin dot lebar+bug at gmail dot com changed:

   What|Removed |Added

 CC||harsha dot jagasia at amd
   ||dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41201



[Bug target/43118] vld4 and vst4 intrinsics are not handled correctly

2010-04-28 Thread justin dot lebar+bug at gmail dot com


--- Comment #5 from justin dot lebar+bug at gmail dot com  2010-04-28 21:56 
---
Is there a workaround for this, short of writing inline assembly?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43118