mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Revert "Attempt to not use this codepath for arm64"
This reverts commit a16ba8450267b1c28a9513731620ba59399bf05f.
This commit is contained in:
parent
9062f62375
commit
2dfb9b9638
@ -31,7 +31,7 @@
|
||||
#include <features/features_cpu.h>
|
||||
#include <audio/conversion/float_to_s16.h>
|
||||
|
||||
#if defined(__ARM_NEON__) && !defined(__arm64__)
|
||||
#if defined(__ARM_NEON__)
|
||||
static bool float_to_s16_neon_enabled = false;
|
||||
void convert_float_s16_asm(int16_t *out, const float *in, size_t samples);
|
||||
#endif
|
||||
@ -91,7 +91,7 @@ void convert_float_to_s16(int16_t *out,
|
||||
|
||||
samples = samples_in;
|
||||
i = 0;
|
||||
#elif defined(__ARM_NEON__) && !defined(__arm64__)
|
||||
#elif defined(__ARM_NEON__)
|
||||
if (float_to_s16_neon_enabled)
|
||||
{
|
||||
size_t aligned_samples = samples & ~7;
|
||||
@ -151,7 +151,7 @@ void convert_float_to_s16(int16_t *out,
|
||||
**/
|
||||
void convert_float_to_s16_init_simd(void)
|
||||
{
|
||||
#if defined(__ARM_NEON__) && !defined(__arm64__)
|
||||
#if defined(__ARM_NEON__)
|
||||
unsigned cpu = cpu_features_get();
|
||||
|
||||
if (cpu & RETRO_SIMD_NEON)
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include <features/features_cpu.h>
|
||||
#include <audio/conversion/s16_to_float.h>
|
||||
|
||||
#if defined(__ARM_NEON__) && !defined(__arm64__)
|
||||
#if defined(__ARM_NEON__)
|
||||
static bool s16_to_float_neon_enabled = false;
|
||||
|
||||
/* Avoid potential hard-float/soft-float ABI issues. */
|
||||
@ -99,7 +99,7 @@ void convert_s16_to_float(float *out,
|
||||
samples = samples_in;
|
||||
i = 0;
|
||||
|
||||
#elif defined(__ARM_NEON__) && !defined(__arm64__)
|
||||
#elif defined(__ARM_NEON__)
|
||||
if (s16_to_float_neon_enabled)
|
||||
{
|
||||
size_t aligned_samples = samples & ~7;
|
||||
@ -180,7 +180,7 @@ void convert_s16_to_float(float *out,
|
||||
**/
|
||||
void convert_s16_to_float_init_simd(void)
|
||||
{
|
||||
#if defined(__ARM_NEON__) && !defined(__arm64__)
|
||||
#if defined(__ARM_NEON__)
|
||||
unsigned cpu = cpu_features_get();
|
||||
|
||||
if (cpu & RETRO_SIMD_NEON)
|
||||
|
Loading…
x
Reference in New Issue
Block a user