IonMonkey: (ARM) fuse instructions

NEW
Unassigned

Status

()

6 years ago
4 years ago

People

(Reporter: mjrosenb, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [ion:t])

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
Created attachment 646064 [details] [diff] [review]
/home/mrosenberg/patches/fusedInsts-r0.patch

The basic idea is on ARM most of the ALU based instructions can take a (limited) integer, a register *or* a register shifted by some amount!  For the most part, we only use the first two modes, but by analyzing the MIR, we can generate add r0, r1, r2 lsl #4 rather than using two instructions, and giving the register allocator more work.  This patche is quite thoroughly hacked together, and probably needs some architectural fixes.
Attachment #646064 - Flags: feedback?(dvander)
Whiteboard: [js:t] → [ion:t]
(Assignee)

Updated

4 years ago
Assignee: general → nobody
You need to log in before you can comment on or make changes to this bug.