Repository navigation
Commit 97d2ec9
Add more kinds to KIND_OP
Eleven kinds, all tier-1 counterparts of existing tier-2 uops or of open
specialization proposals:
- UNARY_NEGATIVE_INPLACE: negate a uniquely referenced float in place
(UNARY_NEGATIVE gains an inline cache)
- BINARY_OP_TRUEDIV_FLOAT: float / float when the operands are shared
- BINARY_OP_FLOOR_DIVIDE_INT, BINARY_OP_REMAINDER_INT: compact ints,
nonzero divisor, floor semantics
- BINARY_OP_LSHIFT_INT, BINARY_OP_RSHIFT_INT: compact ints, shift count
within range
- BINARY_OP_SUBSCR_BYTES_INT, BINARY_OP_SUBSCR_BYTEARRAY_INT,
STORE_SUBSCR_BYTEARRAY_INT: byte access with a compact in-range index
- UNPACK_SEQUENCE_STEAL_TWO_TUPLE, UNPACK_SEQUENCE_STEAL_TUPLE: a tuple
referenced only from the stack gives up its items without refcount
traffic; a shared tuple takes the increfing path
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>1 parent 6afae50 commit 97d2ec9
14 files changed
Lines changed: 3241 additions & 111 deletions
File tree
- Include/internal
- Lib
- Modules/_testinternalcapi
- Python
- Tools/cases_generator
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
163 | 174 | | |
164 | 175 | | |
165 | 176 | | |
| |||
345 | 356 | | |
346 | 357 | | |
347 | 358 | | |
| 359 | + | |
348 | 360 | | |
349 | 361 | | |
350 | 362 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
| 307 | + | |
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments