Closed Bug 1284206 Opened 8 years ago Closed 8 years ago

Update VIXL to 1.11

Categories

(Core :: JavaScript Engine: JIT, defect)

ARM
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

People

(Reporter: m_kato, Assigned: m_kato)

Details

Attachments

(1 file)

When using ENABLE_ION=1 without JS_SIMULATOR_ARM64, we cannot compile VIXL Because MacroAssember-vixl references TraceParameters even if not JS_SIMULATOR_ARM64.

This is fixed by VIXL 1.11.  So we should update it to 1.11.
Comment on attachment 8767598 [details] [diff] [review]
Update VIXL to 1.11

When using ENABLE_ION=1 without JS_SIMULATOR_ARM64, we cannot compile arm64 JIT due to VIXL issue.  
This is already fixed by VIXL 1.11.  So we should update it to 1.11.
Attachment #8767598 - Flags: review?(sstangl)
Comment on attachment 8767598 [details] [diff] [review]
Update VIXL to 1.11

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

Thanks for doing this.

::: js/src/jit/arm64/vixl/Simulator-vixl.h
@@ +768,4 @@
>    #undef DECLARE
>  
> +  #define DECLARE(A) \
> +      virtual void Visit##A(const Instruction* instr);

This definition of DECLARE is the same as the one above.

@@ +2569,5 @@
>      return (result >> (reg_size - 1)) & 1;
>    }
>  
>    static int CalcZFlag(uint64_t result) {
> +    return (result == 0) ? 1 : 0;

It seems they too have been bitten by "bools are not always 0 or 1 in opt builds" !
Attachment #8767598 - Flags: review?(sstangl) → review+
(In reply to Sean Stangl [:sstangl] from comment #3)
> Comment on attachment 8767598 [details] [diff] [review]
> Update VIXL to 1.11
> 
> Review of attachment 8767598 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> Thanks for doing this.
> 
> ::: js/src/jit/arm64/vixl/Simulator-vixl.h
> @@ +768,4 @@
> >    #undef DECLARE
> >  
> > +  #define DECLARE(A) \
> > +      virtual void Visit##A(const Instruction* instr);
> 
> This definition of DECLARE is the same as the one above.

I will merge it.
https://hg.mozilla.org/mozilla-central/rev/1450ae4e9e4f
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: