commit | 83b661802d1173c0e0a2cf64c8b4fdcc6e383e8f | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Feb 10 20:55:10 2023 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Feb 10 20:55:10 2023 +0000 |
tree | f2ee63dcb688763bd00695e3b22e242f5187ac95 | |
parent | b080a0c8f75f719148e8a7a7843081bb9420ef5a [diff] | |
parent | 079f6fd8575f139cd6ac151ebb9874200ba3461d [diff] |
Merge "libm: admit we use SSE4.1 in x86's libm."
diff --git a/libm/Android.bp b/libm/Android.bp index 31c8756..cc0d666 100644 --- a/libm/Android.bp +++ b/libm/Android.bp
@@ -386,6 +386,9 @@ ], local_include_dirs: ["i387"], pack_relocations: false, + // The x86 ABI doesn't include this, which is needed for the + // roundss/roundsd instructions that we've used since Android M. + cflags: ["-msse4.1"], ldflags: ["-Wl,--hash-style=both"], version_script: ":libm.x86.map", },