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-113464: A copy-and-patch JIT compiler#113465

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

Closed
brandtbucher wants to merge459 commits intopython:mainfrombrandtbucher:justin
Closed
Changes from1 commit
Commits
Show all changes
459 commits
Select commitHold shift + click to select a range
8f6c5fe
Remove the ip_offset hack and executor local
brandtbucherSep 1, 2023
e0888de
Merge branch 'main' into justin
brandtbucherSep 1, 2023
365f7a2
Get rid of ip_offset
brandtbucherSep 1, 2023
7fb79b8
Catch up with main
brandtbucherSep 5, 2023
66a5659
fixup
brandtbucherSep 5, 2023
f90bd1e
Catch up with main
brandtbucherSep 13, 2023
a98d4fe
Crank up the trace length for nbody
brandtbucherSep 13, 2023
dc308ba
Catch up with main
brandtbucherSep 14, 2023
f2b18d7
Add rough assembly dumps to jit_stencils.h
brandtbucherSep 14, 2023
e2ae7bc
Make machine code disassemblies more robust
brandtbucherSep 15, 2023
be88965
Go back to llvm-objdump like the good 'ol days
brandtbucherSep 15, 2023
56976b3
Remove old debugging struct
brandtbucherSep 15, 2023
e33b4ab
-fno-pic
brandtbucherSep 17, 2023
3ac1946
Take a triple (and debug flag) instead of guessing
brandtbucherSep 18, 2023
50731b5
Use more regular configs and fix debug builds
brandtbucherSep 21, 2023
e559898
Try using cross-compiles for aarch64
brandtbucherSep 22, 2023
317ba79
Fix quotes
brandtbucherSep 22, 2023
07e03a1
apt update
brandtbucherSep 22, 2023
e649059
No pkg-config
brandtbucherSep 22, 2023
11c7f44
Fix PGO and disable multiprocessing
brandtbucherSep 22, 2023
4981573
Add missing excludes
brandtbucherSep 22, 2023
1688830
Switch to enums
brandtbucherSep 22, 2023
29936e6
Catch up with main
brandtbucherSep 22, 2023
ed75bd6
More cleanup
brandtbucherSep 22, 2023
8488def
Rename some things, and don't constantly regen
brandtbucherSep 22, 2023
28351a0
Clean up a bunch of stuff
brandtbucherSep 23, 2023
cc5db79
Patch opargs and operands in the continuation
brandtbucherSep 24, 2023
f2817bb
Fix GHCCC hack
brandtbucherSep 24, 2023
fb96638
Blacken
brandtbucherSep 24, 2023
77e1487
Fix incorrect signature
brandtbucherSep 24, 2023
5e9259d
-fpic -mcmodel=small
brandtbucherSep 24, 2023
ff1d6a7
-fno-pic -mcmodel=medium
brandtbucherSep 24, 2023
af9f114
Catch up with main
brandtbucherSep 25, 2023
c8b5073
Catch up with justin
brandtbucherSep 29, 2023
57a8019
Switch to -mcmodel=small -fpic on two platforms
brandtbucherSep 29, 2023
68a87a1
Ditto for Intel Macs
brandtbucherSep 29, 2023
f44767b
ELF cleanup
brandtbucherSep 29, 2023
60d6295
More cleanup
brandtbucherSep 29, 2023
d634cd3
Catch up with main
brandtbucherSep 29, 2023
ca4956f
Add R_X86_64_PC32
brandtbucherSep 29, 2023
092c795
Fixes for aarch64 and i686
brandtbucherSep 29, 2023
15ba80d
ELF everywhere!
brandtbucherOct 2, 2023
f2927ae
Fix some leftover bugs
brandtbucherOct 2, 2023
26abedf
More cleanup
brandtbucherOct 2, 2023
1cb4a1f
Catch up with main
brandtbucherOct 2, 2023
b2e47f9
Catch up with justin
brandtbucherOct 2, 2023
1799b79
Get rid of an old workaround
brandtbucherOct 2, 2023
aef1e42
Not my fault
brandtbucherOct 3, 2023
7b33e21
More cleanup
brandtbucherOct 3, 2023
32b2708
Fix relocations
brandtbucherOct 3, 2023
94448ed
Get rid of dynamic lookup
brandtbucherOct 3, 2023
d08d53c
Clean things up for merge
brandtbucherOct 3, 2023
502ab9c
Get rid of some extra padding
brandtbucherOct 4, 2023
f87aab2
Clean up the diff
brandtbucherOct 4, 2023
83492dd
Fix 64-bit Windows
brandtbucherOct 4, 2023
c4b166f
Clean up formatting
brandtbucherOct 4, 2023
0c4e147
fixup
brandtbucherOct 4, 2023
0f23be3
More cleanup
brandtbucherOct 9, 2023
8c62663
Merge branch 'main' into justin
brandtbucherOct 9, 2023
3497f8c
Add a short README
brandtbucherOct 9, 2023
0be489a
More cleanup
brandtbucherOct 10, 2023
73eb3ce
Catch up with main
brandtbucherOct 10, 2023
e529809
Reenable more tests
brandtbucherOct 10, 2023
1a71c1a
Add ip_offset back
brandtbucherOct 10, 2023
b13056f
Remove some comments
brandtbucherOct 10, 2023
898dcc2
Comments
brandtbucherOct 10, 2023
720878f
Load opargs and operands only when needed
brandtbucherOct 11, 2023
07fb485
Be smarter about opargs and operands
brandtbucherOct 11, 2023
aa9d3b3
Rerun CI
brandtbucherOct 12, 2023
8db6838
Add error stub and clean things up more
brandtbucherOct 13, 2023
e0a69d1
Split stuff into instructions and data
brandtbucherOct 14, 2023
d33cc95
Fix Windows?
brandtbucherOct 14, 2023
2c78f70
...fix Windows?
brandtbucherOct 14, 2023
a62e82d
More fixes...
brandtbucherOct 14, 2023
878dc80
Last try tonight
brandtbucherOct 14, 2023
c440e55
Okay, for real
brandtbucherOct 14, 2023
169acb3
Fix missing ghccc
brandtbucherOct 15, 2023
d6fa4ad
Clean up opargs and operands
brandtbucherOct 15, 2023
4ffe087
Reuse static const data
brandtbucherOct 15, 2023
ff195e2
Clean up relocations
brandtbucherOct 15, 2023
7de5664
Get the addend from the correct segment on i686
brandtbucherOct 16, 2023
1963c66
Don't mprotect 0 bytes of memory
brandtbucherOct 16, 2023
3b54bb6
Catch up with main
brandtbucherOct 16, 2023
fb3afb5
Fix tier two
brandtbucherOct 17, 2023
d934ddf
Clean up the diff
brandtbucherOct 17, 2023
21a9efd
Don't overallocate data
brandtbucherOct 17, 2023
7eaec09
Fix alignment stuff
brandtbucherOct 17, 2023
cdf8b1d
Catch up with main
brandtbucherOct 18, 2023
5f4e950
Catch up with main
brandtbucherOct 30, 2023
c4bf874
Catch up with main
brandtbucherNov 2, 2023
eda424d
Catch up with main
brandtbucherNov 6, 2023
3c816f8
Make BEFORE_WITH a uop
brandtbucherNov 6, 2023
824cb77
Catch up with main
brandtbucherNov 7, 2023
7aa253c
Fix bad merge
brandtbucherNov 7, 2023
4f60977
Clean up the diff a tiny bit
brandtbucherNov 7, 2023
d65308a
Disable BEFORE_ASYNC_WITH/BEFORE_WITH/INSERT
brandtbucherNov 8, 2023
fb676a6
Disable the GHCCC hack
brandtbucherNov 8, 2023
0e8a50a
Don't use ELF everywhere (WIP)
brandtbucherNov 8, 2023
c997b66
Fix burn-in on LLVM 16
brandtbucherNov 9, 2023
c26012b
Increase data sharing
brandtbucherNov 9, 2023
82579d2
Get rid of ghccc hack (for now)
brandtbucherNov 9, 2023
3930170
Add COFF support back
brandtbucherNov 9, 2023
71dd8be
Catch up with justin
brandtbucherNov 9, 2023
d2687e4
Only compile once
brandtbucherNov 9, 2023
5774f6d
Mach-O!
brandtbucherNov 11, 2023
cd05c17
Re-enable macOS job
brandtbucherNov 11, 2023
241ce0f
Catch up with main
brandtbucherNov 11, 2023
5137145
Catch up with justin
brandtbucherNov 11, 2023
ffac31b
Fix types and require LLVM 16
brandtbucherNov 14, 2023
888d9ca
Un-skip some tests
brandtbucherNov 14, 2023
4611265
Catch up with main
brandtbucherNov 14, 2023
4d3a081
Catch up with justin
brandtbucherNov 14, 2023
96c3499
Catch up with main
brandtbucherNov 14, 2023
cc201a9
Catch up with justin
brandtbucherNov 14, 2023
0446e98
Catch up with main
brandtbucherNov 15, 2023
6f86a0f
Remove unnecessary relocation types
brandtbucherNov 15, 2023
7a7e995
Start cleaning up the allocator
brandtbucherNov 15, 2023
c4904e4
Clean up and rename stencil stuff
brandtbucherNov 16, 2023
8021c98
Remove groups and excludes, just for fun
brandtbucherNov 17, 2023
f17495b
More tweaks
brandtbucherNov 17, 2023
c2b5b57
fixup
brandtbucherNov 17, 2023
d39d915
fixup
brandtbucherNov 17, 2023
249e12a
fixup
brandtbucherNov 18, 2023
f142c2f
Rework build.py to match jit.c a bit more closely
brandtbucherNov 18, 2023
6490a71
Fix M1 builds
brandtbucherNov 19, 2023
27a50cf
Rename stuff and protect readable memory
brandtbucherNov 19, 2023
89996d9
Catch up with main
brandtbucherNov 19, 2023
58bd20c
Make the jit an optional option
brandtbucherNov 20, 2023
7bb54b5
Catch up with main
brandtbucherNov 20, 2023
7a592f0
Catch up with main
brandtbucherNov 20, 2023
1a8a63b
Catch up with justin
brandtbucherNov 20, 2023
40614ee
Skip some more aarch64 tests
brandtbucherNov 20, 2023
5bbda58
More cleanup
brandtbucherNov 21, 2023
8342f07
black + mypy
brandtbucherNov 21, 2023
925f140
Refactor JIT code: Remove deoptimize and error
brandtbucherNov 21, 2023
4ae9371
Rename trampoline to wrapper, and only warn once
brandtbucherNov 21, 2023
e295407
Add schema for JSON, and clean things up
brandtbucherNov 21, 2023
3b64124
Remove deoptimize and error stubs
brandtbucherNov 21, 2023
4cb7a87
Catch up with main
brandtbucherNov 21, 2023
5bf5187
Catch up with main
brandtbucherNov 28, 2023
dfface9
Enable CI temporarily
brandtbucherNov 28, 2023
a9637a8
Catch up with man
brandtbucherNov 29, 2023
0466d7a
Stop using the static data hack
brandtbucherNov 30, 2023
00abf88
Comment out memory debugging code
brandtbucherNov 30, 2023
a9c613e
Clean up JIT initialization and memory allocation
brandtbucherNov 30, 2023
094581a
Fix Windows madness
brandtbucherDec 1, 2023
bc5ba12
Clean up some types
brandtbucherDec 2, 2023
42d96de
Get rid of runtime trampolines
brandtbucherDec 6, 2023
1fa6d7b
Fix byteorder issue
brandtbucherDec 6, 2023
01ffefc
Remove trampoline.c and update STUBS list
brandtbucherDec 6, 2023
ed95f11
Catch up with main
brandtbucherDec 6, 2023
772d868
Catch up with justin
brandtbucherDec 6, 2023
7809cce
Get rid of trampolines
brandtbucherDec 6, 2023
dcb290a
Use dataclasses.replace
brandtbucherDec 6, 2023
86ed6a1
Catch up with main
brandtbucherDec 7, 2023
8349218
Lots of cleanup
brandtbucherDec 7, 2023
e8176b8
Don't leak memory, and don't emit wrappers!
brandtbucherDec 7, 2023
c3e2aab
Clean up relocations and fix Windows nojit builds
brandtbucherDec 7, 2023
3af4a4b
More Windows fixes
brandtbucherDec 7, 2023
a4a2862
More cleanup
brandtbucherDec 8, 2023
780b678
Make it possible to enable the tier 2 interpreter
brandtbucherDec 8, 2023
9901843
A bunch of cleanup (and proper debug compiles)
brandtbucherDec 11, 2023
ab556e7
Don't emit unwind info (and fix __bzero)
brandtbucherDec 11, 2023
c458df4
Catch up with main
brandtbucherDec 11, 2023
9c1867b
asm not needed for large -mcmodel=large
brandtbucherDec 11, 2023
882263c
Catch up with main
brandtbucherDec 13, 2023
522adc5
Catch up with main
brandtbucherDec 13, 2023
86d4fd7
fixup
brandtbucherDec 13, 2023
94f0877
Tons of cleanup... prepare to revert!
brandtbucherDec 14, 2023
bfa6533
fixup
brandtbucherDec 14, 2023
c5c44c8
fixup
brandtbucherDec 14, 2023
56fbb07
fixup
brandtbucherDec 14, 2023
a8931fe
...fixup?
brandtbucherDec 14, 2023
1fcdc94
...fixup.
brandtbucherDec 14, 2023
64f903c
Put pyconfig.h where it needs to be
brandtbucherDec 14, 2023
4e67db4
Fix Windows/out-of-tree/hashing/verbosity
brandtbucherDec 14, 2023
78f01ae
Fix bit manipulation bugs in jit.c
brandtbucherDec 14, 2023
73ed82b
Catch up with main
brandtbucherDec 14, 2023
53c35f3
Clean up configure
brandtbucherDec 15, 2023
dc55796
Catch up with main
brandtbucherDec 15, 2023
770a480
Clean up jit.vcxproj
brandtbucherDec 16, 2023
8998952
fixup
brandtbucherDec 16, 2023
3d04346
Put jit_stencils.h in the build root
brandtbucherDec 16, 2023
46063fb
fixup
brandtbucherDec 16, 2023
8addbbe
Catch up with main
brandtbucherDec 16, 2023
6b19d7c
Clean up the AArch64 stuff
brandtbucherDec 18, 2023
b63610e
Break stuff up
brandtbucherDec 19, 2023
44a024a
More cleanup
brandtbucherDec 20, 2023
af7606d
Merge Parser and Target
brandtbucherDec 20, 2023
f238057
Turn relocations into holes quickly
brandtbucherDec 20, 2023
50b0df8
Fix AArch64 Macs.
brandtbucherDec 24, 2023
0d358ef
Final-ish cleanup
brandtbucherDec 24, 2023
323a9d6
blurb add
brandtbucherDec 24, 2023
d36c9de
Enable JIT tests on pull_request
brandtbucherDec 24, 2023
7026d0c
Nevermind
brandtbucherDec 24, 2023
412c68d
Catch up with main
brandtbucherJan 2, 2024
b1f1c9f
Add Include/internal/mimalloc to include path
brandtbucherJan 2, 2024
e9faa27
Catch up with main
brandtbucherJan 2, 2024
4229327
Re-enable JIT CI
brandtbucherJan 2, 2024
2643439
Lots of little cleanups from code review
brandtbucherJan 3, 2024
3342775
Catch up with main
brandtbucherJan 3, 2024
c1b7007
Move some logic out of try blocks
brandtbucherJan 3, 2024
20ad5f5
Clean up some type annotations
brandtbucherJan 3, 2024
c518c09
Catch up with main
brandtbucherJan 9, 2024
5e229ed
Consider target when caching the JIT stencils
brandtbucherJan 11, 2024
d01a2c7
Clarify why LLVM is required
brandtbucherJan 11, 2024
4266f5a
Catch up with main (and never interpret tier two on JIT builds)
brandtbucherJan 11, 2024
6ebd085
fixup
brandtbucherJan 11, 2024
2d17e22
JIT everything (even the counter thing)
brandtbucherJan 11, 2024
afbc1f5
fixup
brandtbucherJan 11, 2024
5315b1d
Wrap machine code bytes.
brandtbucherJan 12, 2024
6b84187
Use better hex formatting
brandtbucherJan 12, 2024
675dd0c
Catch up with main
brandtbucherJan 12, 2024
bc6763e
Clean up the LLVM utilities
brandtbucherJan 12, 2024
fb62bc8
Remove duplicated code (and unnecessary sorting)
brandtbucherJan 12, 2024
344683f
Fix machine code formatting
brandtbucherJan 12, 2024
2636ece
Clean up the build script (mostly comments and renaming)
brandtbucherJan 12, 2024
efbe31a
Split things up a bit more
brandtbucherJan 15, 2024
23fad98
Add missing braces to Hole's C dump
brandtbucherJan 15, 2024
44b194f
Move relocation processing to StencilGroup
brandtbucherJan 15, 2024
eb5f21d
Move symbols to StencilGroup
brandtbucherJan 15, 2024
0dca530
Make some nested schema items private
brandtbucherJan 15, 2024
a249170
Move more logic to from Target to StencilGroup
brandtbucherJan 15, 2024
1a956bd
Move the version check to where it's needed
brandtbucherJan 15, 2024
e78341d
Catch up with main
brandtbucherJan 15, 2024
0bba20f
Remove bad asserts
brandtbucherJan 15, 2024
b4474d0
Catch up with main
brandtbucherJan 16, 2024
41162ca
Rework PCbuild stuff based on PR review
brandtbucherJan 17, 2024
debb24d
Make JIT workflow conditional on files changed, add a dispatch button…
brandtbucherJan 17, 2024
4f656e0
Make the README more future-proof
brandtbucherJan 17, 2024
0c9c806
Set up incremental builds and fix PGO
brandtbucherJan 17, 2024
79b1bbf
Raise instead of warning, rename bit-shifting arguments, and move pat…
brandtbucherJan 18, 2024
6643773
Fix error message
brandtbucherJan 18, 2024
663ba31
Catch up with main
brandtbucherJan 18, 2024
21ac0f2
Add const qualifier
brandtbucherJan 18, 2024
b352c6b
Catch up with main
brandtbucherJan 20, 2024
763f527
Actions runners are beefier now
brandtbucherJan 20, 2024
b15529c
Fix some typos
brandtbucherJan 20, 2024
1cee739
Reorder ELF and COFF
brandtbucherJan 20, 2024
81d0fb6
Don't include Python/, add a --force option, and unify section/symbol…
brandtbucherJan 25, 2024
437bc53
Make _PyJIT_Compile take a trace and length
brandtbucherJan 25, 2024
26e248a
Move header comment to build.py
brandtbucherJan 25, 2024
f3984e6
Clean up the schema
brandtbucherJan 25, 2024
113a1f1
Reorder some keys
brandtbucherJan 25, 2024
6648d84
Rearrange (and add) comments for patch function
brandtbucherJan 25, 2024
46bee49
Use generated pyconfig.h directory
brandtbucherJan 25, 2024
c33c78f
Catch up with main
brandtbucherJan 25, 2024
4d3e207
Add back Python/ include
brandtbucherJan 25, 2024
581036e
Catch up with main
brandtbucherJan 29, 2024
b00e021
Merge branch 'main' into justin
brandtbucherJan 29, 2024
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
Catch up with main
  • Loading branch information
@brandtbucher
brandtbucher committedSep 14, 2023
commitdc308baab5f4a1e7cc9b271e557e9fafa1e663eb

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can stillview the diff.


[8]ページ先頭

©2009-2025 Movatter.jp