VirtualBox

Changeset 94260 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Mar 15, 2022 11:45:51 PM (3 years ago)
Author:
vboxsync
Message:

VMM/IEM: Implemented C versions of fld1, fldz, and friends. Tests too. Added proper option parsing to tstIEMAImpl with some basic test selecting. [build fix] bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstIEMAImpl.cpp

    r94259 r94260  
    19551955    {
    19561956        RTStrmPrintf(pOut, "static const FPU_LD_CONST_TEST_T g_aTests_%s[] =\n{\n", g_aFpuLdConst[iFn].pszName);
    1957         for (size_t iTest = 0; iTest < cTests; iTest += 4)
     1957        for (uint32_t iTest = 0; iTest < cTests; iTest += 4)
    19581958        {
    19591959            State.FCW = RandU16() & (X86_FCW_MASK_ALL | X86_FCW_PC_MASK);
    19601960            State.FSW = RandU16() & (X86_FSW_C_MASK | X86_FSW_XCPT_ES_MASK | X86_FSW_TOP_MASK | X86_FSW_B);
    19611961
    1962             for (size_t iRounding = 0; iRounding < 4; iRounding++)
     1962            for (uint16_t iRounding = 0; iRounding < 4; iRounding++)
    19631963            {
    19641964                IEMFPURESULT Res;
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