Fix "vasin" instruction.

This commit is contained in:
Henrik Rydgard
2013-03-24 11:36:56 +01:00
parent 2351efc584
commit 1c05ca355d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -525,7 +525,7 @@ namespace MIPSInt
case 20: d[i] = powf(2.0f, s[i]); break; //vexp2
case 21: d[i] = logf(s[i])/log(2.0f); break; //vlog2
case 22: d[i] = fabsf(sqrtf(s[i])); break; //vsqrt
case 23: d[i] = asinf(s[i] * (float)M_2_PI); break; //vasin
case 23: d[i] = asinf(s[i]) / M_PI_2; break; //vasin
case 24: d[i] = -1.0f / s[i]; break; // vnrcp
case 26: d[i] = -sinf((float)M_PI_2 * s[i]); break; // vnsin
case 28: d[i] = 1.0f / powf(2.0, s[i]); break; // vrexp2