summaryrefslogtreecommitdiffstats
path: root/lib/mpi/generic_mpih-mul1.c
diff options
context:
space:
mode:
authorArnd Bergmann2016-02-26 13:46:26 +0100
committerHerbert Xu2016-02-27 20:26:34 +0100
commitc5d552487b9eb116b61032239ffb2f8d192f19b8 (patch)
tree86076b47812c2447a676e5b4044b4bac896524ff /lib/mpi/generic_mpih-mul1.c
parenthwrng: bcm63xx - fix non device tree compatibility (diff)
downloadkernel-qcow2-linux-c5d552487b9eb116b61032239ffb2f8d192f19b8.tar.gz
kernel-qcow2-linux-c5d552487b9eb116b61032239ffb2f8d192f19b8.tar.xz
kernel-qcow2-linux-c5d552487b9eb116b61032239ffb2f8d192f19b8.zip
lib/mpi: avoid assembler warning
A wrapper around the umull assembly instruction might reuse the input register as an output, which is undefined on some ARM machines, as pointed out by this assembler warning: CC lib/mpi/generic_mpih-mul1.o /tmp/ccxJuxIy.s: Assembler messages: /tmp/ccxJuxIy.s:53: rdhi, rdlo and rm must all be different CC lib/mpi/generic_mpih-mul2.o /tmp/ccI0scAD.s: Assembler messages: /tmp/ccI0scAD.s:53: rdhi, rdlo and rm must all be different CC lib/mpi/generic_mpih-mul3.o /tmp/ccMvVQcp.s: Assembler messages: /tmp/ccMvVQcp.s:53: rdhi, rdlo and rm must all be different This changes the constraints to force different registers to be used as output. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/mpi/generic_mpih-mul1.c')
0 files changed, 0 insertions, 0 deletions