Skip to content

Commit

Permalink
Bug 1501542 - Part 1. Use -mfpu=neon to compile NEON code. r=mt
Browse files Browse the repository at this point in the history
Summary:
To compile ARM's NEON code, compiler may require -mfpu=neon.

Actually, since Gecko always turn on NEON (Bug 1469790), it already uses -mfpu.
But tier-3 platform such as Linux/armeabi doesn't set -mfpu=neon as default.
So it might require this command line option.

Reviewers: mt

Bug #: 1501542

Differential Revision: https://phabricator.services.mozilla.com/D11430

--HG--
extra : rebase_source : 66cd1953edc31b5dcf04591fe2a92af3100273ac
extra : amend_source : eef93f3ca1b41109f3421907192c6811b71723f5
  • Loading branch information
makotokato committed Mar 20, 2019
1 parent 57bcbff commit 986dd12
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/freebl/freebl.gyp
Expand Up @@ -76,11 +76,11 @@
'__SSSE3__',
],
}],
[ 'OS=="android"', {
# On Android we can't use any of the hardware acceleration :(
'defines!': [
'__ARM_NEON__',
'__ARM_NEON',
[ 'target_arch=="arm"', {
# Gecko doesn't support non-NEON platform on Android, but tier-3
# platform such as Linux/arm will need it
'cflags_mozilla': [
'-mfpu=neon'
],
}],
],
Expand Down

0 comments on commit 986dd12

Please sign in to comment.