IonMonkey: MIPS64: Import Lowering-mips64

RESOLVED FIXED in Firefox 44

Status

()

Core
JavaScript Engine: JIT
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: hev, Assigned: hev)

Tracking

Trunk
mozilla44
Other
Linux
Points:
---

Firefox Tracking Flags

(firefox44 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
Bug 1140954, Part 7: Lowering-mips64.
(Assignee)

Comment 1

2 years ago
Created attachment 8672507 [details] [diff] [review]
Part 7: Import Lowering-mips64.

Thanks!
Attachment #8672507 - Flags: review?(nicolas.b.pierron)
Attachment #8672507 - Flags: review?(branislav.rankov)
Comment on attachment 8672507 [details] [diff] [review]
Part 7: Import Lowering-mips64.

Review of attachment 8672507 [details] [diff] [review]:
-----------------------------------------------------------------

::: js/src/jit/mips64/Lowering-mips64.cpp
@@ +105,5 @@
> +{
> +    MDefinition* opd = ins->input();
> +    MOZ_ASSERT(opd->type() == MIRType_Double);
> +
> +    define(new(alloc()) LTruncateDToInt32(useRegister(opd), tempDouble()), ins);

nit: Split this to 2 lines, one for the allocation and one for the define function call.

@@ +114,5 @@
> +{
> +    MDefinition* opd = ins->input();
> +    MOZ_ASSERT(opd->type() == MIRType_Float32);
> +
> +    define(new(alloc()) LTruncateFToInt32(useRegister(opd), tempFloat32()), ins);

nit: same here.

@@ +122,5 @@
> +LIRGeneratorMIPS64::visitRandom(MRandom* ins)
> +{
> +    LRandom *lir = new(alloc()) LRandom(temp(),
> +                                        temp(),
> +                                        temp());

nit: no need to wrap around the arguments.
Attachment #8672507 - Flags: review?(nicolas.b.pierron) → review+

Comment 3

2 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/e6334551d301
https://hg.mozilla.org/mozilla-central/rev/e6334551d301
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
status-firefox44: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in before you can comment on or make changes to this bug.