arm/arm_init.c

Branch


Log

Author Commit Date CI Message
Cosmin Truta 69a3e5bf 2025-04-25T16:19:30 chore: Clean up the error directives Make the error directives uniformly consistent with one another. Remove surrounding quotes and trailing punctuation, and rephrase some of the error messages and some of their associated comments for either brevity or clarity.
John Bowler d7d950e8 2024-10-10T14:09:02 [libpng16] chore: Clean up the leading blank lines from all source files The leading blank lines are apparently an artefact of an older source control system. They are not required and they look like accidents, because starting a source file with a blank line is not a regular habit of software developers nowadays. This is a cherry-pick of commit 37cc20add8fb5b83bb5299a26cd3b41e0f776017 from branch 'libpng18'. Signed-off-by: John Bowler <jbowler@acm.org> Signed-off-by: Cosmin Truta <ctruta@gmail.com>
Cosmin Truta b8ca9108 2022-10-12T12:42:09 arm: Add a compile-time assertion about PNG_ARM_NEON_CHECK_SUPPORTED Following up on the previous commit by Martin Storsjö: If the availability of ARM Neon is not only known at compile time, but also expected by the compiler's target architecture, there should be no further need for a run-time check. In fact, such a check would be counter-productive.
Cosmin Truta 8c542ad9 2022-09-14T00:42:48 arm: Do not allow PNG_ARM_NEON_CHECK_SUPPORTED on ARM64 ARM Neon is expected to be unconditionally available on ARM64. Issue an #error if PNG_ARM_NEON_CHECK_SUPPORTED is defined on an ARM64-based platform. For the plain ARM platforms where ARM Neon checking is not yet implemented, issue a slightly more descriptive #error, including a suggested course of action.
Cosmin Truta 85acd919 2018-12-01T09:36:00 [master] Imported from libpng-1.6.36.tar
Cosmin Truta 94429a33 2018-09-04T00:58:55 Remove the "last changed" version information from source comments
Glenn Randers-Pehrson 0c29ab2b 2016-08-03T21:16:26 [master] Imported from libpng-1.6.24.tar
Glenn Randers-Pehrson 428f5dda 2016-06-11T13:59:40 [libpng16] Bump version to 1.6.24beta01
Glenn Randers-Pehrson 5a8b0413 2016-06-09T06:44:58 [master] Imported from libpng-1.6.23.tar
Glenn Randers-Pehrson ed6db9d8 2016-06-09T06:44:58 [libpng16] Imported from libpng-1.6.23.tar
Glenn Randers-Pehrson 4e34fd3b 2016-05-27T19:44:22 [libpng16] Bump version to 1.6.23beta01
Glenn Randers-Pehrson 87c14c52 2016-05-25T22:41:46 [master] Imported from libpng-1.6.22.tar
Glenn Randers-Pehrson ac43a878 2016-05-25T22:41:46 [libpng16] Imported from libpng-1.6.22.tar
Glenn Randers-Pehrson da9d1d7a 2016-02-19T14:58:59 [libpng16] Added pngdebug() statements to the new intel code and the arm code.
Glenn Randers-Pehrson 070a616b 2014-12-21T22:08:09 [master] Imported from libpng-1.6.16.tar
Glenn Randers-Pehrson 018b4fcc 2014-12-31T18:33:11 [libpng16] Happy New Year! Update copyright year.
Glenn Randers-Pehrson ecd07494 2014-12-21T22:53:15 [libpng16] Bump version to 1.6.17beta01
Glenn Randers-Pehrson 88dd30b2 2014-12-21T21:08:09 [libpng16] Imported from libpng-1.6.16.tar
Glenn Randers-Pehrson 7c5d0370 2014-11-29T17:04:35 [libpng16] Update arm/*.c to libpng coding style.
Glenn Randers-Pehrson ee16fc4a 2014-11-29T16:27:27 [libpng16] Added ".align 2" to arm/filter_neon.S to support old GAS assemblers that don't do alignment correctly.
Glenn Randers-Pehrson d55c4f32 2014-08-21T05:53:38 [master] Imported from libpng-1.6.13.tar
Glenn Randers-Pehrson 26a94ab0 2014-08-13T19:47:37 [libpng16] Imported from libpng-1.6.13rc01.tar
Glenn Randers-Pehrson 212fd574 2014-06-11T21:10:16 [libpng16] Bump version to 1.6.13beta01
Glenn Randers-Pehrson 238e7646 2014-06-11T20:35:18 [master] Imported from libpng-1.6.12.tar
Glenn Randers-Pehrson e429c66c 2014-06-11T20:35:18 [libpng16] Imported from libpng-1.6.12.tar
Glenn Randers-Pehrson da7b692c 2014-06-06T11:42:50 [libpng16] Bump version to 1.6.12beta01
Glenn Randers-Pehrson d21eae44 2014-06-05T09:53:19 [master] Imported from libpng-1.6.11.tar
Glenn Randers-Pehrson c4e0f3de 2014-06-05T09:53:19 [libpng16] Imported from libpng-1.6.11.tar
Glenn Randers-Pehrson 149eea29 2014-03-17T10:58:02 [libpng16] Imported from libpng-1.6.11beta01.tar
Glenn Randers-Pehrson 71d23c4d 2014-03-06T19:52:04 [libpng16] Bump version to 1.6.11beta01
Glenn Randers-Pehrson 1cc02f03 2014-03-06T12:35:04 [master] Imported from libpng-1.6.10.tar
Glenn Randers-Pehrson 4df37bfa 2014-03-06T12:35:04 [libpng16] Imported from libpng-1.6.10.tar
Glenn Randers-Pehrson 78c28fea 2014-02-22T23:02:54 [libpng16] Imported from libpng-1.6.10beta02.tar
John Bowler dba54b88 2014-02-16T14:00:06 [libpng16] Moved OS dependent code from arm/arm_init.c, to allow the included implementation of the ARM NEON discovery function to be set at build-time and provide sample implementations from the current code in the contrib/arm-neon subdirectory. The __linux__ code has also been changed to compile and link on Android by using /proc/cpuinfo, and the old linux code is in contrib/arm-neon/linux-auxv.c. The new code avoids POSIX and Linux dependencies apart from opening /proc/cpuinfo and is C90 compliant.
Glenn Randers-Pehrson 9eec159a 2014-02-09T12:49:39 [libpng16] Imported from libpng-1.6.10beta01.tar
Glenn Randers-Pehrson a710317d 2014-02-05T22:28:57 [master] Imported from libpng-1.6.9.tar
Glenn Randers-Pehrson 38f49403 2013-12-22T15:00:59 [libpng16] Update "last changed" dates in recently-patched files.
Glenn Randers-Pehrson a066d49b 2013-11-14T09:16:37 [master] Imported from libpng-1.6.7.tar
John Bowler 8f381901 2013-09-30T11:24:17 [libpng16] Avoid up-cast warnings in pngvalid.c. On ARM the alignment requirements of png_modifier are greater than that of png_store and as a consequence compilation of pngvalid.c results in a warning about increased alignment requirements because of the bare cast to (png_modifier*). The code is safe, because the pointer is known to point to a stack allocated png_modifier, but this change avoids the warning. Fixed default behavior of ARM_NEON_API. If the ARM NEON API option was compiled without the CHECK option it defaulted to on, not off. Check user callback behavior in pngunknown.c. Previous versions compiled if SAVE_UNKNOWN was not available but did nothing since the callback was never implemented. Merged pngunknown.c with 1.7 version and back ported 1.7 improvements/fixes
Glenn Randers-Pehrson 7ae451f5 2013-09-16T11:19:34 [libpng16] Bump version to 1.6.7beta01
Glenn Randers-Pehrson 39145942 2013-09-16T10:33:47 [libpng16] Imported from libpng-1.6.6.tar
Glenn Randers-Pehrson 05f3788b 2013-09-14T07:18:49 [master] Imported from libpng-1.6.5.tar
Glenn Randers-Pehrson 53ae7dc5 2013-09-14T07:18:49 [libpng16] Imported from libpng-1.6.5.tar
Glenn Randers-Pehrson 90e28824 2013-09-11T21:28:37 [master] Imported from libpng-1.6.4.tar
Glenn Randers-Pehrson 32440204 2013-08-21T18:01:32 [libpng16] Imported from libpng-1.6.4beta01.tar
Glenn Randers-Pehrson fca68966 2013-07-17T19:03:02 [master] Imported from libpng-1.6.3.tar
Glenn Randers-Pehrson 847e9efb 2013-07-17T19:03:02 [libpng16] Imported from libpng-1.6.3.tar
John Bowler 497e7319 2013-07-02T22:57:40 [libpng16] Only compile ARM code when PNG_READ_SUPPORTED is defined.
Glenn Randers-Pehrson 746bc7d8 2013-06-08T16:52:34 [libpng16] Imported from libpng-1.6.3beta07.tar
John Bowler 18dd07e3 2013-06-08T13:07:13 [libpng16] Removed PNG_FILTER_OPTIMIZATIONS and PNG_ARM_NEON_SUPPORTED from pnglibconf.h, allowing more of the decisions to be made internally (pngpriv.h) during the compile. Without this, symbol prefixing is broken under certain circumstances on ARM platforms. Now only the API parts of the optimizations ('check' vs 'api') are exposed in the public header files except that the new setting PNG_ARM_NEON_OPT documents how libpng makes the decision about whether or not to use the optimizations.
Glenn Randers-Pehrson 34d20f48 2013-04-25T09:53:57 [libpng16] Revised stack marking in arm/filter_neon.S and configure.ac.
Glenn Randers-Pehrson 41db297e 2013-03-27T20:31:36 [master] Imported from libpng-1.6.1.tar
Glenn Randers-Pehrson 5087805e 2013-03-27T20:31:36 [libpng16] Imported from libpng-1.6.1.tar
John Bowler f3728100 2013-03-04T16:26:31 [libpng16] Corrected Android builds and corrected libpng.vers with symbol prefixing This adds an API to set optimization options externally, providing an alternative and general solution for the non-portable run-time tests used by the ARM Neon code. It also makes those tests compile and link on Android. The order of settings vs options in pnglibconf.h is reversed to allow settings to depend on options and options can now set (or override) the defaults for settings.
Glenn Randers-Pehrson 871b1d0f 2013-03-02T14:58:22 [libpng16] Bump version to 1.6.1beta05
Glenn Randers-Pehrson f3af706c 2012-02-02T23:11:45 [libpng16] Imported from libpng-1.6.0beta05.tar
John Bowler 09a5ca72 2013-02-18T22:30:35 [libpng16] Allow run-time ARM NEON checking to be disabled. A new configure option: --enable-arm-neon=always will stop the run-time checks. New checks within arm/arm_init.c will cause the code not to be compiled unless __ARM_NEON__ is set. This should make it fail safe (if someone asks for it on then the build will fail if it can't be done.) Fixed ALIGNED_MEMORY support.
Glenn Randers-Pehrson f2350f39 2013-02-18T12:30:30 [libpng16] Revised "#if defined " in arm/arm_init.c
Glenn Randers-Pehrson 3b8e7e86 2013-02-16T10:15:57 [libpng16] Imported from libpng-1.6.1beta01.tar
John Bowler 765d145e 2013-02-16T07:43:48 [libpng16] Use approved/supported Android method to check for NEON, use Linux/POSIX 1003.1 API to check /proc/self/auxv avoiding buffer allocation and other library calls (ported from libpng15).
Glenn Randers-Pehrson 0da9cf38 2013-02-13T22:49:19 [master] Imported from libpng-1.6.0.tar
Glenn Randers-Pehrson d14caad2 2013-01-23T20:59:12 [master] Imported from libpng-1.5.14.tar
John Bowler 6cf32b46 2012-12-15T07:55:54 [libpng16] Rearranged the ARM-NEON optimizations: Isolated the machine specific code to the hardware subdirectory and added comments to pngrutil.c so that implementors of other optimizations know what to do.
John Bowler f758d6c8 2012-12-13T11:26:50 [libpng16] Rearranged the ARM-NEON optimizations: Isolated the machine specific code to the hardware subdirectory and added comments to pngrutil.c so that implementors of other optimizations know what to do.