| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | gh-101799: implement PREP_RERAISE_STAR as an intrinsic function (#101800) | Irit Katriel | 2023-02-14 | 1 | -10/+10 |
| | | |||||
| * | GH-87849: Simplify stack effect of SEND and specialize it for generators and ↵ | Mark Shannon | 2023-02-13 | 1 | -0/+1 |
| | | | | | coroutines. (GH-101788) | ||||
| * | gh-101632: Add the new RETURN_CONST opcode (#101633) | penguin_wwy | 2023-02-07 | 1 | -7/+9 |
| | | |||||
| * | gh-100712: make it possible to disable specialization (for debugging) (#100713) | Irit Katriel | 2023-01-19 | 1 | -0/+2 |
| | | |||||
| * | GH-100982: Add `COMPARE_AND_BRANCH` instruction (GH-100983) | Mark Shannon | 2023-01-16 | 1 | -9/+10 |
| | | |||||
| * | GH-99005: More intrinsics (GH-100774) | Mark Shannon | 2023-01-06 | 1 | -60/+57 |
| | | | | * Remove UNARY_POSITIVE, LIST_TO_TUPLE and ASYNC_GEN_WRAP, replacing them with intrinsics. | ||||
| * | GH-99005: Add `CALL_INTRINSIC_1` instruction (GH-100771) | Mark Shannon | 2023-01-05 | 1 | -30/+28 |
| | | | | | | | | | * Remove PRINT_EXPR instruction * Remove STOPITERATION_ERROR instruction * Remove IMPORT_STAR instruction | ||||
| * | GH-100288: Remove LOAD_ATTR_METHOD_WITH_DICT instruction. (GH-100753) | Mark Shannon | 2023-01-05 | 1 | -17/+16 |
| | | |||||
| * | Revert "gh-100288: Specialise LOAD_ATTR_METHOD for managed dictionaries ↵ | Ken Jin | 2022-12-23 | 1 | -18/+17 |
| | | | | | | (GH-100289)" (#100468) This reverts commit c3c7848a48b74a321632202e4bdcf2f465fb1cc6. | ||||
| * | gh-100288: Specialise LOAD_ATTR_METHOD for managed dictionaries (GH-100289) | Ken Jin | 2022-12-23 | 1 | -17/+18 |
| | | |||||
| * | GH-100110: Specialize FOR_ITER for tuples (GH-100109) | Ken Jin | 2022-12-09 | 1 | -28/+29 |
| | | | | * Specialize FOR_ITER for tuples | ||||
| * | GH-98686: Get rid of BINARY_OP_GENERIC and COMPARE_OP_GENERIC (GH-99399) | Brandt Bucher | 2022-11-17 | 1 | -60/+58 |
| | | |||||
| * | GH-96421: Insert shim frame on entry to interpreter (GH-96319) | Mark Shannon | 2022-11-10 | 1 | -63/+64 |
| | | | | | | | * Adds EXIT_INTERPRETER instruction to exit PyEval_EvalDefault() * Simplifies RETURN_VALUE, YIELD_VALUE and RETURN_GENERATOR instructions as they no longer need to check for entry frames. | ||||
| * | GH-98686: Get rid of "adaptive" and "quick" instructions (GH-99182) | Brandt Bucher | 2022-11-09 | 1 | -67/+58 |
| | | |||||
| * | GH-96793: Specialize FOR_ITER for generators. (GH-98772) | Mark Shannon | 2022-11-07 | 1 | -31/+32 |
| | | |||||
| * | GH-96793: Implement PEP 479 in bytecode. (GH-99006) | Mark Shannon | 2022-11-03 | 1 | -36/+37 |
| | | | | | | * Handle converting StopIteration to RuntimeError in bytecode. * Add custom instruction for converting StopIteration into RuntimeError. | ||||
| * | GH-98686: Quicken everything (GH-98687) | Brandt Bucher | 2022-11-02 | 1 | -33/+31 |
| | | |||||
| * | GH-96793: Change `FOR_ITER` to not pop the iterator on exhaustion. (GH-96801) | Mark Shannon | 2022-10-27 | 1 | -72/+73 |
| | | | | | Change FOR_ITER to have the same stack effect regardless of whether it branches or not. Performance is unchanged as FOR_ITER (and specialized forms jump over the cleanup code). | ||||
| * | gh-97669: Create Tools/build/ directory (#97963) | Victor Stinner | 2022-10-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | Create Tools/build/ directory. Move the following scripts from Tools/scripts/ to Tools/build/: * check_extension_modules.py * deepfreeze.py * freeze_modules.py * generate_global_objects.py * generate_levenshtein_examples.py * generate_opcode_h.py * generate_re_casefix.py * generate_sre_constants.py * generate_stdlib_module_names.py * generate_token.py * parse_html5_entities.py * smelly.py * stable_abi.py * umarshal.py * update_file.py * verify_ensurepip_wheels.py Update references to these scripts. | ||||
| * | gh-93554: Conditional jump opcodes only jump forward (GH-96318) | Irit Katriel | 2022-09-01 | 1 | -26/+14 |
| | | |||||
| * | GH-90997: Wrap yield from/await in a virtual try/except StopIteration (GH-96010) | Brandt Bucher | 2022-08-19 | 1 | -42/+43 |
| | | |||||
| * | GH-93911: Specialize `LOAD_ATTR` for custom `__getattribute__` (GH-93988) | Ken Jin | 2022-08-17 | 1 | -29/+30 |
| | | |||||
| * | gh-94216: add pseudo instructions to the dis/opcodes modules (GH-94241) | Irit Katriel | 2022-07-01 | 1 | -6/+26 |
| | | |||||
| * | GH-94163: Add BINARY_SLICE and STORE_SLICE instructions. (GH-94168) | Mark Shannon | 2022-06-27 | 1 | -55/+57 |
| | | |||||
| * | GH-91432: Specialize FOR_ITER (GH-91713) | Dennis Sweeney | 2022-06-21 | 1 | -32/+35 |
| | | | | | | * Adds FOR_ITER_LIST and FOR_ITER_RANGE specializations. * Adds _PyLong_AssignValue() internal function to avoid temporary boxing of ints. | ||||
| * | gh-93911: Specialize `LOAD_ATTR_PROPERTY` (GH-93912) | Ken Jin | 2022-06-17 | 1 | -26/+27 |
| | | |||||
| * | GH-93429: Merge `LOAD_METHOD` back into `LOAD_ATTR` (GH-93430) | Ken Jin | 2022-06-14 | 1 | -32/+29 |
| | | |||||
| * | gh-93143: Avoid NULL check in LOAD_FAST based on analysis in the compiler ↵ | Dennis Sweeney | 2022-05-31 | 1 | -15/+16 |
| | | | | | (GH-93144) | ||||
| * | gh-92777: Add LOAD_METHOD_LAZY_DICT (GH-92778) | Ken Jin | 2022-05-25 | 1 | -18/+19 |
| | | |||||
| * | GH-89914: Make the oparg of the YIELD_VALUE instruction equal the stack ↵ | Mark Shannon | 2022-05-19 | 1 | -7/+7 |
| | | | | | depth. (GH-92960) | ||||
| * | GH-90690: Remove `PRECALL` instruction (GH-92925) | Mark Shannon | 2022-05-19 | 1 | -55/+52 |
| | | |||||
| * | gh-91869: Fix tracing of specialized instructions with extended args (GH-91945) | Dennis Sweeney | 2022-04-28 | 1 | -49/+50 |
| | | |||||
| * | gh-91719: Add pycore_opcode.h internal header file (#91906) | Victor Stinner | 2022-04-25 | 1 | -564/+2 |
| | | | | | | | | | | | | Move the following API from Include/opcode.h (public C API) to a new Include/internal/pycore_opcode.h header file (internal C API): * EXTRA_CASES * _PyOpcode_Caches * _PyOpcode_Deopt * _PyOpcode_Jump * _PyOpcode_OpName * _PyOpcode_RelativeJump | ||||
| * | GH-91719: Make MSVC generate somewhat faster switch code (#91718) | Guido van Rossum | 2022-04-21 | 1 | -0/+78 |
| | | | | | | | | | | | | Apparently a switch on an 8-bit quantity where all cases are present generates a more efficient jump (doing only one indexed memory load instead of two). So we make opcode and use_tracing uint8_t, and generate a macro full of extra `case NNN:` lines for all unused opcodes. See https://github.com/faster-cpython/ideas/issues/321#issuecomment-1103263673 | ||||
| * | gh-91276: Make JUMP_IF_TRUE_OR_POP/JUMP_IF_FALSE_OR_POP relative (GH-32215) | Irit Katriel | 2022-04-15 | 1 | -1/+1 |
| | | |||||
| * | gh-91428: include specialized opcodes in _PyOpcode_OpName (GH-91467) | Dennis Sweeney | 2022-04-14 | 1 | -0/+146 |
| | | |||||
| * | gh-91428: Add _PyOpcode_OpName to opcode.h of debug builds (GH-91430) | Dennis Sweeney | 2022-04-11 | 1 | -0/+115 |
| | | |||||
| * | bpo-47120: make POP_JUMP_IF_TRUE/FALSE/NONE/NOT_NONE relative (GH-32400) | Irit Katriel | 2022-04-11 | 1 | -15/+23 |
| | | |||||
| * | bpo-47120: make JUMP_NO_INTERRUPT relative (GH-32221) | Irit Katriel | 2022-04-05 | 1 | -3/+3 |
| | | |||||
| * | bpo-47186: Replace JUMP_IF_NOT_EG_MATCH by CHECK_EG_MATCH + jump (GH-32309) | Irit Katriel | 2022-04-05 | 1 | -36/+36 |
| | | |||||
| * | bpo-47186: Replace JUMP_IF_NOT_EXC_MATCH by CHECK_EXC_MATCH + jump (GH-32231) | Irit Katriel | 2022-04-01 | 1 | -36/+36 |
| | | |||||
| * | bpo-47120: Replace the JUMP_ABSOLUTE opcode by the relative JUMP_BACKWARD ↵ | Irit Katriel | 2022-03-31 | 1 | -8/+8 |
| | | | | | (GH-32115) | ||||
| * | bpo-47127: Specialize calls for fastcall c methods with keywords (GH-32125) | Kumar Aditya | 2022-03-27 | 1 | -26/+28 |
| | | | | | * add PRECALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS | ||||
| * | bpo-46841: Quicken code in-place (GH-31888) | Brandt Bucher | 2022-03-21 | 1 | -205/+385 |
| | | | | | | | | | | | | | | | | | | | | * Moves the bytecode to the end of the corresponding PyCodeObject, and quickens it in-place. * Removes the almost-always-unused co_varnames, co_freevars, and co_cellvars member caches * _PyOpcode_Deopt is a new mapping from all opcodes to their un-quickened forms. * _PyOpcode_InlineCacheEntries is renamed to _PyOpcode_Caches * _Py_IncrementCountAndMaybeQuicken is renamed to _PyCode_Warmup * _Py_Quicken is renamed to _PyCode_Quicken * _co_quickened is renamed to _co_code_adaptive (and is now a read-only memoryview). * Do not emit unused nonzero opargs anymore in the compiler. | ||||
| * | bpo-46841: Don't use an oparg counter for `STORE_SUBSCR` (GH-31742) | Brandt Bucher | 2022-03-08 | 1 | -0/+1 |
| | | |||||
| * | bpo-46841: Use inline caching for calls (GH-31709) | Brandt Bucher | 2022-03-07 | 1 | -70/+72 |
| | | |||||
| * | bpo-46841: Fix error message hacks in `GET_AWAITABLE` (GH-31664) | Brandt Bucher | 2022-03-04 | 1 | -8/+8 |
| | | |||||
| * | bpo-46841: Use inline caching for attribute accesses (GH-31640) | Brandt Bucher | 2022-03-03 | 1 | -1/+3 |
| | | |||||
| * | bpo-46841: Use inline cache for `BINARY_SUBSCR`. (GH-31618) | Mark Shannon | 2022-03-01 | 1 | -0/+1 |
| | | |||||
| * | bpo-46841: Use inline caching for `COMPARE_OP` (GH-31622) | Brandt Bucher | 2022-03-01 | 1 | -0/+1 |
| | | |||||
