VirtualBox

Changeset 94566 in vbox for trunk/src/libs/softfloat-3e


Ignore:
Timestamp:
Apr 11, 2022 8:38:06 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
150922
Message:

libs/softfloat: Made extF80_roundToInt set our 'c1' flag too, so it can more easily be used to implement the frndint instruction. bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/softfloat-3e/source/extF80_roundToInt.c

    r94558 r94566  
    119119        uiZ64 = signUI64 | 0x3FFF;
    120120        sigZ  = UINT64_C( 0x8000000000000000 );
     121        softfloat_exceptionFlags |= softfloat_flag_c1; /* VBox */
    121122        goto uiZ;
    122123    }
     
    141142        ++uiZ64;
    142143        sigZ = UINT64_C( 0x8000000000000000 );
    143     }
     144        softfloat_exceptionFlags |= softfloat_flag_c1; /* VBox */
     145    } else if ( sigZ > sigA ) softfloat_exceptionFlags |= softfloat_flag_c1; /* VBox */
    144146    if ( sigZ != sigA ) {
    145147#ifdef SOFTFLOAT_ROUND_ODD
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette