Skip to contentSkip to conversation

target/mips: Define the R5900 CPU

PATCH Fredrik Noring 2 participants 2 messages Oct 21, 2018 4 messages not in the archive

lore
Share & tools
lore
#4 lore raw
In reply to a message not in the archive

Hi Maciej,

Quoted 7 lines

The C790 is a follow-up to the R5900. The R5900 has an FPU that is not
compliant to the IEEE 754 standard for floating-point arithmetic. It doesn't implement exceptions, infinities, NaNs or denormals. It doesn't implement the the double format either, but that is really tangential, because the same was the case with the IDT R4650, which had a standard IEEE 754 FPU, but no double format either. Finally it has some anomalies in the FP instruction set; not all opcode encodings are standard.

Do you know where one might find a list of the nonstandard FP instructions?

The command

% grep 'FP_.*EE' binutils/opcodes/mips-opc.c

gives a list of candidates, I suppose?

Fredrik

#5 lore raw

Hi Fredrik,

Quoted 8 lines
Quoted 7 lines

The C790 is a follow-up to the R5900. The R5900 has an FPU that is not
compliant to the IEEE 754 standard for floating-point arithmetic. It doesn't implement exceptions, infinities, NaNs or denormals. It doesn't implement the the double format either, but that is really tangential, because the same was the case with the IDT R4650, which had a standard IEEE 754 FPU, but no double format either. Finally it has some anomalies in the FP instruction set; not all opcode encodings are standard.

Quoted 7 lines

Do you know where one might find a list of the nonstandard FP instructions?

The command

% grep 'FP_.*EE' binutils/opcodes/mips-opc.c

gives a list of candidates, I suppose?

Yeah, those that have EE in `membership' are extra and those that have EE
in `exclusions' are missing.

See also: <https://sourceware.org/ml/binutils/2012-11/msg00360.html>.

Maciej