Skip to content

Commit

Permalink
(VITA) Add support for -mthumb
Browse files Browse the repository at this point in the history
  • Loading branch information
frangarcj committed Nov 14, 2016
1 parent 35b2980 commit c68325a
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.griffin
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ else ifeq ($(platform), vita)
INCLUDE += -Ideps/zlib
PLATCFLAGS := -marm -mfloat-abi=hard -fsingle-precision-constant \
-mword-relocations -fno-unwind-tables -fno-asynchronous-unwind-tables -ftree-vectorize -fno-optimize-sibling-calls
LIBS += -lSceKernel_stub -lSceDisplay_stub -lSceGxm_stub -lSceNet_stub -lSceNetCtl_stub\
LIBS += -lSceDisplay_stub -lSceGxm_stub -lSceNet_stub -lSceNetCtl_stub\
-lSceSysmodule_stub -lSceCtrl_stub -lSceTouch_stub -lSceAudio_stub -lSceFiber_stub\
-lScePower_stub -lSceRtc_stub -lSceCommonDialog_stub -lScePgf_stub \
-lSceMotion_stub -lSceAppMgr_stub -lpng -lm -lc
Expand Down
4 changes: 4 additions & 0 deletions audio/drivers_resampler/cc_resampler_neon.S
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
#endif
.align 4
.globl resampler_CC_downsample_neon
.type resampler_CC_downsample_neon, %function
.globl _resampler_CC_downsample_neon
.type _resampler_CC_downsample_neon, %function

# 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 @@ -196,7 +198,9 @@ bx lr

.align 4
.globl resampler_CC_upsample_neon
.type resampler_CC_upsample_neon, %function
.globl _resampler_CC_upsample_neon
.type _resampler_CC_upsample_neon, %function

# size_t resampler_CC_upsample_neon(float *outp, const float *inp,
# rarch_CC_resampler_t* re_, size_t input_frames, float ratio);
Expand Down
2 changes: 2 additions & 0 deletions audio/drivers_resampler/sinc_resampler_neon.S
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
#endif
.align 4
.globl process_sinc_neon_asm
.type process_sinc_neon_asm, %function
.globl _process_sinc_neon_asm
.type _process_sinc_neon_asm, %function
# 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
2 changes: 2 additions & 0 deletions libretro-common/conversion/float_to_s16_neon.S
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@

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

.align 4
.globl convert_s16_float_asm
.type convert_s16_float_asm, %function
.globl _convert_s16_float_asm
.type _convert_s16_float_asm, %function
# 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
2 changes: 1 addition & 1 deletion memory/neon/memcpy-neon.S
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@ void* memcpy(void *destination, const void *source, size_t num)
.global memcpy_neon

.type memcpy_neon, %function
/*
* ENABLE_UNALIGNED_MEM_ACCESSES macro can be defined to permit the use
* of unaligned load/store memory accesses supported since ARMv6. This
Expand Down

0 comments on commit c68325a

Please sign in to comment.