EasyManua.ls Logo

Mips Technologies R4000 - Floating-Point Instruction Set Overview

Mips Technologies R4000
754 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MIPS R4000 Microprocessor User's Manual 167
Floating-Point Unit
6.6 Floating-Point Instruction Set Overview
All FPU instructions are 32 bits long, aligned on a word boundary. They
can be divided into the following groups:
Load, Store, and Move instructions move data between
memory, the main processor, and the FPU General Purpose
registers.
Conversion instructions perform conversion operations
between the various data formats.
Computational instructions perform arithmetic operations on
floating-point values in the FPU registers.
Compare instructions perform comparisons of the contents of
registers and set a conditional bit based on the results.
Branch on FPU Condition instructions perform a branch to the
specified target if the specified coprocessor condition is met.
In the instruction formats shown in Tables 6-9 through 6-12, the fmt
appended to the instruction opcode specifies the data format: S specifies
single-precision binary floating-point, D specifies double-precision binary
floating-point, W specifies 32-bit binary fixed-point, and L specifies 64-bit
(long) binary fixed-point.
Table 6-9 FPU Instruction Summary: Load, Move and Store Instructions
OpCode Description
LWC1 Load Word to FPU
SWC1 Store Word from FPU
LDC1 Load Doubleword to FPU
SDC1 Store Doubleword From FPU
MTC1 Move Word To FPU
MFC1 Move Word From FPU
CTC1 Move Control Word To FPU
CFC1 Move Control Word From FPU
DMTC1 Doubleword Move To FPU
DMFC1 Doubleword Move From FPU

Table of Contents