Skip to content

Commit

Permalink
Fixing compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sadko4u committed Nov 25, 2023
1 parent 1122108 commit aa57526
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions include/private/dsp/arch/x86/avx2/dynamics/expander.h
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ namespace lsp
void uexpander_x1_gain(float *dst, const float *src, const dsp::expander_knee_t *c, size_t count)
{
IF_ARCH_X86(
float stub0[16] __lsp_aligned32;
expander_knee_t knee __lsp_aligned32;
float mem[16] __lsp_aligned32;
float stub[16] __lsp_aligned32;
Expand Down Expand Up @@ -338,6 +339,7 @@ namespace lsp
: [exp] "r" (c),
[knee] "o" (knee),
[mem] "o" (mem),
[stub0] "o" (stub0),
[stub] "o" (stub),
[X2C] "o" (expander_const),
[L2C] "o" (LOG2_CONST),
Expand All @@ -354,6 +356,7 @@ namespace lsp
void x64_uexpander_x1_gain(float *dst, const float *src, const dsp::expander_knee_t *c, size_t count)
{
IF_ARCH_X86(
float stub0[16] __lsp_aligned32;
expander_knee_t knee __lsp_aligned32;
float mem[32] __lsp_aligned32;
float stub[16] __lsp_aligned32;
Expand Down Expand Up @@ -444,6 +447,7 @@ namespace lsp
: [exp] "r" (c),
[knee] "o" (knee),
[mem] "o" (mem),
[stub0] "o" (stub0),
[stub] "o" (stub),
[X2C] "o" (expander_const),
[L2C] "o" (LOG2_CONST),
Expand All @@ -462,6 +466,7 @@ namespace lsp
void uexpander_x1_curve(float *dst, const float *src, const dsp::expander_knee_t *c, size_t count)
{
IF_ARCH_X86(
float stub0[16] __lsp_aligned32;
expander_knee_t knee __lsp_aligned32;
float mem[16] __lsp_aligned32;
float stub[16] __lsp_aligned32;
Expand Down Expand Up @@ -542,6 +547,7 @@ namespace lsp
: [exp] "r" (c),
[knee] "o" (knee),
[mem] "o" (mem),
[stub0] "o" (stub0),
[stub] "o" (stub),
[X2C] "o" (expander_const),
[L2C] "o" (LOG2_CONST),
Expand All @@ -558,6 +564,7 @@ namespace lsp
void x64_uexpander_x1_curve(float *dst, const float *src, const dsp::expander_knee_t *c, size_t count)
{
IF_ARCH_X86(
float stub0[16] __lsp_aligned32;
expander_knee_t knee __lsp_aligned32;
float mem[32] __lsp_aligned32;
float stub[16] __lsp_aligned32;
Expand Down Expand Up @@ -658,6 +665,7 @@ namespace lsp
: [exp] "r" (c),
[knee] "o" (knee),
[mem] "o" (mem),
[stub0] "o" (stub0),
[stub] "o" (stub),
[X2C] "o" (expander_const),
[L2C] "o" (LOG2_CONST),
Expand Down Expand Up @@ -886,6 +894,7 @@ namespace lsp
void dexpander_x1_gain(float *dst, const float *src, const dsp::expander_knee_t *c, size_t count)
{
IF_ARCH_X86(
float stub0[16] __lsp_aligned32;
expander_knee_t knee __lsp_aligned32;
float mem[16] __lsp_aligned32;
float stub[16] __lsp_aligned32;
Expand Down Expand Up @@ -960,6 +969,7 @@ namespace lsp
: [exp] "r" (c),
[knee] "o" (knee),
[mem] "o" (mem),
[stub0] "o" (stub0),
[stub] "o" (stub),
[X2C] "o" (expander_const),
[L2C] "o" (LOG2_CONST),
Expand All @@ -976,6 +986,7 @@ namespace lsp
void x64_dexpander_x1_gain(float *dst, const float *src, const dsp::expander_knee_t *c, size_t count)
{
IF_ARCH_X86(
float stub0[16] __lsp_aligned32;
expander_knee_t knee __lsp_aligned32;
float mem[32] __lsp_aligned32;
float stub[16] __lsp_aligned32;
Expand Down Expand Up @@ -1066,6 +1077,7 @@ namespace lsp
: [exp] "r" (c),
[knee] "o" (knee),
[mem] "o" (mem),
[stub0] "o" (stub0),
[stub] "o" (stub),
[X2C] "o" (expander_const),
[L2C] "o" (LOG2_CONST),
Expand All @@ -1084,6 +1096,7 @@ namespace lsp
void dexpander_x1_curve(float *dst, const float *src, const dsp::expander_knee_t *c, size_t count)
{
IF_ARCH_X86(
float stub0[16] __lsp_aligned32;
expander_knee_t knee __lsp_aligned32;
float mem[16] __lsp_aligned32;
float stub[16] __lsp_aligned32;
Expand Down Expand Up @@ -1164,6 +1177,7 @@ namespace lsp
: [exp] "r" (c),
[knee] "o" (knee),
[mem] "o" (mem),
[stub0] "o" (stub0),
[stub] "o" (stub),
[X2C] "o" (expander_const),
[L2C] "o" (LOG2_CONST),
Expand All @@ -1180,6 +1194,7 @@ namespace lsp
void x64_dexpander_x1_curve(float *dst, const float *src, const dsp::expander_knee_t *c, size_t count)
{
IF_ARCH_X86(
float stub0[16] __lsp_aligned32;
expander_knee_t knee __lsp_aligned32;
float mem[32] __lsp_aligned32;
float stub[16] __lsp_aligned32;
Expand Down Expand Up @@ -1280,6 +1295,7 @@ namespace lsp
: [exp] "r" (c),
[knee] "o" (knee),
[mem] "o" (mem),
[stub0] "o" (stub0),
[stub] "o" (stub),
[X2C] "o" (expander_const),
[L2C] "o" (LOG2_CONST),
Expand Down Expand Up @@ -1492,6 +1508,7 @@ namespace lsp
void uexpander_x1_gain_fma3(float *dst, const float *src, const dsp::expander_knee_t *c, size_t count)
{
IF_ARCH_X86(
float stub0[16] __lsp_aligned32;
expander_knee_t knee __lsp_aligned32;
float mem[16] __lsp_aligned32;
float stub[16] __lsp_aligned32;
Expand Down Expand Up @@ -1566,6 +1583,7 @@ namespace lsp
: [exp] "r" (c),
[knee] "o" (knee),
[mem] "o" (mem),
[stub0] "o" (stub0),
[stub] "o" (stub),
[X2C] "o" (expander_const),
[L2C] "o" (LOG2_CONST),
Expand All @@ -1582,6 +1600,7 @@ namespace lsp
void x64_uexpander_x1_gain_fma3(float *dst, const float *src, const dsp::expander_knee_t *c, size_t count)
{
IF_ARCH_X86(
float stub0[16] __lsp_aligned32;
expander_knee_t knee __lsp_aligned32;
float mem[32] __lsp_aligned32;
float stub[16] __lsp_aligned32;
Expand Down Expand Up @@ -1672,6 +1691,7 @@ namespace lsp
: [exp] "r" (c),
[knee] "o" (knee),
[mem] "o" (mem),
[stub0] "o" (stub0),
[stub] "o" (stub),
[X2C] "o" (expander_const),
[L2C] "o" (LOG2_CONST),
Expand All @@ -1690,6 +1710,7 @@ namespace lsp
void uexpander_x1_curve_fma3(float *dst, const float *src, const dsp::expander_knee_t *c, size_t count)
{
IF_ARCH_X86(
float stub0[16] __lsp_aligned32;
expander_knee_t knee __lsp_aligned32;
float mem[16] __lsp_aligned32;
float stub[16] __lsp_aligned32;
Expand Down Expand Up @@ -1770,6 +1791,7 @@ namespace lsp
: [exp] "r" (c),
[knee] "o" (knee),
[mem] "o" (mem),
[stub0] "o" (stub0),
[stub] "o" (stub),
[X2C] "o" (expander_const),
[L2C] "o" (LOG2_CONST),
Expand All @@ -1786,6 +1808,7 @@ namespace lsp
void x64_uexpander_x1_curve_fma3(float *dst, const float *src, const dsp::expander_knee_t *c, size_t count)
{
IF_ARCH_X86(
float stub0[16] __lsp_aligned32;
expander_knee_t knee __lsp_aligned32;
float mem[32] __lsp_aligned32;
float stub[16] __lsp_aligned32;
Expand Down Expand Up @@ -1886,6 +1909,7 @@ namespace lsp
: [exp] "r" (c),
[knee] "o" (knee),
[mem] "o" (mem),
[stub0] "o" (stub0),
[stub] "o" (stub),
[X2C] "o" (expander_const),
[L2C] "o" (LOG2_CONST),
Expand Down Expand Up @@ -2106,6 +2130,7 @@ namespace lsp
void dexpander_x1_gain_fma3(float *dst, const float *src, const dsp::expander_knee_t *c, size_t count)
{
IF_ARCH_X86(
float stub0[16] __lsp_aligned32;
expander_knee_t knee __lsp_aligned32;
float mem[16] __lsp_aligned32;
float stub[16] __lsp_aligned32;
Expand Down Expand Up @@ -2180,6 +2205,7 @@ namespace lsp
: [exp] "r" (c),
[knee] "o" (knee),
[mem] "o" (mem),
[stub0] "o" (stub0),
[stub] "o" (stub),
[X2C] "o" (expander_const),
[L2C] "o" (LOG2_CONST),
Expand All @@ -2196,6 +2222,7 @@ namespace lsp
void x64_dexpander_x1_gain_fma3(float *dst, const float *src, const dsp::expander_knee_t *c, size_t count)
{
IF_ARCH_X86(
float stub0[16] __lsp_aligned32;
expander_knee_t knee __lsp_aligned32;
float mem[32] __lsp_aligned32;
float stub[16] __lsp_aligned32;
Expand Down Expand Up @@ -2286,6 +2313,7 @@ namespace lsp
: [exp] "r" (c),
[knee] "o" (knee),
[mem] "o" (mem),
[stub0] "o" (stub0),
[stub] "o" (stub),
[X2C] "o" (expander_const),
[L2C] "o" (LOG2_CONST),
Expand All @@ -2304,6 +2332,7 @@ namespace lsp
void dexpander_x1_curve_fma3(float *dst, const float *src, const dsp::expander_knee_t *c, size_t count)
{
IF_ARCH_X86(
float stub0[16] __lsp_aligned32;
expander_knee_t knee __lsp_aligned32;
float mem[16] __lsp_aligned32;
float stub[16] __lsp_aligned32;
Expand Down Expand Up @@ -2384,6 +2413,7 @@ namespace lsp
: [exp] "r" (c),
[knee] "o" (knee),
[mem] "o" (mem),
[stub0] "o" (stub0),
[stub] "o" (stub),
[X2C] "o" (expander_const),
[L2C] "o" (LOG2_CONST),
Expand All @@ -2400,6 +2430,7 @@ namespace lsp
void x64_dexpander_x1_curve_fma3(float *dst, const float *src, const dsp::expander_knee_t *c, size_t count)
{
IF_ARCH_X86(
float stub0[16] __lsp_aligned32;
expander_knee_t knee __lsp_aligned32;
float mem[32] __lsp_aligned32;
float stub[16] __lsp_aligned32;
Expand Down Expand Up @@ -2500,6 +2531,7 @@ namespace lsp
: [exp] "r" (c),
[knee] "o" (knee),
[mem] "o" (mem),
[stub0] "o" (stub0),
[stub] "o" (stub),
[X2C] "o" (expander_const),
[L2C] "o" (LOG2_CONST),
Expand Down

0 comments on commit aa57526

Please sign in to comment.