Closed
Bug 1499536
Opened 7 years ago
Closed 7 years ago
ARM64: Implement visitShiftI and visitUrshD
Categories
(Core :: JavaScript Engine: JIT, enhancement)
Tracking
()
RESOLVED
FIXED
mozilla65
| Tracking | Status | |
|---|---|---|
| firefox65 | --- | fixed |
People
(Reporter: sstangl, Assigned: sstangl)
References
Details
Attachments
(1 file, 1 obsolete file)
|
3.25 KB,
patch
|
mgaudet
:
review+
|
Details | Diff | Splinter Review |
Straightforward patch. Fixes ion/bug1000960.js.
Attachment #9017698 -
Flags: review?(jitbugs)
Updated•7 years ago
|
Attachment #9017698 -
Flags: review?(jitbugs) → review?(mgaudet)
Comment 1•7 years ago
|
||
Comment on attachment 9017698 [details] [diff] [review]
0001-Implement-CodeGeneratorARM64-visitShiftI-and-visitUr.patch
Review of attachment 9017698 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, but one question before I r+, if you don't mind.
::: js/src/jit/arm64/CodeGenerator-arm64.cpp
@@ +569,5 @@
> CodeGenerator::visitShiftI(LShiftI* ins)
> {
> + const ARMRegister lhs = toWRegister(ins->lhs());
> + const LAllocation* rhs = ins->rhs();
> + const ARMRegister dest = toWRegister(ins->getDef(0));
This is the only piece I don't really follow; why isn't this ins->output()?
Updated•7 years ago
|
Attachment #9017698 -
Flags: review?(mgaudet)
| Assignee | ||
Comment 2•7 years ago
|
||
It could be. LShiftI is LInstructionFixedDefsTempsHelper, which defines `->output()` as `->getDefs(0)`, so they're the same.
| Assignee | ||
Comment 3•7 years ago
|
||
Same patch but with ins->output() instead of ins->getDef(0).
Attachment #9017698 -
Attachment is obsolete: true
Attachment #9019157 -
Flags: review?(mgaudet)
Comment 4•7 years ago
|
||
Comment on attachment 9019157 [details] [diff] [review]
Same patch with ins->output()
Review of attachment 9019157 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
Attachment #9019157 -
Flags: review?(mgaudet) → review+
| Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/7884434cddde
Implement CodeGeneratorARM64::visitShiftI and visitUrshD. r=mgaudet
Keywords: checkin-needed
Comment 6•7 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in
before you can comment on or make changes to this bug.
Description
•