]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Combine consecutive inline asm instructions into one statement to
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 14 Jun 2012 07:56:58 +0000 (09:56 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 14 Jun 2012 07:56:58 +0000 (09:56 +0200)
commit642bc4e7505e3c89a285fa452496356d356d9d76
treeecc1ba26666630e23e2cec96e328e4356214459b
parent842ec421e71b606798d8e93b2893f60d38366681
Combine consecutive inline asm instructions into one statement to
prevent them from being reordered.
The GCC manual states:
| Similarly, you can't expect a sequence of volatile asm instructions
| to remain perfectly consecutive. If you want consecutive output, use a
| single asm. Also, GCC will perform some optimizations across a
| volatile asm instruction; GCC does not “forget everything” when it
| encounters a volatile asm instruction the way some other compilers do.
arch/arm/cpu/armv7/cache_v7.c