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]

[AVX] PATCH: Add vzeroall/vzeroupper patterns


Hi,

This patch adds vzeroall/vzeroupper patterns.


H.J.
--
2008-04-11  H.J. Lu  <hongjiu.lu@intel.com>

        * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_VZEROALL
        and IX86_BUILTIN_VZEROUPPER.
        (ix86_init_mmx_sse_builtins): Handle __builtin_ia32_vzeroall
        and __builtin_ia32_vzeroupper.
        (ix86_expand_builtin): Handle IX86_BUILTIN_VZEROALL and
        IX86_BUILTIN_VZEROUPPER.

        * config/i386/sse.md (avx_vzeroall): New.
        (avx_vzeroall_rex64): Likewise.
        (avx_vzeroupper): Likewise.

Attachment: zero.txt
Description: Text document


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