binutils Newspaper
NOVEMBER 30, 2026
mips — Committed

MIPS: Add Toshiba TX49 support

Commit adds support for the Toshiba TX49 MIPS processor, including its specific extensions and instruction interlocks.

This committed change adds support for the Toshiba TX49 processor, which implements the MIPS III ISA with TX39 extensions. It incorporates specific three-operand DMULT/DMULTU instruction variants and the MIPS IV PREF instruction. The patch also addresses pipeline interlock behavior, particularly concerning division instructions and their interaction with MFHI/MFLO and MADD/MADDU, using logic similar to that for the TX39. Existing test cases are adapted to cover TX49, with a focus on the HI/LO interlock tests.

In the Thread 2 participants
  1. Nathan Sidwell proposer

    Provided the technical details and rationale for supporting the Toshiba TX49 processor.

    “The Toshiba TX49 processor implements the MIPS III ISA along with TX39 extensions and additionally three-operand DMULT and DMULTU instruction variants plus the MIPS IV PREF instruction.”
  2. Maciej W. Rozycki maintainer

    Committed the patch adding support for the Toshiba TX49, including handling its instruction set extensions and interlock logic.

    “From: Nathan Sidwell The Toshiba TX49 processor implements the MIPS III ISA along with TX39 extensions...”

Technical Tradeoffs

  • Implementing specific interlock logic for the TX49 requires careful analysis of its microarchitecture to avoid pipeline stalls or data corruption.
  • Adapting existing test suites for new hardware support helps ensure correctness but may not cover all unique aspects of the target architecture.

In Details

This commit enhances binutils support for the MIPS architecture by adding the Toshiba TX49 processor. This includes recognition of its ISA (MIPS III + TX39 extensions), specific instructions (3-operand DMULT/DMULTU, MIPS IV PREF), and crucially, its pipeline interlock behavior. The interlock logic mirrors that of the TX39, addressing hazards related to HI/LO register updates by division and MADD instructions. The changes affect BFD, binutils' internal CPU definitions, and ELF object file handling for MIPS.

For Context
MIPS III ISA
The third generation of the MIPS (Microprocessor without Interlocked Pipeline Stages) instruction set architecture, a 64-bit RISC architecture.
TX39 extensions
Specific extensions developed by Toshiba for their TX39 family of MIPS processors.
DMULT/DMULTU
Instructions for performing multiplication operations in MIPS. The 'U' typically denotes unsigned multiplication.
PREF
The PREF instruction in MIPS is used for prefetching data or instructions, influencing memory access patterns.
MFHI/MFLO
MIPS instructions that move the results of multiplication (HI) and division (LO) from special registers into general-purpose registers.
MADD
Multiply-Add instruction in MIPS, performing (A * B) + C and storing the result.
pipeline interlock
A hardware mechanism that prevents instruction execution from proceeding if it would cause a data hazard (e.g., an instruction needs data that hasn't been computed yet).
BFD
Binary File Descriptor library, a backend for GNU Binutils that provides a common interface to various object file formats.
Filed Under: binutilsmipsprocessorcommitembedded