diff options
| author | BALATON Zoltan <balaton@eik.bme.hu> | 2024-06-22 22:48:33 +0200 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-07-23 10:56:16 +1000 |
| commit | 73a93ae5f4c49a166bc2a286330a1b45f58f4df7 (patch) | |
| tree | 433722d99265e223c746c4b8316363d7629a0076 /qga/commands-linux.c | |
| parent | 3b9991e35c08be7fd6b84090b2114ff1bfd44d3f (diff) | |
| download | focaccia-qemu-73a93ae5f4c49a166bc2a286330a1b45f58f4df7.tar.gz focaccia-qemu-73a93ae5f4c49a166bc2a286330a1b45f58f4df7.zip | |
target/ppc/mem_helper.c: Remove a conditional from dcbz_common()
Instead of passing a bool and select a value within dcbz_common() let the callers pass in the right value to avoid this conditional statement. On PPC dcbz is often used to zero memory and some code uses it a lot. This change improves the run time of a test case that copies memory with a dcbz call in every iteration from 6.23 to 5.83 seconds. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Message-Id: <20240622204833.5F7C74E6000@zero.eik.bme.hu> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'qga/commands-linux.c')
0 files changed, 0 insertions, 0 deletions