diff options
| author | 2020-06-16 01:09:29 +0100 | |
|---|---|---|
| committer | 2020-07-01 22:19:31 +0100 | |
| commit | 26751de25d255eab7132a8024a893609456996e6 (patch) | |
| tree | adc12a0981341388ab0b16932168cfe176ff12ca /include/linux/mfd/git:/ssh: | |
| parent | spi: bcm2835: Micro-optimise IRQ handler (diff) | |
| download | linux-dev-26751de25d255eab7132a8024a893609456996e6.tar.xz linux-dev-26751de25d255eab7132a8024a893609456996e6.zip | |
spi: bcm2835: Micro-optimise FIFO loops
The blind and counted loops are always called with nonzero count, so
convert them to do-while loops that lead to slightly more efficient
code generation. With GCC 8.3 this shaves off 1-2 instructions per
iteration in each case.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/9242863077acf9a64e4b3720e479855b88d19e82.1592261248.git.robin.murphy@arm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/mfd/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
