This is the mail archive of the gcc-bugs@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]

[Bug target/81294] _subborrow_u64 argument order inconsistent with intrinsic reference, icc


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81294

--- Comment #4 from uros at gcc dot gnu.org ---
Author: uros
Date: Tue Jul  4 21:05:17 2017
New Revision: 249978

URL: https://gcc.gnu.org/viewcvs?rev=249978&root=gcc&view=rev
Log:
        PR target/81300
        * config/i386/i386.md (setcc + movzbl/and to xor + setcc peepholes):
        Require dead FLAGS_REG at the beginning of a peephole.

        PR target/81294
        * config/i386/adxintrin.h (_subborrow_u32): Swap _X and _Y
        arguments in the call to __builtin_ia32_sbb_u32.
        (_subborrow_u64): Swap _X and _Y arguments in the call to
        __builtin_ia32_sbb_u64.

testsuite/ChangeLog:

        PR target/81300
        * gcc.target/i386/pr81300.c: New test.

        PR target/81294
        * gcc.target/i386/adx-addcarryx32-2.c (adx_test): Swap
        x and y arguments in the call to _subborrow_u32.
        * gcc.target/i386/adx-addcarryx64-2.c (adx_test): Swap
        x and y arguments in the call to _subborrow_u64.
        * gcc.target/i386/pr81294-1.c: New test.
        * gcc.target/i386/pr81294-2.c: Ditto.


Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/pr81294-1.c
    branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/pr81294-2.c
    branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/pr81300.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/config/i386/adxintrin.h
    branches/gcc-7-branch/gcc/config/i386/i386.md
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/adx-addcarryx32-2.c
    branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/adx-addcarryx64-2.c

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