Closed Bug 1994191 Opened 1 year ago Closed 1 year ago

Clean-up riscv64 branching code

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
146 Branch
Tracking Status
firefox146 --- fixed

People

(Reporter: anba, Assigned: anba)

References

(Blocks 1 open bug)

Details

Attachments

(4 external files)

No description provided.

Changes:

  • Avoid loading zero immediate into a register.
  • Remove duplicate code in ma_branch.
  • Always try short jumps in ma_branch if the label is already bound.

Comparing against zero doesn't require to load the immediate 1 into a register.

Severity: -- → N/A
Priority: -- → P5
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: