Re: [PATCH v2 2/9] arm64: assembler: introduce wxN aliases for wN registers

2021-03-30 Thread Will Deacon
On Tue, Mar 02, 2021 at 10:01:11AM +0100, Ard Biesheuvel wrote: > The AArch64 asm syntax has this slightly tedious property that the names > used in mnemonics to refer to registers depend on whether the opcode in > question targets the entire 64-bits (xN), or only the least significant > 8, 16 or 3

[PATCH v2 2/9] arm64: assembler: introduce wxN aliases for wN registers

2021-03-02 Thread Ard Biesheuvel
The AArch64 asm syntax has this slightly tedious property that the names used in mnemonics to refer to registers depend on whether the opcode in question targets the entire 64-bits (xN), or only the least significant 8, 16 or 32 bits (wN). When writing parameterized code such as macros, this can be