Skip to content

Commit b661d75

Browse files
brooniewilldeacon
authored andcommitted
kselftest/arm64: Raise default number of loops in fp-pidbench
When fp-pidbench was originally written SVE hardware was not widely available so it was useful to run it in emulation and the default number of loops was set very low, running for less than a second on actual hardware. Now that SVE hardware is reasonably available it is very much less interesting to use emulation, bump the default number of loops up to even out a bit of the noise on real systems. On the machine I have to hand this now takes about 15s which is still a toy microbenchmark but perhaps a bit more useful. Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Will Deacon <will@kernel.org>
1 parent 96e004b commit b661d75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/testing/selftests/arm64/fp/fp-pidbench.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
function _start
3434
puts "Iterations per test: "
3535
mov x20, #10000
36-
lsl x20, x20, #8
36+
lsl x20, x20, #12
3737
mov x0, x20
3838
bl putdec
3939
puts "\n"

0 commit comments

Comments
 (0)