PR target/81294
commitd9d09ba0cad4c64ab1c10eafd16898e749f5e670
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Jul 2017 20:46:38 +0000 (4 20:46 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Jul 2017 20:46:38 +0000 (4 20:46 +0000)
tree991f689dd7afb95aab39937ce680608b512b9c06
parentc0ba65ffdeff844d49bb7bce140f1e21b78607ab
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/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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249976 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/adxintrin.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/adx-addcarryx32-2.c
gcc/testsuite/gcc.target/i386/adx-addcarryx64-2.c
gcc/testsuite/gcc.target/i386/pr81294-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr81294-2.c [new file with mode: 0644]