Add-support-for-nanoMIPS-architecture
Adds support for the nanoMIPS architecture to GNU Binutils (Gas, BFD, Opcodes).
Tsing (lei.wang@oss.cipunited.com) presents a seven-patch series (v4) to add support for the nanoMIPS architecture to GNU Binutils. This includes modifications to the Gas assembler, BFD library, and Opcodes module, along with updates to readelf, ld, documentation, and test suites. The nanoMIPS architecture, from MIPS Technologies, is a code-size-optimized ISA with variable-length instructions (16, 32, and 48 bits). The patches have been tested on a nanomips-mti-elf target.
- proposer
Submitted a seven-patch series (v4) to add support for the nanoMIPS architecture to Binutils.
“This set of patches provides support for the nanomips architecture in the Gas, BFD and Opcodes. nanoMIPS is a code-size-optimized, variable-length-encoding ISA from MIPS Technologies. nanoMIPS has 16, 32, and 48-bit instructions.”
In Details
This patch series introduces support for the nanoMIPS architecture into GNU Binutils, encompassing the assembler (Gas), Binary File Descriptor (BFD) library, and the Opcodes module. nanoMIPS is an MIPS Technologies ISA variant optimized for code size, featuring variable-length instructions (16, 32, and 48 bits). The submission includes modifications to assembler configuration, instruction encoding, object file handling, linking, documentation, and test cases, verified on a nanomips-mti-elf toolchain.
- nanoMIPS
- A code-size-optimized instruction set architecture (ISA) from MIPS Technologies, characterized by variable-length instructions (16, 32, and 48 bits).
- Gas
- The GNU Assembler, part of GNU Binutils, which translates assembly code into machine code.
- BFD
- Binary File Descriptor library, a part of GNU Binutils that provides a consistent interface to various object file formats.
- Opcodes
- A module within Binutils that defines and handles instruction encodings for different architectures.
- ISA
- Instruction Set Architecture, the set of commands a processor understands.
- ABI
- Application Binary Interface, defines how low-level code is written, how functions are called, and how data is laid out in memory.
- variable-length encoding
- An instruction encoding scheme where instructions can occupy different numbers of bytes, allowing for denser code representation.