Commit graph

7 commits

Author SHA1 Message Date
Mark Harris
c5a84df8fd
arm2gnu.pl: Fix GNU ARM .type directive
Broken by 76e831d.  Without the .type directive, SIGILL may be produced
if the C code is compiled in Thumb mode, because the compiler may assume
that the asm symbol is also Thumb and call it using a BL instruction.
2017-02-04 17:23:46 -08:00
Timothy B. Terriberry
4ae4bc61d0 Fix iOS builds with assembly.
The patch in 76e831d917 got us most of the way there, but
 out-of-tree builds required a second Makefile.am rule, which was
 missing @ARM2GNU_PARAMS@.
Also, the arm2gnu.pl was terminating argument processing on any
 argument beginning with --, rather than an argument that was just
 -- by itself (as is the normal convention in GNU programs).
That meant it never saw the --apple flag even when it was passed.

Thanks to Jonathan Lennox for the report and for testing.
2014-03-26 12:58:04 -07:00
Martin Storsjo
76e831d917 Make the arm2gnu.pl converter handle apple specific details
This allows building the arm assembly for iOS.

This checks for the __APPLE__ preprocessor built-in define to
determine whether this extra handling should be enabled.

Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
2014-03-19 16:33:03 -07:00
Martin Storsjo
e70faf98b0 arm: Use the UAL syntax for instructions
This is required in order to build using the built-in assembler
in clang.

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2014-02-24 15:25:31 -05:00
Jean-Marc Valin
718b10c628 Adds missing license for arm2gnu.pl 2014-02-24 14:55:00 -05:00
Jean-Marc Valin
f50df82246 Fixes permissions on arm2gnu.pl 2013-11-18 13:49:34 -05:00
Timothy B. Terriberry
39386e0b85 Adds Neon assembly for correlation/convolution
Optimizing celt_pitch_xcorr()/xcorr_kernel() which also speeds up
FIRs, IIRs and auto-correlations

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2013-11-18 13:41:17 -05:00