WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
242816
[JSC] Improve same-register moves in AirAllocateRegistersAndStackAndGenerateCode
https://bugs.webkit.org/show_bug.cgi?id=242816
Summary
[JSC] Improve same-register moves in AirAllocateRegistersAndStackAndGenerateCode
Joseph Griego
Reported
2022-07-15 13:00:25 PDT
When we are emitting a `Move` from a Tmp to a named-register Tmp that matches its current allocation, we currently generate code that spills the source tmp to the stack, allocates a new (distinct) register for it, restores it there, and then moves it; this seems wasteful and, although this kind of situation in Air is not common on x86_64, we do generate it on 32-bit ARM targets
Attachments
Add attachment
proposed patch, testcase, etc.
Joseph Griego
Comment 1
2022-07-15 13:04:08 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/2462
Radar WebKit Bug Importer
Comment 2
2022-07-22 13:01:17 PDT
<
rdar://problem/97452075
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug