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: [RFC] try to generate FP and/or/xor instructions for SSE


On 8/23/07, Paolo Bonzini <bonzini@gnu.org> wrote:
> This patch tries to prefer ps/pd variants if at least one argument is a
> vector float or vector double or __float128 respectively.  I'm not sure
> it is the right design, as it may be a little too aggressive.
>From the description that's perfect, but i'm biased and i suppose
someone more interested in integer SIMD could have some objections :)

I'll hijack that discussion and ask if there's some reason to
misrepresent those builtins
     v4si __builtin_ia32_cmpeqps (v4sf, v4sf)
     v4si __builtin_ia32_cmpltps (v4sf, v4sf)
     v4si __builtin_ia32_cmpleps (v4sf, v4sf)
     v4si __builtin_ia32_cmpgtps (v4sf, v4sf)
     v4si __builtin_ia32_cmpgeps (v4sf, v4sf)
     ...etc...
as returning a v4si?


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