From assembly code we might not only have to explicitly BE access 64bit values,
but sometimes also 32bit ones. Add helpers that allow for easy use of lwzx/stwx
in their respective byte-reverse or native form.
Signed-off-by: Alexander Graf ag...@suse.de
CC: Benjamin Herrenschmidt
On Fri, 2014-08-01 at 11:17 +0200, Alexander Graf wrote:
From assembly code we might not only have to explicitly BE access 64bit
values,
but sometimes also 32bit ones. Add helpers that allow for easy use of
lwzx/stwx
in their respective byte-reverse or native form.
Signed-off-by:
From assembly code we might not only have to explicitly BE access 64bit values,
but sometimes also 32bit ones. Add helpers that allow for easy use of lwzx/stwx
in their respective byte-reverse or native form.
Signed-off-by: Alexander Graf ag...@suse.de
CC: Benjamin Herrenschmidt
On Fri, 2014-08-01 at 11:17 +0200, Alexander Graf wrote:
From assembly code we might not only have to explicitly BE access 64bit
values,
but sometimes also 32bit ones. Add helpers that allow for easy use of
lwzx/stwx
in their respective byte-reverse or native form.
Signed-off-by: