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]

PATCH: Remove def_builtin in x86 backend


Hi,

This patch moves most of def_builtin into bdesc_non_const_args.
It also fixed document and bogus types for loadXpX and storeXpX.
Mainline is currently broken. OK for trunk after "make check" passes
on Linux/Intel64 and Linux/ia32?

Thanks.


H.J.
----
2008-05-01  H.J. Lu  <hongjiu.lu@intel.com>

        * config/i386/i386.c (ix86_non_const_builtin_type): New.
        (bdesc_non_const_args): Likewise.
        (ix86_expand_non_const_args_builtin): Likewise.
        (ix86_init_mmx_sse_builtins): Updated.
        (ix86_expand_builtin): Updated.
        (ix86_expand_store_builtin): Removed.
        (ix86_expand_unop_builtin): Likewise.

        * config/i386/xmmintrin.h (__v2sf): New.
        (_mm_loadh_pi): Replace __v2si with const __v2sf.
        (_mm_loadl_pi): Likewise.
        (_mm_storeh_pi): Replace __v2si with __v2sf.
        (_mm_storel_pi): Likewise.

        * doc/extend.texi: Correct __builtin_ia32_loadhps,
        __builtin_ia32_loadlps, __builtin_ia32_storehps,
        __builtin_ia32_storelps, __builtin_ia32_loadhpd and
        __builtin_ia32_loadlpd.

Attachment: c.txt
Description: Text document


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