gas: Add RXv3e instructions support
Adds new RXv3e instructions to the GNU assembler, updating relevant definition and test files.
This patch adds support for the instructions introduced in the RXv3e architecture to the GNU assembler (gas). It modifies configuration files, definition files, and test cases to recognize and correctly handle the new instructions and associated enhancements like control registers.
- proposer
Submits a patch to add RXv3e instruction support to gas.
“Add support for the instructions introduced in RXv3e. gas/config/ * rx-defs.h(rx_cpu_type): Add type RXV3E and split RXDFPU. * rx-parse.y(INT): Add RXv3e enhancement operand. * (PUSHC): Add RXv3e control register. * (POPC): Likewise. * (MVFC): Likewise. * (MVTC): Likewise. * (MVTIPL): Expand interrupt level. * (TRCALL): New. * (TRMVFC): New. * (TRMVTC): New. * (TRRTE): New. * (token_table): Add…”
In Details
This patch series extends the GNU assembler (gas) and libopcodes to support the Renesas RXv3e ISA. Changes involve updating RX-specific definition files (e.g., rx-defs.h, rx-parse.y) and decoding/disassembly logic (opcodes/rx-decode.c, opcodes/rx-decode.opc) to recognize and handle new instructions and control registers. This ensures that binaries targeting RXv3e can be correctly assembled and disassembled.
- RXv3e
- An extended instruction set architecture for Renesas' RX microcontrollers.
- gas
- The GNU Assembler, part of the GNU Binutils, which translates assembly language code into machine code.
- libopcodes
- A library within GNU Binutils that provides functionality for decoding and disassembling machine code.
- Control Register
- Special-purpose registers used to control the behavior of the processor or specific features of the architecture.