Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HAVE_ARM_NEON_ASM_OPTIMIZATIONS and HAVE_NEON fail to compiler float_to_s16.c #213

Open
Ninoh-FOX opened this issue Apr 4, 2024 · 0 comments

Comments

@Ninoh-FOX
Copy link

Ninoh-FOX commented Apr 4, 2024

I have this error with the last changes in the file float_to_s16.c with NEON compilation:

AS libretro-common/audio/resampler/drivers/sinc_resampler_neon.S
AS memory/neon/memcpy-neon.S
CC libretro-common/audio/conversion/s16_to_float.c
CC libretro-common/audio/conversion/float_to_s16.c
CC libretro-common/audio/conversion/mono_to_stereo_float.c
CC libretro-common/audio/conversion/stereo_to_mono_float.c
libretro-common/audio/conversion/float_to_s16.c: En la función ‘convert_float_to_s16’:
libretro-common/audio/conversion/float_to_s16.c:50:7: error: nombre de tipo ‘float32x4_t’ desconocido; ¿quiso decir ‘_Float32x’?
float32x4_t vgf = {gf, gf, gf, gf};
^~~~~~~~~~~
_Float32x
libretro-common/audio/conversion/float_to_s16.c:50:30: aviso: exceso de elementos en el inicializador de escalar
float32x4_t vgf = {gf, gf, gf, gf};
^~
libretro-common/audio/conversion/float_to_s16.c:50:30: nota: (cerca de la inicialización de ‘vgf’)
libretro-common/audio/conversion/float_to_s16.c:50:34: aviso: exceso de elementos en el inicializador de escalar
float32x4_t vgf = {gf, gf, gf, gf};
^~
libretro-common/audio/conversion/float_to_s16.c:50:34: nota: (cerca de la inicialización de ‘vgf’)
libretro-common/audio/conversion/float_to_s16.c:50:38: aviso: exceso de elementos en el inicializador de escalar
float32x4_t vgf = {gf, gf, gf, gf};
^~
libretro-common/audio/conversion/float_to_s16.c:50:38: nota: (cerca de la inicialización de ‘vgf’)
CC libretro-common/audio/conversion/s16_to_float_neon.c
make: *** [Makefile.mini:181: obj-unix/release/./libretro-common/audio/conversion/float_to_s16.o] Error 1
make: *** Se espera a que terminen otras tareas....

line 118:

HAVE_THREAD_STORAGE = 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant