Commit 941327ca authored by Samuel Holland's avatar Samuel Holland Committed by Conor Dooley
Browse files

cache: sifive_ccache: Optimize cache flushes



Fence instructions are required only at the beginning and the end of
a flush operation, not separately for each cache line being flushed.
Speed up cache flushes by about 15% by removing the extra fences.

Signed-off-by: default avatarSamuel Holland <samuel.holland@sifive.com>
Signed-off-by: default avatarConor Dooley <conor.dooley@microchip.com>
parent 4fab69dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment