Commit c9f6890b authored by Mark Brown's avatar Mark Brown Committed by Will Deacon

arm64/sve: Use the sve_flush macros in sve_load_from_fpsimd_state()

This makes the code a bit clearer and as a result we can also make the
indentation more normal, there is no change to the generated code.
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Reviewed-by: default avatarDave Martin <Dave.Martin@arm.com>
Acked-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20210512151131.27877-3-broonie@kernel.orgSigned-off-by: default avatarWill Deacon <will@kernel.org>
parent 483dbf6a
...@@ -65,8 +65,7 @@ SYM_FUNC_END(sve_set_vq) ...@@ -65,8 +65,7 @@ SYM_FUNC_END(sve_set_vq)
SYM_FUNC_START(sve_load_from_fpsimd_state) SYM_FUNC_START(sve_load_from_fpsimd_state)
sve_load_vq x1, x2, x3 sve_load_vq x1, x2, x3
fpsimd_restore x0, 8 fpsimd_restore x0, 8
_for n, 0, 15, _sve_pfalse \n sve_flush_p_ffr
_sve_wrffr 0
ret ret
SYM_FUNC_END(sve_load_from_fpsimd_state) SYM_FUNC_END(sve_load_from_fpsimd_state)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment