Next: , Up: MIPS Loongson Built-in Functions   [Contents][Index] 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 codeMIPS instruction
a +
a -
a *
a * b +
a * b -
-(a * b + c)
-(a * b - c)
x ? a :

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