adxintrin.h (_subborrow_u32): New.
authorIlya Tocar <ilya.tocar@intel.com>
Wed, 3 Sep 2014 09:24:34 +0000 (09:24 +0000)
committerIlya Tocar <tocarip@gcc.gnu.org>
Wed, 3 Sep 2014 09:24:34 +0000 (13:24 +0400)
commit9c6fb3ba59e1692160666e6ef21e654e6366af01
tree1bce231e5a69b4e9922637cf6790bd8517a0d047
parent9d93cc2467714741425e6d78e7b6e147b7992483
adxintrin.h (_subborrow_u32): New.

gcc/
2014-09-02  Ilya Tocar  <ilya.tocar@intel.com>

        * config/i386/adxintrin.h (_subborrow_u32): New.
        (_addcarry_u32): Ditto.
        (_subborrow_u64): Ditto.
        (_addcarry_u64): Ditto.
        * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_SBB32,
        IX86_BUILTIN_SBB64.
        (ix86_init_mmx_sse_builtins): Handle __builtin_ia32_sbb_u32,
        __builtin_ia32_sbb_u64

testsuite/
2014-09-02  Ilya Tocar  <ilya.tocar@intel.com>

        * gcc.target/i386/adx-addcarryx32-1.c: Test addcarry, subborrow.
        * gcc.target/i386/adx-addcarryx32-2.c: Ditto.
        * gcc.target/i386/adx-addcarryx32-3.c: Ditto.
        * gcc.target/i386/adx-addcarryx64-1.c: Ditto.
        * gcc.target/i386/adx-addcarryx64-2.c: Ditto.
        * gcc.target/i386/adx-addcarryx64-3.c: Ditto.

From-SVN: r214860
gcc/ChangeLog
gcc/config/i386/adxintrin.h
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/adx-addcarryx32-1.c
gcc/testsuite/gcc.target/i386/adx-addcarryx32-2.c
gcc/testsuite/gcc.target/i386/adx-addcarryx32-3.c
gcc/testsuite/gcc.target/i386/adx-addcarryx64-1.c
gcc/testsuite/gcc.target/i386/adx-addcarryx64-2.c
gcc/testsuite/gcc.target/i386/adx-addcarryx64-3.c