• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Pipewireパッケージ(ちょっと変更)


Commit MetaInfo

Revision632f532036d3c69ce0aba89a85dbc3a94af7ad0a (tree)
Time2023-09-08 00:44:30
AuthorWim Taymans <wtaymans@redh...>
CommiterWim Taymans

Log Message

audioconvert: don't use -Ofast on alpha

I can crash when using denormalized floats.

Fixes #3489

Change Summary

Incremental Difference

--- a/spa/plugins/audioconvert/meson.build
+++ b/spa/plugins/audioconvert/meson.build
@@ -7,6 +7,13 @@ audioconvert_sources = [
77 simd_cargs = []
88 simd_dependencies = []
99
10+opt_flags = []
11+if host_machine.cpu_family() != 'alpha'
12+ opt_flags += '-Ofast'
13+else
14+ opt_flags += '-O3'
15+endif
16+
1017 audioconvert_c = static_library('audioconvert_c',
1118 [ 'channelmix-ops-c.c',
1219 'biquad.c',
@@ -15,7 +22,7 @@ audioconvert_c = static_library('audioconvert_c',
1522 'peaks-ops-c.c',
1623 'resample-native-c.c',
1724 'fmt-ops-c.c' ],
18- c_args : ['-Ofast'],
25+ c_args : [ opt_flags ],
1926 dependencies : [ spa_dep ],
2027 install : false
2128 )
@@ -27,7 +34,7 @@ if have_sse
2734 'volume-ops-sse.c',
2835 'peaks-ops-sse.c',
2936 'channelmix-ops-sse.c' ],
30- c_args : [sse_args, '-Ofast', '-DHAVE_SSE'],
37+ c_args : [sse_args, opt_flags, '-DHAVE_SSE'],
3138 dependencies : [ spa_dep ],
3239 install : false
3340 )