Skip to content

Faster opcode dispatch on gcc #49003

@pitrou

Description

@pitrou
BPO 4753
Nosy @malemburg, @akuchling, @rhettinger, @facundobatista, @gpshead, @jcea, @db3l, @abalkin, @pitrou, @tiran, @devdanzin, @rbtcollins, @ned-deily, @djc, @bitdancer, @jab
Files
  • amd-athlon64-x2-pybench.txt
  • intel-core2-mobile-pybench.txt
  • amd-athlon64-x2-suncc-pybench.txt
  • amd-athlon64-x2-gcc-sunos-pybench.txt
  • threadedceval5.patch
  • pybench.sum.PPC: Pybench summary for Mac G5
  • pybench.sum.Intel: Pybench summary for MacBook Pro (Intel Core2 Duo)
  • amd-athlon64-x2-64bit-pybench.txt
  • ceval.i.unthreaded: PPC (G5) unthreaded eval assembler
  • ceval.i.threaded: PPC (G5) threaded eval assembler
  • abstract-switch.diff
  • abstract-switch-reduced.diff: Fixed version of abstract-switch.diff, without extraneous changes (IMHO)
  • restore-old-oparg-load.diff: Additional fix, on top of threadedceval5.patch and abstract-switch-reduced.diff, to restore back performances and have no switch at all
  • reenable-static-prediction.diff: Reenable static opcode prediction on top of the rest
  • pitrou_dispatch_2.7.patch: threadedceval5.patch ported to trunk (2.7)
  • vmgen_2.7.patch: vmgen (GForth)-based dispatch optimization with simple superinstructions
  • threadedceval6.patch
  • threadedceval6-py254.patch: threadedceval6 for Python 2.5.4
  • ceval.c.threadcode-tidyup.patch: threaded code tidy up in eval.c
  • newfile.zip: ceval.c and opcode_targets.h
  • cgoto_py2710_hg_final.patch: Computed Goto Patch for Python 2.7.10
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/gpshead'
    closed_at = <Date 2010-07-19.23:55:22.123>
    created_at = <Date 2008-12-26.21:09:38.283>
    labels = ['interpreter-core', 'performance']
    title = 'Faster opcode dispatch on gcc'
    updated_at = <Date 2015-06-02.21:38:03.306>
    user = 'https://github.com/pitrou'

    bugs.python.org fields:

    activity = <Date 2015-06-02.21:38:03.306>
    actor = 'db3l'
    assignee = 'gregory.p.smith'
    closed = True
    closed_date = <Date 2010-07-19.23:55:22.123>
    closer = 'pitrou'
    components = ['Interpreter Core']
    creation = <Date 2008-12-26.21:09:38.283>
    creator = 'pitrou'
    dependencies = []
    files = ['12512', '12513', '12521', '12522', '12524', '12545', '12546', '12551', '12553', '12555', '12584', '12633', '12634', '12635', '12687', '12705', '12769', '12824', '13392', '14521', '39527']
    hgrepos = []
    issue_num = 4753
    keywords = ['patch']
    message_count = 117.0
    messages = ['78306', '78307', '78362', '78363', '78364', '78616', '78620', '78628', '78629', '78651', '78653', '78656', '78657', '78658', '78660', '78663', '78685', '78686', '78687', '78688', '78689', '78691', '78708', '78711', '78722', '78730', '78731', '78735', '78736', '78748', '78808', '78828', '78831', '78834', '78837', '78871', '78872', '78898', '78899', '78910', '78911', '78915', '78921', '78923', '78925', '78956', '79032', '79033', '79034', '79035', '79037', '79051', '79053', '79056', '79058', '79077', '79080', '79105', '79123', '79264', '79302', '79321', '79335', '79365', '79505', '79530', '79532', '79536', '79537', '79539', '79541', '79545', '79605', '79627', '79688', '79695', '79699', '79720', '79722', '79734', '79835', '79980', '79984', '79985', '80324', '80489', '80515', '80571', '80669', '80717', '80828', '80832', '80833', '80834', '80838', '80867', '80881', '80882', '81120', '81166', '81341', '81361', '83959', '84736', '84764', '84770', '85838', '90688', '110842', '244229', '244231', '244256', '244329', '244617', '244620', '244628', '244693']
    nosy_count = 31.0
    nosy_names = ['lemburg', 'akuchling', 'collinwinter', 'rhettinger', 'facundobatista', 'gregory.p.smith', 'jcea', 'spiv', 'db3l', 'aimacintyre', 'belopolsky', 'ggenellina', 'pitrou', 'christian.heimes', 'ajaksu2', 'jyasskin', 'rbcollins', 'kevinwatters', 'ned.deily', 'djc', 'ralph.corderoy', 'bboissin', 'r.david.murray', 'blaisorblade', 'theatrus', 'Ringding', 'jab', 'mdionisio', 'willp', 'python-dev', 'parasa']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue4753'
    versions = ['Python 3.1']

    Metadata

    Metadata

    Assignees

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions