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

armv8/cache.S: Read sysreg fields through ubfx



Improve the file's readability and conciseness by using the appropriate
Aarch64 instruction: ubfx (unsigned bitfield extract). This makes the
code easier to follow as it directly manipulates the offsets and widths
of the fields read from system registers, as they are expressed in the
Standard (ARM ARM). This has the added benefit (albeit arguably
negligible) of reducing the final code size.

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