Skip to content

Commit

Permalink
(MACH) Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
frangarcj committed Nov 14, 2016
1 parent 4547022 commit d99d8d1
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
8 changes: 8 additions & 0 deletions audio/drivers_resampler/cc_resampler_neon.S
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,13 @@
#endif
.align 4
.globl resampler_CC_downsample_neon
#ifndef __MACH__
.type resampler_CC_downsample_neon, %function
#endif
.globl _resampler_CC_downsample_neon
#ifndef __MACH__
.type _resampler_CC_downsample_neon, %function
#endif

# size_t resampler_CC_downsample_neon(float *outp, const float *inp,
# rarch_CC_resampler_t* re_, size_t input_frames, float ratio);
Expand Down Expand Up @@ -198,9 +202,13 @@ bx lr

.align 4
.globl resampler_CC_upsample_neon
#ifndef __MACH__
.type resampler_CC_upsample_neon, %function
#endif
.globl _resampler_CC_upsample_neon
#ifndef __MACH__
.type _resampler_CC_upsample_neon, %function
#endif

# size_t resampler_CC_upsample_neon(float *outp, const float *inp,
# rarch_CC_resampler_t* re_, size_t input_frames, float ratio);
Expand Down
4 changes: 4 additions & 0 deletions audio/drivers_resampler/sinc_resampler_neon.S
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@
#endif
.align 4
.globl process_sinc_neon_asm
#ifndef __MACH__
.type process_sinc_neon_asm, %function
#endif
.globl _process_sinc_neon_asm
#ifndef __MACH__
.type _process_sinc_neon_asm, %function
#endif
# void process_sinc_neon(float *out, const float *left, const float *right, const float *coeff, unsigned taps)
# Assumes taps is >= 8, and a multiple of 8.
process_sinc_neon_asm:
Expand Down
4 changes: 4 additions & 0 deletions libretro-common/conversion/float_to_s16_neon.S
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,13 @@

.align 4
.globl convert_float_s16_asm
#ifndef __MACH__
.type convert_float_s16_asm, %function
#endif
.globl _convert_float_s16_asm
#ifndef __MACH__
.type _convert_float_s16_asm, %function
#endif
# convert_float_s16_asm(int16_t *out, const float *in, size_t samples)
convert_float_s16_asm:
_convert_float_s16_asm:
Expand Down
4 changes: 4 additions & 0 deletions libretro-common/conversion/s16_to_float_neon.S
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,13 @@

.align 4
.globl convert_s16_float_asm
#ifndef __MACH__
.type convert_s16_float_asm, %function
#endif
.globl _convert_s16_float_asm
#ifndef __MACH__
.type _convert_s16_float_asm, %function
#endif
# convert_s16_float_asm(float *out, const int16_t *in, size_t samples, const float *gain)
convert_s16_float_asm:
_convert_s16_float_asm:
Expand Down

0 comments on commit d99d8d1

Please sign in to comment.