diff options
author | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-01-11 03:12:59 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-01-11 03:12:59 +0000 |
commit | cecbdd39deb29723658f2750660646f82d833884 (patch) | |
tree | deb347862b92f0640b0b5df6b988a14da8456bb6 | |
parent | 0c6691868931ae5f7b89a89edcdd5a4e80b6453c (diff) | |
parent | faac035047a885c5661bf09e8bc0dd45924f341c (diff) | |
download | arm-optimized-routines-cecbdd39deb29723658f2750660646f82d833884.tar.gz |
Stop setting WANT_ROUNDING=0. am: ef3eb23336 am: faac035047
Change-Id: I7d5b336ff6057342be5c275a4d6c953ef37eb3ae
-rwxr-xr-x | Android.bp | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -5,15 +5,23 @@ cc_defaults { "-Werror", "-Wno-unused-parameter", "-O2", + "-ffp-contract=fast", + "-fno-math-errno", + + // bionic configuration. + // We're actually implementing bionic here, so we don't want <math.h> // to try to be helpful by renaming long double routines. "-D__BIONIC_LP32_USE_LONG_DOUBLE", - "-DWANT_ROUNDING=0", + "-DFLT_EVAL_METHOD=0", + + // arm-optimized-routines configuration. + + // BSD libm doesn't set errno, and bionic was based on the BSDs. + // https://github.com/ARM-software/optimized-routines/issues/16#issuecomment-572009659 "-DWANT_ERRNO=0", + // TODO: we will want the SVE code in future, but it's not ready yet. "-DWANT_VMATH=0", - "-DFLT_EVAL_METHOD=0", - "-ffp-contract=fast", - "-fno-math-errno", ], local_include_dirs: ["math/include"], } |