Skip to content
Commit 37479e65 authored by Pierre-Clément Tosi's avatar Pierre-Clément Tosi Committed by Tom Rini
Browse files

armv8/cache.S: Triple with single instruction



Replace the current 2-instruction 2-step tripling code by a
corresponding single instruction leveraging ARMv8-A's "flexible second
operand as a register with optional shift". This has the added benefit
(albeit arguably negligible) of reducing the final code size.

Fix the comment as the tripled cache level is placed in x12, not x0.

Signed-off-by: default avatarPierre-Clément Tosi <ptosi@google.com>
parent f050bfac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment