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>
parent
afe7e363
-
mentioned in commit 02d00acf391da379fce13df19b7b19e304f92ae2
-
mentioned in commit 8bea508a558db7acf746db3eeafed78a2a2acd7a
-
mentioned in commit 12fd269570b2aa96f9489e17b21a75d5358ce628
-
mentioned in commit 91f9a4cad5aab3984e0fb4ca4e5f06f65851396e
-
mentioned in commit 8489400275308eb3e41b78a901230d1d301e026e
-
mentioned in commit a437bbca8a7ba00dc99101f7d2da2295fa09edbd
-
mentioned in commit 794c9e74149caefb5e3ccc85c6375241243a24cf
-
mentioned in commit 33860c21e2fc9504c1ba60f49e8f5078bbd9e2ee
-
mentioned in commit fdbf7ec33682506a0f4ba0f7374a69feba59570b
-
mentioned in commit 1d7271bbe966bf05bc339e066f49870f9b682c55
-
mentioned in commit 354f00b4f243bd2266d2adad5a8bf1aa5c0394be
-
mentioned in commit 105f6dfd9f9fe5b4dcc7618e9c3c94bd757989b0
Please register or sign in to comment