package/gcc: xtensa: fix atomic NAND code generation
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 5 Sep 2018 16:48:39 +0000 (09:48 -0700)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 5 Sep 2018 19:14:47 +0000 (21:14 +0200)
commit84efe72b785c7c2437a07a07d92f39a811c647f6
tree1d07ebfe8aa6af8e241749699250757bebaa18f6
parentd496329a19c1989856cd5cef80f0d05255a27445
package/gcc: xtensa: fix atomic NAND code generation

xtensa gcc incorrectly generates code for atomic NAND operation as
~a1 & a2 instead of ~(a1 & a2). Fix that.

Backported from: r264087
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/gcc/6.4.0/872-gcc-xtensa-fix-NAND-code-in-xtensa_expand_atomic.patch [new file with mode: 0644]
package/gcc/7.3.0/0003-gcc-xtensa-fix-NAND-code-in-xtensa_expand_atomic.patch [new file with mode: 0644]
package/gcc/8.2.0/0004-gcc-xtensa-fix-NAND-code-in-xtensa_expand_atomic.patch [new file with mode: 0644]