Closed
Bug 559971
Opened 15 years ago
Closed 15 years ago
Rename LOpcode enums in NativeARM.cpp
Categories
(Core Graveyard :: Nanojit, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Future
People
(Reporter: edwsmith, Unassigned)
References
Details
(Whiteboard: fixed-in-nanojit, fixed-in-tamarin, fixed-in-tracemonkey)
Attachments
(1 file)
18.66 KB,
patch
|
n.nethercote
:
review+
jbramley
:
feedback+
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Updated•15 years ago
|
Assignee: nobody → edwsmith
Target Milestone: --- → Future
Reporter | ||
Comment 1•15 years ago
|
||
Attachment #443612 -
Flags: review?(nnethercote)
Attachment #443612 -
Flags: feedback?(Jacob.Bramley)
![]() |
||
Comment 2•15 years ago
|
||
Comment on attachment 443612 [details] [diff] [review]
Automatic rename plus manual alignment fixes.
>- case LIR_fadd: FADDD(rr,ra,rb); break;
>- case LIR_fsub: FSUBD(rr,ra,rb); break;
>- case LIR_fmul: FMULD(rr,ra,rb); break;
>- case LIR_fdiv: FDIVD(rr,ra,rb); break;
>+ case LIR_addd: FADDD(rr,ra,rb); break;
>+ case LIR_subd: FSUBD(rr,ra,rb); break;
>+ case LIR_muld: FMULD(rr,ra,rb); break;
>+ case LIR_divd: FDIVD(rr,ra,rb); break;
FADDD et al are no longer appropriate. I don't know why the 'D' suffix was
already there... would ADDD et al suffice?
r=me with that fixed, the rest looks fine.
Attachment #443612 -
Flags: review?(nnethercote) → review+
Reporter | ||
Comment 3•15 years ago
|
||
I believe those are the correct names for the ARM instructions. there's FADD for float and FADDD for double.
![]() |
||
Comment 4•15 years ago
|
||
(In reply to comment #3)
> I believe those are the correct names for the ARM instructions. there's FADD
> for float and FADDD for double.
Oh, ok. Leave them as is then!
Comment 5•15 years ago
|
||
Comment on attachment 443612 [details] [diff] [review]
Automatic rename plus manual alignment fixes.
Looks sensible to me.
The double-precision instructions do indeed get a "D" suffix, though we tend to deal in UAL/ARMv7 notation where possible, which would be "VADD.F64". I didn't see any value in changing all the macro names so the old-style names persist!
Attachment #443612 -
Flags: feedback?(Jacob.Bramley) → feedback+
Reporter | ||
Comment 6•15 years ago
|
||
Assignee: edwsmith → nobody
Whiteboard: fixed-in-nanojit
Reporter | ||
Comment 7•15 years ago
|
||
Whiteboard: fixed-in-nanojit → fixed-in-nanojit, fixed-in-tamarin
![]() |
||
Comment 8•15 years ago
|
||
Whiteboard: fixed-in-nanojit, fixed-in-tamarin → fixed-in-nanojit, fixed-in-tamarin, fixed-in-tracemonkey
Comment 9•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•11 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•