aarch64 assembler adds PACM instruction, a PAuth_LR NOP alias
The `PACM` instruction, an alias within the PAuth_LR feature's NOP space, is added to the aarch64 assembler and disassembler.
The PACM instruction, part of the FEAT_PAuth_LR feature set but residing in the NOP (No Operation) space, has been added to the aarch64 assembler and disassembler. This means PACM can be assembled and disassembled without explicitly enabling the +pauth-lr feature. Associated tests have also been included.
In Details
The aarch64 assembler and disassembler now support the PACM instruction. While PACM is associated with the FEAT_PAuth_LR extension, it occupies a NOP encoding space, allowing it to be used without enabling the full +pauth-lr feature. Tests are added to verify its assembly and disassembly, and its opcode definition is updated in the opcode tables.
- NOP
- No Operation. An instruction that does nothing except consume CPU cycles. NOPs are often used for padding, timing, or as placeholders.
- FEAT_PAuth_LR
- Pointer Authentication for Link Register (LR) signing extension on ARM architectures. It enhances security by protecting return addresses.
- Alias
- In assembly language, an alias is an alternative name or mnemonic for an instruction or addressing mode.