Fixed that dumb bsun bug

This commit is contained in:
Peter Rutenbar 2015-09-04 12:01:01 -04:00
parent c0439a2f57
commit 7f8b393fcc
1 changed files with 4 additions and 4 deletions

View File

@ -3066,7 +3066,7 @@ void inst_fscc () {
* inst_f*cc instructions throw a pre-instruction exception
* if b && cc_nan
*/
if (b && _bsun_test())
if (b && cc_nan && _bsun_test())
return ;
shoe.dat = fpu_test_cc(c) ? 0xff : 0;
@ -3087,7 +3087,7 @@ void inst_fbcc () {
* inst_f*cc instructions throw a pre-instruction exception
* if b && cc_nan
*/
if (b && _bsun_test())
if (b && cc_nan && _bsun_test())
return ;
if (fpu_test_cc(c)) {
@ -3190,7 +3190,7 @@ void inst_fdbcc () {
* inst_f*cc instructions throw a pre-instruction exception
* if b && cc_nan
*/
if (b && _bsun_test())
if (b && cc_nan && _bsun_test())
return ;
if (fpu_test_cc(c)) {
@ -3225,7 +3225,7 @@ void inst_ftrapcc () {
* inst_f*cc instructions throw a pre-instruction exception
* if b && cc_nan
*/
if (b && _bsun_test())
if (b && cc_nan && _bsun_test())
return ;
if (fpu_test_cc(c))