[Buildroot] [PATCH] package/gcc: xtensa: fix atomic NAND code generation
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Wed Sep 5 19:15:14 UTC 2018
Hello,
On Wed, 5 Sep 2018 09:48:39 -0700, Max Filippov wrote:
> 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 at gmail.com>
> ---
> ...nsa-fix-NAND-code-in-xtensa_expand_atomic.patch | 39 ++++++++++++++++++++++
> ...nsa-fix-NAND-code-in-xtensa_expand_atomic.patch | 39 ++++++++++++++++++++++
> ...nsa-fix-NAND-code-in-xtensa_expand_atomic.patch | 39 ++++++++++++++++++++++
> 3 files changed, 117 insertions(+)
> create mode 100644 package/gcc/6.4.0/872-gcc-xtensa-fix-NAND-code-in-xtensa_expand_atomic.patch
> create mode 100644 package/gcc/7.3.0/0003-gcc-xtensa-fix-NAND-code-in-xtensa_expand_atomic.patch
> create mode 100644 package/gcc/8.2.0/0004-gcc-xtensa-fix-NAND-code-in-xtensa_expand_atomic.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list