Closed Bug 2044238 Opened 5 months ago Closed 5 months ago

Use add.uw for value tagging if available

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox153 --- fixed

People

(Reporter: anba, Assigned: anba)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

Using add.uw allows to replace the zext.w + or sequence in value tagging, saving one instruction.

This improves LIR=Box:Int32 from:

li        a2, -15
slli      a2, a2, 47
zext.w    t4, t0
or        a2, a2, t4

to:

li        a2, -15
slli      a2, a2, 47
add.uw    a2, t0, a2
Severity: -- → N/A
Priority: -- → P1
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
QA Whiteboard: [qa-triage-done-c154/b153]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: