Closed Bug 1978364 Opened 26 days ago Closed 24 days ago

Allow pushing negative IntWord as immediate

Categories

(Core :: JavaScript Engine: JIT, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
143 Branch
Tracking Status
firefox143 --- fixed

People

(Reporter: anba, Assigned: anba)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Assembler::push(ImmWord) only supports positive int32 as immediates, even though negative int32 are also valid.

This allows encoding push -1 without an extra mov.

Blocks: sm-jits
Severity: -- → N/A
Priority: -- → P1
Blocks: sm-masm
No longer blocks: sm-jits
Status: ASSIGNED → RESOLVED
Closed: 24 days ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: