21 Commits

Author SHA1 Message Date
pstef
6bfb7862e7 Make -ffast-math exclusive to sinc_resampler.c
-ffast-math was added in ff14092d8d0 with a comment that it "helps SINC
resampler to auto-vectorize". The flag is an alias for "-fno-math-errno
-funsafe-math-optimizations -ffp-contract=fast -fno-honor-infinities
-fno-honor-nans". The last two of those cause compiler complaints
because while the flag was meant for this file, it's shared across the
codebase that includes statements that operate on infinities and NaNs.

GCC 13.3 with -fopt-info-vec reports 18 vectorizations for `-O3
-ffast-math`, 17 for `-O3 -fno-math-errno -funsafe-math-optimizations
-ffp-contract=fast` and also 17 for plain `-O3`. So using the subset of
-ffast-math without the offending flags buys nothing and loses 1
vectorization.

Both GCC and Clang provide the "fast-math" pragma directive, which I add
to this one file that benefits from it, under the condition that it's
supported. -ffast-math is removed from most of the makefiles.
2025-05-02 17:26:19 +00:00
LibretroAdmin
1a646d17e0 Add compat_strldup.c to Salamander versions 2022-08-25 17:00:23 +02:00
Francisco José García García
87ebd720ed
[VITA] Fix bubble name 2021-01-03 23:41:14 +01:00
twinaphex
f693d83723 (rhash to lrc_hash) Fix console builds 2020-12-28 20:24:55 +01:00
twinaphex
772ed15d88 Remove file_path_str from Salamander 2020-08-22 13:42:57 +02:00
twinaphex
fce29caff7 Add time/rtime.c to Salamander builds 2020-06-04 23:37:35 +02:00
twinaphex
df8f93e9d5 Split up VFS file_path code into separate file 2020-01-09 15:44:48 +01:00
twinaphex
56236f7372 Get rid of platform_null.c file 2020-01-06 15:35:35 +01:00
Rinnegatamante
064f821cf0 [VITA] Added accelerometer and gyroscope support. 2019-10-31 09:33:16 +01:00
Rinnegatamante
b3316fea35 [VITA] Make newlib heap allocation dynamic. 2019-10-04 12:11:52 +02:00
Rinnegatamante
fffc7597fd [VITA] Add system language detection. 2019-10-01 19:55:43 +02:00
Twinaphex
29dc30fa48
Revert " add hashing support for PSX cheevos (bin/cue, chd, or real CD)" 2019-08-30 15:55:07 +02:00
Jamiras
1f6b9c31e2 ensure vfs_implementation_cdrom in all Makefiles referencing vfs_implementation 2019-08-29 21:48:27 -06:00
rsn8887
28ef222886 [VITA] Bluetooth mouse and keyboard support 2019-03-22 21:32:59 -05:00
twinaphex
ef35cf5ac0 Add fopen_utf8 for Salamander builds 2019-01-08 21:42:52 +01:00
twinaphex
f6937e27f2 Add vfs_implementation to Salamander builds 2017-12-14 15:18:48 +01:00
twinaphex
e52e70aa5a Add encoding_utf to Salamander 2017-08-06 13:58:17 +02:00
twinaphex
e6a1afdb22 Update Makefiles 2017-06-16 15:38:20 +02:00
ggf906
702622380c (VITA) Fix salamander 2017-01-17 13:52:29 +01:00
twinaphex
2f5d2d4b9f Add compat_strcasestr to Salamander builds 2016-12-17 19:35:51 +01:00
Francisco José García García
c2cf515189 (VITA) Initial Salamander 2016-09-08 01:26:03 +02:00