diff options
author | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-01-11 03:25:17 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-01-11 03:25:17 +0000 |
commit | 3069dbee30e9f7aedb24bb77b13ab9de4cf1148c (patch) | |
tree | deb347862b92f0640b0b5df6b988a14da8456bb6 | |
parent | 2e6074b989bcf29b69ecd0837fcec96ea936430f (diff) | |
parent | cecbdd39deb29723658f2750660646f82d833884 (diff) | |
download | arm-optimized-routines-3069dbee30e9f7aedb24bb77b13ab9de4cf1148c.tar.gz |
Stop setting WANT_ROUNDING=0. am: ef3eb23336 am: faac035047 am: cecbdd39de
Change-Id: Id582bb12f305b67430c7694da45971ff348c3c91
-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"], } |