diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2018-09-04 17:43:20 +0000 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gcc.gnu.org> | 2018-09-04 17:43:20 +0000 |
commit | 2a17b2397059117b7334e2e569971a3bc5731abb (patch) | |
tree | 97b52214aaa5f8ef68ca90e4dee82fbd0ac5295a /gcc/dwarf2out.c | |
parent | 0bdb34b4c920602acdbcdefee4550abe9a6e0566 (diff) | |
download | gcc-2a17b2397059117b7334e2e569971a3bc5731abb.zip gcc-2a17b2397059117b7334e2e569971a3bc5731abb.tar.gz gcc-2a17b2397059117b7334e2e569971a3bc5731abb.tar.bz2 |
gcc: xtensa: fix NAND code in xtensa_expand_atomic
NAND is ~(a1 & a2), but xtensa_expand_atomic does ~a1 & a2.
That fixes libatomic tests atomic-op-{1,2}.
gcc/
2018-09-04 Max Filippov <jcmvbkbc@gmail.com>
* config/xtensa/xtensa.c (xtensa_expand_atomic): Reorder AND and
XOR operations in NAND case.
From-SVN: r264087
Diffstat (limited to 'gcc/dwarf2out.c')
0 files changed, 0 insertions, 0 deletions