summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm
Commit message (Collapse)AuthorAgeFilesLines
* Re-enable ARMv7 memcpy implementation.David 'Digit' Turner2009-10-051-15/+1
| | | | | | Do not submit this patch before the one that modifies the Android emulator to work-around a weird ARMv7 emulation issue. This is done to temporarily re-allow the -user builds needed for QA.
* Fix armv7-user builds by disabling the ARMv7-optimized memcpy.David 'Digit' Turner2009-10-021-1/+15
| | | | | | | This is required to work-around some corny bugs in ARMv7 emulation. The emulation itself is required to run the dex pre-optimization pass for -user builds.
* Merge change I2a7ad975 into eclairAndroid (Google) Code Review2009-09-291-0/+152
|\ | | | | | | | | * changes: Fix ABI breakage in libc.so and libm.so between 1.6 and Eclair.
| * Fix ABI breakage in libc.so and libm.so between 1.6 and Eclair.David 'Digit' Turner2009-09-291-0/+152
| | | | | | | | | | For a detailed description of the problem and why this fix is needed, plrease read the comments in libgcc_compat.c
* | NEON optimized memcpy.Mathias Agopian2009-09-281-21/+153
|/ | | | | 372 MB/s for large transfers, 440 MB/s for smaller ones down to 1KB. 130 MB/s for very small transfers ( < 32 bytes ) Performance is similar with non-congruent buffers.
* Remove NEON optimizations for memcpyDavid 'Digit' Turner2009-09-271-107/+0
|
* Fix TLS access for ARMv6 and beyond.David 'Digit' Turner2009-09-221-1/+0
| | | | | | | | | | For performance reasons, we don't call the kernel helper. Instead, we directly access the TLS register on ARMv6 and higher. For ARMv5TE, keep using the hard-coded address populated by the kernel on each task switch. NOTE: Since we don't call the kernel helper, this must precisely match your kernel configuration. This is controlled by setting the ARCH_ARM_HAVE_TLS_REGISTER variable to 'true' in your board configuration file.
* Add stack unwinding directives to assembly leaf functions.Ben Cheng2009-09-154-0/+17
| | | | So that the real culprit of native crashes can surface in the stack trace.
* Neon-optimized versions of memcpy.David 'Digit' Turner2009-09-021-0/+105
| | | | | | | This optimization come from the external 0xdroid repository. Original patch can be found here: http://gitorious.org/0xdroid/bionic/commit/ebafe41c2c02f8c09a3c1d7746047083df180ac5
* Revert "Fix the C library initialization to avoid calling static C++ ↵David 'Digit' Turner2009-06-032-39/+20
| | | | | | constructors twice." This reverts commit 03eabfe65e1e2c36f4d26c78a730fa19a3bdada3.
* Fix the C library initialization to avoid calling static C++ constructors twice.David 'Digit' Turner2009-06-022-20/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | The problem was due to the fact that, in the case of dynamic executables, the dynamic linker calls the DT_PREINIT_ARRAY, DT_INIT and DT_INIT_ARRAY constructors when loading shared libraries and dynamic executables, *before* calling the executable's entry point (i.e. arch-$ARCH/bionic/crtbegin_dynamic.c) which in turns call __libc_init() in libc.so, as defined by bionic/libc_init_dynamic.c The latter did call these constructors array again, mistakenly. The patch also updates the documentation of many related functions. Also adds a new section to linker/README.TXT explaining restrictions on C library usage. The patch has been tested on a Dream for stability issues with proprietary blobs: - H264 decoding works - Camera + Video recording works - GPS works - Sensors work The tests in system/extra/tests/bionic/libc/common/test_static_cpp_mutex.cpp has been run and shows the static C++ constructor being called only once.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-03202-0/+6689
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-03202-6689/+0
|
* auto import from //branches/cupcake/...@132276The Android Open Source Project2009-02-1912-222/+0
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-091-0/+82
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-1717-50/+295
|
* Initial Contributionandroid-1.0The Android Open Source Project2008-10-21209-0/+6584