Closed
Bug 1483093
Opened 7 years ago
Closed 7 years ago
MIPS MacroAssembler::cmp32Set compiling error
Categories
(Core :: JavaScript Engine: JIT, enhancement)
Tracking
()
RESOLVED
FIXED
mozilla63
| Tracking | Status | |
|---|---|---|
| firefox63 | --- | fixed |
People
(Reporter: qiaopengcheng-hf, Assigned: qiaopengcheng-hf)
Details
Attachments
(1 file, 1 obsolete file)
|
1.03 KB,
patch
|
dragan.mladjenovic
:
review+
|
Details | Diff | Splinter Review |
compiling the inbound,
./mach configure
./mach build
compiling error as the following,
/home/qiao/work_qiao/open_src/inbound/js/src/jit/mips64/MacroAssembler-mips64-inl.h:483:5: error: no matching function for call to ‘js::jit::MacroAssembler::ma_cmp_set(js::jit::Register&, js::jit::Address&, js::jit::Register&, js::jit::AssemblerMIPSShared::Condition&)’
0:36.80 ma_cmp_set(dest, lhs, rhs, cond);
0:36.81 ^~~~~~~~~~
| Assignee | ||
Comment 1•7 years ago
|
||
Attachment #8999797 -
Flags: review?(jdemooij)
Comment 2•7 years ago
|
||
Comment on attachment 8999797 [details] [diff] [review]
Fix mips64 compiling error for ma_cmp_set()
Review of attachment 8999797 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/src/jit/mips64/MacroAssembler-mips64.h
@@ +166,5 @@
>
> void ma_cmp_set(Register dst, Register lhs, ImmWord imm, Condition c);
> void ma_cmp_set(Register dst, Register lhs, ImmPtr imm, Condition c);
> + void ma_cmp_set(Register dst, Register lhs, Address addr, Condition c) {
> + MOZ_ASSERT(lhs != ScratchRegister);
I think you should just define something a la https://searchfox.org/mozilla-central/source/js/src/jit/mips64/MacroAssembler-mips64-inl.h#781. SizeDouble load would be wrong for cmp32Set.
| Assignee | ||
Comment 3•7 years ago
|
||
(In reply to Dragan Mladjenovic from comment #2)
> Comment on attachment 8999797 [details] [diff] [review]
> Fix mips64 compiling error for ma_cmp_set()
>
> Review of attachment 8999797 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: js/src/jit/mips64/MacroAssembler-mips64.h
> @@ +166,5 @@
> >
> > void ma_cmp_set(Register dst, Register lhs, ImmWord imm, Condition c);
> > void ma_cmp_set(Register dst, Register lhs, ImmPtr imm, Condition c);
> > + void ma_cmp_set(Register dst, Register lhs, Address addr, Condition c) {
> > + MOZ_ASSERT(lhs != ScratchRegister);
>
> I think you should just define something a la
> https://searchfox.org/mozilla-central/source/js/src/jit/mips64/
> MacroAssembler-mips64-inl.h#781. SizeDouble load would be wrong for cmp32Set.
Loading the Address on mips64 should be SizeDouble.
Why SizeDouble load would be wrong for cmp32Set ?
| Assignee | ||
Comment 4•7 years ago
|
||
(In reply to Dragan Mladjenovic from comment #2)
> Comment on attachment 8999797 [details] [diff] [review]
> Fix mips64 compiling error for ma_cmp_set()
>
> Review of attachment 8999797 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: js/src/jit/mips64/MacroAssembler-mips64.h
> @@ +166,5 @@
> >
> > void ma_cmp_set(Register dst, Register lhs, ImmWord imm, Condition c);
> > void ma_cmp_set(Register dst, Register lhs, ImmPtr imm, Condition c);
> > + void ma_cmp_set(Register dst, Register lhs, Address addr, Condition c) {
> > + MOZ_ASSERT(lhs != ScratchRegister);
>
> I think you should just define something a la
> https://searchfox.org/mozilla-central/source/js/src/jit/mips64/
> MacroAssembler-mips64-inl.h#781. SizeDouble load would be wrong for cmp32Set.
Thank you, I'll amend it.
| Assignee | ||
Comment 5•7 years ago
|
||
Attachment #8999797 -
Attachment is obsolete: true
Attachment #8999797 -
Flags: review?(jdemooij)
Attachment #8999862 -
Flags: review?(dragan.mladjenovic)
Updated•7 years ago
|
Attachment #8999862 -
Flags: review+
Updated•7 years ago
|
Attachment #8999862 -
Flags: review?(dragan.mladjenovic)
| Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Pushed by ebalazs@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8dd8272a5aea
Fix mips64 compiling error for ma_cmp_set(). r=dragan.mladjenovic
Keywords: checkin-needed
Comment 7•7 years ago
|
||
| bugherder | ||
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Updated•7 years ago
|
Assignee: nobody → qiaopengcheng-hf
You need to log in
before you can comment on or make changes to this bug.
Description
•