This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch x86] use always_inline on all vector intrinsics


On 6/29/05, Uros Bizjak <uros@kss-loka.si> wrote:
> Looking at the PR21408, it looks that curent gcc's version of
> pmmintrin.h improperly guards a couple of defines to be available ony
> when SSE3 is enabled. From the PR:
Yep, that's the gist of it as ie my opteron 146 has those DAZ bits but no SSE3.

> If I understand correctly, by including <pmmintrin.h>, those #defines
> should be visible, even if no __SSE3__ is defined. I'm CCing the bug
> reporter, if he can clarify this problem with some more details.
Yes they should be visible for 2 reasons:
. compatibility with ICC which doesn't guard them that way (or at all
if i remember)
. some hardware without SSE3 expose them

Now i don't know what would be the lowest common denominator for
proper guarding, if you want to go that way.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]