Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-106581: SplitCALL_PY_EXACT_ARGS into uops#107760

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
gvanrossum merged 20 commits intopython:mainfromgvanrossum:call-uops
Aug 16, 2023
Merged
Changes from1 commit
Commits
Show all changes
20 commits
Select commitHold shift + click to select a range
56133bb
Split `CALL_PY_EXACT_ARGS` into uops
gvanrossumAug 5, 2023
907ff95
Fix merge so it works again (I think)
gvanrossumAug 9, 2023
2c6be6d
Split into finer-grained uops
gvanrossumAug 9, 2023
6d78ff2
Fix type error in stacking.py
gvanrossumAug 10, 2023
0d8e66c
Add test
gvanrossumAug 10, 2023
b75f30e
Add comment explaining _PUSH_FRAME's unused output effect
gvanrossumAug 10, 2023
61c2822
Make PUSH_FRAME special case a little less myterious
gvanrossumAug 10, 2023
f73ea90
Rename Instruction.write to write_case_body
gvanrossumAug 10, 2023
12910fc
Move next_instr update to a more logical place
gvanrossumAug 10, 2023
2fafa2c
Don't recompute macro cache offset
gvanrossumAug 10, 2023
2717b07
Fold and refactor long line in stacking.py
gvanrossumAug 10, 2023
e487908
Fold long lines in generate_cases.py
gvanrossumAug 10, 2023
1d549af
Don't emit static assert to executor cases
gvanrossumAug 10, 2023
f40fb1f
Factor away write_case_body (formerly Instruction.write)
gvanrossumAug 10, 2023
4f6f8f8
Fold long lines
gvanrossumAug 11, 2023
6facc8d
Make less of a special case of _PUSH_FRAME
gvanrossumAug 11, 2023
94630d4
Stop special-casing _PUSH_FRAME altogether
gvanrossumAug 11, 2023
cf8e2c0
Call _Py_EnterRecursivePy in _FRAME_PUSH
gvanrossumAug 15, 2023
1e62876
Merge remote-tracking branch 'upstream/main' into call-uops
gvanrossumAug 15, 2023
05af848
Introduce SAVE_CURRENT_IP uop per Mark's proposal
gvanrossumAug 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Fold long lines
  • Loading branch information
@gvanrossum
gvanrossum committedAug 11, 2023
commit4f6f8f8f44761ae3945cc873497bbfe2ec07102b
8 changes: 6 additions & 2 deletionsTools/cases_generator/generate_cases.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -604,7 +604,9 @@ def write_executor_instructions(
n_instrs += 1
self.out.emit("")
with self.out.block(f"case {thing.name}:"):
stacking.write_single_instr(instr, self.out, tier=TIER_TWO)
stacking.write_single_instr(
instr, self.out, tier=TIER_TWO
)
if instr.check_eval_breaker:
self.out.emit("CHECK_EVAL_BREAKER();")
self.out.emit("break;")
Expand DownExpand Up@@ -637,7 +639,9 @@ def write_instr(self, instr: Instruction) -> None:
with self.out.block(f"TARGET({name})"):
if instr.predicted:
self.out.emit(f"PREDICTED({name});")
self.out.static_assert_family_size(instr.name, instr.family, instr.cache_offset)
self.out.static_assert_family_size(
instr.name, instr.family, instr.cache_offset
)
stacking.write_single_instr(instr, self.out, tier=TIER_ONE)
if not instr.always_exits:
if instr.cache_offset:
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp