Bionic/libm: fast neon pow() for small x,y

Add a fast neon version of pow() suitable for relatively small
positive x and y (between 0 and 4).  Run the standard
implementation in all other cases.  Gives approximately 60%
performance improvement to AnTuTu FPU score.

Change-Id: I9234d37eaa6a815d1e619375f5b049c4ec88f557
bionic: Update fcntl header from the kernel

Change-Id: I6ffeeec2e096b4b01de87b8a9cca593dc8b7019a
Merge branch 'jb-release' of https://android.googlesource.com/platform/bionic into aosp
armv6: REX routines are currently broken, use alternatives

Change-Id: I7ac05ab6add7802a4cc24fe36f7181e7cdfe07e0
bionic: Stack pointer/signal race condition.

Move the stackpointer so a captured signal does not corrupt
stack variables needed for __thread_entry.

Change-Id: I3e1e7b94a6d7cd3a07081f849043262743aa8064
linker: Increase maximum shared libraries loaded to 192

Increase the maximum number of shared libraries loaded per
process/SO_MAX to 192 from 128.  The mediaserver process
can load more than 128 shared libraries due to media HAL
and associated libraries.

CRs-Fixed: 387489
Change-Id: I21988cca7234f208ae80e1dff9a404458cb604a7
Bionic/libm: Prefer branches and VFP ABI

For internal functions set gcc attribute "aapcs-vfp" for ARM
and use -fno-if-conversion to prefer branches over predicated
instructions (improves performance on architectures with good
branch prediction).

Change-Id: I365e9508bd3babb0bb06fc5de127c1ae17445bcc
Bionic/libm: add assembly versions of sin/cos

Add assembly versions of sin/cos with integrated remainder pi/2
calculation.  Directly extracted from binary libm.so compiled with
__ieee754_rem_pio2 calls inlined.

Change-Id: I9a999c01cea92aace9df7be9ad8f90f150040375
Bionic/libm: Remove extra vmov from sin/cos

Move integer representations of x bits on the integer side rather
than moving them to and from the FP registers.

Change-Id: I1d0800730d7553a47c462ee2a0cc044ffe62eb20
msm7627a: Enable neon optimized memove and pow functions.

Define SPARROW_NEON_OPTIMIZATION flag so that neon optimized
memove and pow functions are used. Also add Corresponding
definitions in make files.

Change-Id: I12089fc7002e3ec294e63632bd84e395fbd24936
Bionic/libm: Pow optimizations and bug fixes

Use VFP calling convention for pow_neon handoff function by default.
Fix register usage collision between two different polynomial
coefficients in pow_neon.  Remove conditional execution in pow_neon
and replace with branching.

Change-Id: I254617940b2787297aff2ab97dbf45c11e6a2b08
msm8660: Add neon based pow() function for Scorpion

Add #define to enable neon based pow() function for msm8660.

(cherry picked from commit f795151ff5dc4eb622b2630cb6f42353db4a1b55)

Change-Id: Iab0f30eb0583c30bcfd6940a23f47e98ffe075df
Upgrade to dlmalloc 2.8.5.

Move dlmalloc code to upstream-dlmalloc to make pulling upstream changes
easier.
Declare pvalloc and malloc_usable_size routines present in malloc.h but with
missing implementations. Remove other functions from malloc.h that have
no implementation nor use in Android.

Change-Id: Ia6472ec6cbebc9ad1ef99f4669de9d33fcc2efb4
Revert "Upgrade to dlmalloc 2.8.5."

This reverts commit 5037b101df060ea6a86667b8bc19e534b337e58d.
Merge branch 'jb-release' of https://android.googlesource.com/platform/bionic into aosp
Fix <sys/klog.h> to correspond to the kernel operations.

This makes the constants correspond to those in the Linux kernel's
include/linux/syslog.h, but keeping our old badly-named constants for
source compatibility.

Change-Id: Ia47d1299205754cbfffd29ed48b497b53d1edaae
Merge branch 'jb-mr0-release' of https://android.googlesource.com/platform/bionic into aosp-merge
Merge "Fix <sys/klog.h> to correspond to the kernel operations." into jellybean
Revert "timezone: data file should be 32 bit aligned"

This reverts commit bc0b877a507f394001bb133891032d65e04cd106.
Revert "memmove: Fix the abuse of memcpy() for overlapping regions"

This reverts commit af820b84625a14eaf199c82c6b4a8773b145668f.