Line 66:
Line 66:
ps_rsqrte frD, frB
ps_rsqrte frD, frB
This instruction gets an estimate of the reciprocals of the square roots of both paired-singles in '''frB''' accurate to a precision of 1/4096, and stores them in the paired-singles in '''frD'''.
This instruction gets an estimate of the reciprocals of the square roots of both paired-singles in '''frB''' accurate to a precision of 1/4096, and stores them in the paired-singles in '''frD'''.
+
+
== Basic Math ==
+
Simple everyday math.
+
=== ps_add ===
+
ps_add frD, frA, frB
+
This instruction adds the paired-singles in '''frA''' to the ones in '''frB''', then stores the results in the paired-singles in '''frD'''.
+
=== ps_div ===
+
ps_div frD, frA, frB
+
This instruction divides the paired-singles in '''frA''' by the ones in '''frB''', then stores the results in the paired-singles in '''frD'''.
+
=== ps_mul ===
+
ps_mul frD, frA, frC
+
This instruction multiplies the paired-singles in '''frA''' by the ones in '''frC''', then stores the results in the paired-singles in '''frD'''.
+
=== ps_sub ===
+
ps_sub frD, frA, frB
+
This instruction subtracts the paired-singles in '''frB''' from the ones in '''frA''', then stores the results in the paired-singles in '''frD'''.