Merge "libm: admit we use SSE4.1 in x86's libm." am: 83b661802d
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2430852 Change-Id: I71f035ee5acc27c1a10d3da50b00010c5c8eb13c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
91bc848df1
1 changed files with 3 additions and 0 deletions
|
@ -386,6 +386,9 @@ cc_library {
|
||||||
],
|
],
|
||||||
local_include_dirs: ["i387"],
|
local_include_dirs: ["i387"],
|
||||||
pack_relocations: false,
|
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"],
|
ldflags: ["-Wl,--hash-style=both"],
|
||||||
version_script: ":libm.x86.map",
|
version_script: ":libm.x86.map",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue