Closed
Bug 1357874
Opened 8 years ago
Closed 8 years ago
Add more JS support for AArch64 Android
Categories
(Core :: JavaScript Engine, enhancement)
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: jchen, Assigned: jchen)
References
Details
Attachments
(2 files, 1 obsolete file)
5.64 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
1.91 KB,
patch
|
snorp
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•8 years ago
|
||
* Fix unused-result warnings when compiling vixl for android-aarch64.
* Fix an unused-variable warning when compiling in non-DEBUG builds.
* Fix the unreachable macro in non-DEBUG builds to avoid no-return
errors in some functions using the unreachable macro.
Attachment #8859714 -
Flags: review?(nicolas.b.pierron)
Assignee | ||
Comment 2•8 years ago
|
||
* Fix a parentheses warning when compiling testGCAllocator.cpp.
* Define GETRANDOM_NR macro for AArch64.
* Disable Android workarounds in jsnativestack.cpp and
WasmSignalHandlers.cpp for AArch64, because AArch64 is only supported
on API 21+, in which case those workarounds don't apply.
* Enable trace logging in TraceLogging.cpp.
Attachment #8859715 -
Flags: review?(luke)
Assignee | ||
Comment 3•8 years ago
|
||
I encountered crashes in jitted regexp code in my AArch64 Fennec build.
This patch disables that for now, but obviously we want to look into the
crashes and eventually turn this back on.
Attachment #8859716 -
Flags: review?(snorp)
Updated•8 years ago
|
Attachment #8859715 -
Flags: review?(luke) → review+
Comment 4•8 years ago
|
||
Comment on attachment 8859714 [details] [diff] [review]
Fix errors/warnings in vixl (v1)
Review of attachment 8859714 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/src/jit/arm64/MacroAssembler-arm64.cpp
@@ +683,5 @@
> stackForCall += ComputeByteAlignment(stackForCall, StackAlignment);
> *stackAdjust = stackForCall;
> reserveStack(*stackAdjust);
> {
> + mozilla::Unused << moveResolver_.resolve();
"MOZ_MUST_USE bool" is made to be used and not ignored, follow the same logic as done on x64.
Ignoring any of these errors can easily lead to exploitable security issue.
http://searchfox.org/mozilla-central/source/js/src/jit/x64/MacroAssembler-x64.cpp#488-490
Attachment #8859714 -
Flags: review?(nicolas.b.pierron) → review-
Comment 5•8 years ago
|
||
This patch has some overlap with the patch in Bug 1356709.
Attachment #8859716 -
Flags: review?(snorp) → review+
Assignee | ||
Comment 6•8 years ago
|
||
(In reply to Sean Stangl [:sstangl] from comment #5)
> This patch has some overlap with the patch in Bug 1356709.
Ok I'll wait for that to land.
Assignee | ||
Updated•8 years ago
|
Attachment #8859714 -
Attachment is obsolete: true
Pushed by nchen@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/042d975f9355
Add more AArch64 support to JS code; r=luke
https://hg.mozilla.org/integration/mozilla-inbound/rev/c2f3dec3544d
Disable RegExp JIT for AArch64; r=snorp
Comment 9•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/042d975f9355
https://hg.mozilla.org/mozilla-central/rev/c2f3dec3544d
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•