Retired Documents Library Developer

Next: , Up: MIPS Paired-Single Support Paired-Single Arithmetic

The table below lists the v2sf operations for which hardware support exists. a, b and c are v2sf values and x is an integral value.

C code MIPS instruction
a + b
a - b
a * b
a * b + c
a * b - c
-(a * b + c)
-(a * b - c)
x ? a : b

Note that the multiply-accumulate instructions can be disabled using the command-line option -mno-fused-madd.