Closed Bug 1883842 Opened 6 months ago Closed 6 months ago

LoongArch Integer Overflow fault while loading Ruffle demos

Categories

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

defect

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: lrzlin, Assigned: zhaojiazhong-hf, Mentored)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Steps to reproduce:

Open https://ruffle.rs/demo using Firefox.

Actual results:

The website's content couldn't load due to an Integer Overflow Fault.

Expected results:

The interactive content load correctly.

Mentor: zhaojiazhong-hf

Instruction encoding field masks on loong64 are defined just according to the
field's size, without shift to corresponding offset, but are used as shifted.

This patch fix it by using the masks as unshifted value.

Assignee: nobody → zhaojiazhong-hf
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Blocks: 1757272
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/3f762ddc6f50
[loong64] Fix usage of some instruction encoding field masks. r=nbp
Severity: -- → S4
Priority: -- → P3
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: