VirtualBox

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


Ignore:
Timestamp:
Mar 20, 2024 5:11:25 PM (11 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
162351
Message:

VMM/IEM: Implement native emitters for IEM_MC_STORE_YREG_U128(), IEM_MC_COPY_YREG_U256_ZX_VLMAX() and IEM_MC_COPY_YREG_U128_ZX_VLMAX(), bugref:10614 [revert accidental part]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllN8vePython.py

    r103973 r103974  
    637637                g_dUnsupportedMcStmtLastOneStats[sStmt] = [oVariation,];
    638638
    639     if (    len(dUnsupportedStmts) in (1,2)
    640         and iai.McStmt.findStmtByNames(aoStmts,
    641                                        { 'IEM_MC_CALL_AIMPL_3': 1,
    642                                          'IEM_MC_CALL_AIMPL_4': 1,
    643                                          #'IEM_MC_CALL_VOID_AIMPL_0': 1, - can't test results... ?
    644                                          'IEM_MC_CALL_VOID_AIMPL_1': 1,
    645                                          'IEM_MC_CALL_VOID_AIMPL_2': 1,
    646                                          'IEM_MC_CALL_VOID_AIMPL_3': 1,
    647                                          'IEM_MC_CALL_VOID_AIMPL_4': 1,
    648                                          'IEM_MC_CALL_FPU_AIMPL_1': 1,
    649                                          'IEM_MC_CALL_FPU_AIMPL_2': 1,
    650                                          'IEM_MC_CALL_FPU_AIMPL_3': 1,
    651                                          'IEM_MC_CALL_MMX_AIMPL_2': 1,
    652                                          'IEM_MC_CALL_MMX_AIMPL_3': 1,
    653                                          'IEM_MC_CALL_SSE_AIMPL_2': 1,
    654                                          'IEM_MC_CALL_SSE_AIMPL_3': 1,
    655                                          'IEM_MC_CALL_AVX_AIMPL_2': 1,
    656                                          'IEM_MC_CALL_AVX_AIMPL_3': 1,
    657                                          'IEM_MC_CALL_AVX_AIMPL_4': 1,
    658                                         })):
    659         for sStmt in dUnsupportedStmts:
    660             if sStmt in g_dUnsupportedMcStmtLastOneAImplStats:
    661                 g_dUnsupportedMcStmtLastOneAImplStats[sStmt].append(oVariation);
    662             else:
    663                 g_dUnsupportedMcStmtLastOneAImplStats[sStmt] = [oVariation,];
     639    #if (    len(dUnsupportedStmts) in (1,2)
     640    #    and iai.McStmt.findStmtByNames(aoStmts,
     641    #                                   { 'IEM_MC_CALL_AIMPL_3': 1,
     642    #                                     'IEM_MC_CALL_AIMPL_4': 1,
     643    #                                     #'IEM_MC_CALL_VOID_AIMPL_0': 1, - can't test results... ?
     644    #                                     'IEM_MC_CALL_VOID_AIMPL_1': 1,
     645    #                                     'IEM_MC_CALL_VOID_AIMPL_2': 1,
     646    #                                     'IEM_MC_CALL_VOID_AIMPL_3': 1,
     647    #                                     'IEM_MC_CALL_VOID_AIMPL_4': 1,
     648    #                                     #'IEM_MC_CALL_FPU_AIMPL_1': 1,
     649    #                                     #'IEM_MC_CALL_FPU_AIMPL_2': 1,
     650    #                                     #'IEM_MC_CALL_FPU_AIMPL_3': 1,
     651    #                                     #'IEM_MC_CALL_MMX_AIMPL_2': 1,
     652    #                                     #'IEM_MC_CALL_MMX_AIMPL_3': 1,
     653    #                                     #'IEM_MC_CALL_SSE_AIMPL_2': 1,
     654    #                                     #'IEM_MC_CALL_SSE_AIMPL_3': 1,
     655    #                                     #'IEM_MC_CALL_AVX_AIMPL_2': 1,
     656    #                                     #'IEM_MC_CALL_AVX_AIMPL_3': 1,
     657    #                                     #'IEM_MC_CALL_AVX_AIMPL_4': 1,
     658    #                                    })):
     659    #    for sStmt in dUnsupportedStmts:
     660    #        if sStmt in g_dUnsupportedMcStmtLastOneAImplStats:
     661    #            g_dUnsupportedMcStmtLastOneAImplStats[sStmt].append(oVariation);
     662    #        else:
     663    #            g_dUnsupportedMcStmtLastOneAImplStats[sStmt] = [oVariation,];
    664664
    665665    return None;
     
    728728        print('todo:', file = sys.stderr);
    729729
    730     if g_dUnsupportedMcStmtLastOneAImplStats:
    731         asTopKeys = sorted(g_dUnsupportedMcStmtLastOneAImplStats, reverse = True,
    732                            key = lambda sSortKey: len(g_dUnsupportedMcStmtLastOneAImplStats[sSortKey]))[:16];
    733         print('todo:', file = sys.stderr);
    734         print('todo: Top %s variations with AIMPL call and 1-2 unsupported statement dependencies:' % (len(asTopKeys),),
    735               file = sys.stderr);
    736         cchMaxKey = max([len(sKey) for sKey in asTopKeys]);
    737         for sKey in asTopKeys:
    738             print('todo: %*s = %s (%s%s)'
    739                   % (cchMaxKey, sKey, len(g_dUnsupportedMcStmtLastOneAImplStats[sKey]),
    740                      ', '.join([oVar.getShortName() for oVar in g_dUnsupportedMcStmtLastOneAImplStats[sKey][:5]]),
    741                      ',...' if len(g_dUnsupportedMcStmtLastOneAImplStats[sKey]) >= 5 else '', )
    742                      , file = sys.stderr);
     730    #if g_dUnsupportedMcStmtLastOneAImplStats:
     731    #    asTopKeys = sorted(g_dUnsupportedMcStmtLastOneAImplStats, reverse = True,
     732    #                       key = lambda sSortKey: len(g_dUnsupportedMcStmtLastOneAImplStats[sSortKey]))[:16];
     733    #    print('todo:', file = sys.stderr);
     734    #    print('todo: Top %s variations with AIMPL call and 1-2 unsupported statement dependencies:' % (len(asTopKeys),),
     735    #          file = sys.stderr);
     736    #    cchMaxKey = max([len(sKey) for sKey in asTopKeys]);
     737    #    for sKey in asTopKeys:
     738    #        print('todo: %*s = %s (%s%s)'
     739    #              % (cchMaxKey, sKey, len(g_dUnsupportedMcStmtLastOneAImplStats[sKey]),
     740    #                 ', '.join([oVar.getShortName() for oVar in g_dUnsupportedMcStmtLastOneAImplStats[sKey][:5]]),
     741    #                 ',...' if len(g_dUnsupportedMcStmtLastOneAImplStats[sKey]) >= 5 else '', )
     742    #                 , file = sys.stderr);
    743743
    744744    return True;
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