Home
last modified time | relevance | path

Searched hist:"387 b8801f956204b2970a5b65de0f9ad6821a4b7" (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/include/arch/aarch64/
H A Dasm_macros.S387b8801f956204b2970a5b65de0f9ad6821a4b7 Fri Nov 25 14:10:13 UTC 2022 Andre Przywara <andre.przywara@arm.com> refactor(cpufeat): use alternative encoding for "SB" barrier

The "sb" barrier instruction is a rather new addition to the AArch64
instruction set, so it is not recognised by all toolchains. On top of
that, the GNU assembler denies this instruction, unless a compatible
processor is selected:
asm_macros.S:223: Error: selected processor does not support `sb'

Provide an alternative encoding of the "sb" instruction, by using a
system register write, as this is the group where the barrier
instructions borrow their encoding space from.
This results in the exact same opcode to be generated, and any
disassembler will decode this instruction as "sb".

Change-Id: I5f44c8321e0cc04c784e02bd838e964602a96a8e
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
H A Darch.h387b8801f956204b2970a5b65de0f9ad6821a4b7 Fri Nov 25 14:10:13 UTC 2022 Andre Przywara <andre.przywara@arm.com> refactor(cpufeat): use alternative encoding for "SB" barrier

The "sb" barrier instruction is a rather new addition to the AArch64
instruction set, so it is not recognised by all toolchains. On top of
that, the GNU assembler denies this instruction, unless a compatible
processor is selected:
asm_macros.S:223: Error: selected processor does not support `sb'

Provide an alternative encoding of the "sb" instruction, by using a
system register write, as this is the group where the barrier
instructions borrow their encoding space from.
This results in the exact same opcode to be generated, and any
disassembler will decode this instruction as "sb".

Change-Id: I5f44c8321e0cc04c784e02bd838e964602a96a8e
Signed-off-by: Andre Przywara <andre.przywara@arm.com>