Changeset 103974 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Mar 20, 2024 5:11:25 PM (11 months ago)
- svn:sync-xref-src-repo-rev:
- 162351
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllN8vePython.py
r103973 r103974 637 637 g_dUnsupportedMcStmtLastOneStats[sStmt] = [oVariation,]; 638 638 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 649 650 651 652 653 654 655 656 657 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,]; 664 664 665 665 return None; … … 728 728 print('todo:', file = sys.stderr); 729 729 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); 743 743 744 744 return True;
Note:
See TracChangeset
for help on using the changeset viewer.