Remove `SingleByteRegs` from non x86 architectures.
Categories
(Core :: JavaScript Engine: JIT, enhancement, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: nbp, Assigned: mdh, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug)
Attachments
(1 file)
x86 has al
, ah
, bl
, bh
, cl
, ch
, dl
, dh
single byte registers. This set is used to encode whether among all x64/x86 extended register we properly allocated one which has the ability of being used as a byte-size register.
Most likely for copy and paste reasons, other architectures inherited this trait, which is simply meaning less on other architectures which do not have the same legacy as i386 assembly.
See https://searchfox.org/mozilla-central/search?q=SingleByteReg&path=&case=false®exp=false
Assignee | ||
Comment 1•2 years ago
|
||
Hi, I'd like to pick this up as a first SpiderMonkey task.
Assignee | ||
Comment 2•2 years ago
|
||
Remove SingleByteRegs
constants from non-x86 architectures for which they
don't make sense.
Updated•2 years ago
|
Reporter | ||
Comment 3•2 years ago
|
||
Thanks for contributing! The patch sounds good.
The repository is under soft-code-freeze, I will merge it next Tuesday.
Comment 5•2 years ago
|
||
bugherder |
Description
•