MIPS R4000 Microprocessor User's Manual B-9
FPU Instruction Set Details
B.4 Computational Instructions
Computational instructions include all of the arithmetic floating-point
operations performed by the FPU.
Figure B-2 shows the R-Type instruction format used for computational
operations.
Figure B-2 Computational Instruction Format
The function field indicates the floating-point operation to be performed.
Each floating-point instruction can be applied to a number of operand
formats. The operand format for an instruction is specified by the 5-bit
format field; decoding for this field is shown in Table B-4.
Table B-4 Format Field Decoding
Table B-5 lists all floating-point instructions.
Code Mnemonic Size Format
16 S single Binary floating-point
17 D double Binary floating-point
18 Reserved
19 Reserved
20 W single 32-bit binary fixed-point
21 L longword 64-bit binary fixed-point
22–31 Reserved
COP1 is a 6-bit operation code
fmt is a 5-bit format specifier
fs is a 5-bit source1 register
ft is a 5-bit source2 register
fd is a 5-bit destination register
function is a 6-bit function field
31 0
R-Type (Register)
655556
COP1 fmt ft fs fd function
11 1021 20 16 1526 25 65