Messages in this thread | | | From | David Laight <> | Subject | RE: [RESEND,PATCH] ARM: fix __div64_32() error when compiling with clang | Date | Mon, 30 Nov 2020 13:58:27 +0000 |
| |
> 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)
| |