Closed Bug 2044251 Opened 5 months ago Closed 5 months ago

Handle two-byte operands in ByteSwap

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)

Change ByteSwap to support operand_size == 2, so we can use rev8 for byteSwap16{Sign,Zero}Extend, too.

Also improve the fallback code for byteSwap16{Sign,Zero}Extend to only require 5 instructions instead of eight instructions.

Also improve fallback code to use a shorter instruction sequence.

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: