8000 gh-120619: Strength reduce function guards, support 2-operand uop for… · python/cpython@6293d00 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6293d00

Browse files
Fidget-Spinnerbrandtbucher
anda 8000 uthored
gh-120619: Strength reduce function guards, support 2-operand uop forms (GH-124846)
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
1 parent f8276bf commit 6293d00

17 files changed

+379
-270
lines changed

Include/internal/pycore_optimizer.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ typedef struct {
5858
uint16_t error_target;
5959
};
6060
};
61-
uint64_t operand; // A cache entry
61+
uint64_t operand0; // A cache entry
62+
uint64_t operand1;
6263
} _PyUOpInstruction;
6364

6465
typedef struct {

0 commit comments

Comments
 (0)
0