[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ca83a5acdf514169b2fde3ec12ea59fd@AcuMS.aculab.com>
Date: Mon, 30 Nov 2020 13:58:27 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'Ard Biesheuvel' <ardb@...nel.org>,
Russell King - ARM Linux admin <linux@...linux.org.uk>
CC: Antony Yu <swpenim@...il.com>, Nicolas Pitre <nico@...xnic.net>,
"Nick Desaulniers" <ndesaulniers@...gle.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
clang-built-linux <clang-built-linux@...glegroups.com>,
Nathan Chancellor <natechancellor@...il.com>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>
Subject: RE: [RESEND,PATCH] ARM: fix __div64_32() error when compiling with
clang
> And actually, the same applies on BE, but the other way around. So we
> should mark __xl as an output register as well, as __xl will assume
> the right value depending on the endianness.
Why not use "+r" to indicate than an 'output' parameter is also
used as an input.
Rather cleaner than specifying the same C variable as both
input and output.
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
Powered by blists - more mailing lists