This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch x86] use always_inline on all vector intrinsics
- From: Uros Bizjak <uros dot bizjak at kss-loka dot si>
- To: Stuart Hastings <stuart at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 29 Jun 2005 07:51:14 +0200
- Subject: Re: [patch x86] use always_inline on all vector intrinsics
Hello Stuart!
> A mechanical patch to add "__attribute__((__always_inline__))" to every vector
> intrinsic in i386/*mmintrin.h.
> Bootstrapped and DejaGnu on Darwin/x86, no regressions.
> 2005-06-28 Stuart Hastings <stuart@apple.com>
> * gcc/config/i386/mmintrin.h: Mark vector intrinsics always_inline.
> * gcc/config/i386/emmintrin.h: Likewise.
> * gcc/config/i386/pmmintrin.h: Likewise.
> * gcc/config/i386/xmmintrin.h: Likewise.
There is a PR regarding inlining of SSE intrinsics.
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21195). Is your patch enough to fix
a testcase in the bugreport?
BTW: A related problem in area of *mmintrin.h headers is PR21408: Some #defines
are improperly guarded with #ifdef __SSE3__. Could someone with an access to
Intel's pmmintrin.h kindly check if there is an inconsistency in gcc's headers
compared to Intel one?
Thanks,
Uros.