Skip to content

Commit

Permalink
Merge pull request gnuradio#640 from argilo/prefer-neon
Browse files Browse the repository at this point in the history
Prefer NEON kernels over ORC
  • Loading branch information
jdemel authored Oct 22, 2023
2 parents a03d771 + 9fac93b commit 53d12c6
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions gen/archs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,6 @@ at the top, as a last resort.
<flag compiler="clang">-mfloat-abi=hard</flag>
</arch>

<arch name="neon">
<flag compiler="gnu">-funsafe-math-optimizations</flag>
<flag compiler="clang">-funsafe-math-optimizations</flag>
<alignment>16</alignment>
<check name="neon"></check>
</arch>

<arch name="neonv7">
<flag compiler="gnu">-mfpu=neon</flag>
<flag compiler="gnu">-funsafe-math-optimizations</flag>
<flag compiler="clang">-mfpu=neon</flag>
<flag compiler="clang">-funsafe-math-optimizations</flag>
<alignment>16</alignment>
<check name="neon"></check>
</arch>

<arch name="neonv8">
<flag compiler="gnu">-funsafe-math-optimizations</flag>
<flag compiler="clang">-funsafe-math-optimizations</flag>
<alignment>16</alignment>
<check name="neon"></check>
</arch>

<arch name="32">
<flag compiler="gnu">-m32</flag>
<flag compiler="clang">-m32</flag>
Expand Down Expand Up @@ -105,6 +82,29 @@ at the top, as a last resort.
<arch name="norc">
</arch>

<arch name="neon">
<flag compiler="gnu">-funsafe-math-optimizations</flag>
<flag compiler="clang">-funsafe-math-optimizations</flag>
<alignment>16</alignment>
<check name="neon"></check>
</arch>

<arch name="neonv7">
<flag compiler="gnu">-mfpu=neon</flag>
<flag compiler="gnu">-funsafe-math-optimizations</flag>
<flag compiler="clang">-mfpu=neon</flag>
<flag compiler="clang">-funsafe-math-optimizations</flag>
<alignment>16</alignment>
<check name="neon"></check>
</arch>

<arch name="neonv8">
<flag compiler="gnu">-funsafe-math-optimizations</flag>
<flag compiler="clang">-funsafe-math-optimizations</flag>
<alignment>16</alignment>
<check name="neon"></check>
</arch>

<arch name="sse3">
<check name="sse3"></check>
<flag compiler="gnu">-msse3</flag>
Expand Down

0 comments on commit 53d12c6

Please sign in to comment.