Closed Bug 1995494 Opened 1 year ago Closed 1 year ago

Optimise branch truncation operations on riscv64

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
146 Branch
Tracking Status
firefox146 --- fixed

People

(Reporter: anba, Assigned: anba)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

Optimise branch truncation operations on riscv64 and handle NaN inputs.

Port D234203 to riscv64, which adds an infallible truncateFloat32ModUint32 method.

Also change branchTruncateDouble[MaybeModUint32] and branchTruncateFloat32ToInt32
to perform manual error detection, so that NaN is supported. See also the ARM64
implementation for comparison.

Severity: -- → N/A
Priority: -- → P3
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
QA Whiteboard: [qa-triage-done-c147/b146]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: