Import strcmp from cortex-strings; use on A15 and Krait
libc: use A15 memcpy on Krait
Revert "libm: Fix multiple inclusion warning"

This reverts commit 205ac825879aa6c6870e68298b16d79e0a2e9c98.
Revert "libm: krait: Fix build warning for e_pow.o"

This reverts commit ddd1065195789e5f09f03263d770ad0536adbcd9.
Revert "Bionic/libm: Remove extra vmov from sin/cos."

This reverts commit 0f8a900802d4b93f9b372d8f4c6e0cae8fcc0ab5.
Revert "Bionic/libm: enable optimized math functions on more QCOM targets."

This reverts commit ee2d0d199249ffa906af3dcbb55f73bb41980c53.
Revert "libm: optimistic pow calling."

This reverts commit a85595a3921f683c6c96089acb65092f0c9cf65a.
Revert "libm: sqrt and sqrtf via ARM vsqrt instruction"

This reverts commit 025640ceb93b2342021792c039aa3a73246da436.
Revert "Bionic/libm: add assembly versions of sin/cos."

This reverts commit 1b809bbb0a40076c2b42a179b12bb910d71facaf.
Revert "Bionic/libm: Pow optimizations and bug fixes."

This reverts commit 2b2579cb2ad1cb15e1af21d1989ae9def025aeee.
Revert "Bionic/libm: fast neon pow() for small x,y."

This reverts commit d808fd06c385088c58237e909ad48f4ff4bff048.
Revert "Bionic/libm: Prefer branches and VFP ABI."

This reverts commit 1573e692c52067bbcd67d554800c09e353f05093.
bionic: fast algorithm for pow() for small x, y

Enable a fast implementation of pow() for small x, y (0 < x <= 4,
-4 <= y <= 4) for Cortex-A9 and Cortex-A15.

Bug 1154547
Bug 1340861

Change-Id: I1cbf49bd7a1b2311a08ee1e00c8fdc3d3107e9a8
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Signed-off-by: Shu Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/256790
(cherry picked from commit 891265d43e07212bd8c83a52a1cef73bc33fb614)

Change-Id: I1c49a5af30ec0f183ab51799385614134e6a1dde

Conflicts:
	libm/Android.mk
libm: deserialize pow() calculation

Remove register dependency in the k_log2() calculation.

Bug 1342249
Bug 1340861

Change-Id: I55d22bc103ad5a72eb90ae8959f29a34ab2106e2
Reviewed-on: http://git-master/r/260950
(cherry picked from commit 8f4d1c9a6441b1939e4b26e12fe30ffb7b022831)
libm: correct a confusing macro name in __kernel_log2

Change-Id: I5c05c2f5d7f28558d77338a50e75e668efefefa2
Reviewed-on: http://git-master/r/278950
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Johnny Qiu <joqiu@nvidia.com>
Tested-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/336758
Reviewed-by: Shu Zhang <chazhang@nvidia.com>
Tested-by: Shu Zhang <chazhang@nvidia.com>
libm: Optimize exp()

Perform fast exp(x) when |x| < 16.0.

Bug 1362653

Change-Id: I26060c75e7be63af169f00005fdb7cfe162c3a23
Reviewed-on: http://git-master/r/278360
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Johnny Qiu <joqiu@nvidia.com>
Tested-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/336759
Reviewed-by: Shu Zhang <chazhang@nvidia.com>
Tested-by: Shu Zhang <chazhang@nvidia.com>

Conflicts:
	libm/Android.mk
libm: Fix incorrect exponent when hitting a boundary condition

Bug 1466747

Change-Id: I3db7fe8eb79f99afd0d520f5736ad9c8ca5482f1
Reviewed-on: http://git-master/r/375210
Reviewed-by: Johnny Qiu <joqiu@nvidia.com>
Tested-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ryane Luo <ryanel@nvidia.com>
Tested-by: Ryane Luo <ryanel@nvidia.com>
Reviewed-by: Peter Zu <pzu@nvidia.com>
Add arm specific floor() optimization

Add arch specifi optimization scheme for libm.
Add arm specific floor() implementation which avoids VMSR and VMRS
instructions.

Change-Id: Ibd4cd7147aa2f98c9b5bbaf74948843ea619dba4

Conflicts:
	libm/Android.mk
add arm specific sqrt and sqrtf

Add arm specific optimized sqrt and sqrtf.

Change-Id: I8ea417fc98a800c8cf4f47a0c6668c51d927b1dc

Conflicts:
	libm/Android.mk
	libm/arm/arm.mk
Optimization for sin/cos:
    1. Add assembly version of sin/cos for arm
    2. Enable a fast implementation of sin() and cos() for small
    input (|x| < 640). It is only enabled for Cortex-A15.

Bug 1154547
Bug 1340861

Change-Id: I176cf84ea7df0e612f78d181b8324f31a231095e
Reviewed-on: http://git-master/r/277610
(cherry picked from commit 325d52623445ee089a0199fc993b28264b1cc9a6)

Conflicts:
	libm/Android.mk