Skip to content

Commit a60a256

Browse files
committed
Release 1.0.24
* Fixed build for x86 Clang.
2 parents 7826371 + 7d56512 commit a60a256

File tree

6 files changed

+23
-13
lines changed

6 files changed

+23
-13
lines changed

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
* RECENT CHANGES
33
*******************************************************************************
44

5+
=== 1.0.24 ===
6+
* Fixed build for x86 Clang.
7+
58
=== 1.0.23 ===
69
* Updated module versions in dependencies.
710

include/lsp-plug.in/dsp/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
// Define version of headers
2626
#define LSP_DSP_LIB_MAJOR 1
2727
#define LSP_DSP_LIB_MINOR 0
28-
#define LSP_DSP_LIB_MICRO 23
28+
#define LSP_DSP_LIB_MICRO 24
2929

3030
#if defined(__WINDOWS__) || defined(__WIN32__) || defined(__WIN64__) || defined(_WIN64) || defined(_WIN32) || defined(__WINNT) || defined(__WINNT__)
3131
#define LSP_DSP_LIB_EXPORT_MODIFIER __declspec(dllexport)

include/private/dsp/arch/x86/avx/correlation.h

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,8 @@ namespace lsp
353353
__ASM_EMIT("jae 1b")
354354
__ASM_EMIT("2:")
355355
/* 4x block */
356-
__ASM_EMIT("add $4, %[count]")
356+
__ASM_EMIT32("addl $4, %[count]")
357+
__ASM_EMIT64("add $4, %[count]")
357358
__ASM_EMIT("jl 4f")
358359
__ASM_EMIT("vmovups 0x00(%[a_head]), %%xmm0") /* xmm0 = ah */
359360
__ASM_EMIT("vmovups 0x00(%[b_head]), %%xmm1") /* xmm1 = bh */
@@ -425,7 +426,8 @@ namespace lsp
425426
__ASM_EMIT("4:")
426427

427428
/* 1x blocks */
428-
__ASM_EMIT("add $3, %[count]")
429+
__ASM_EMIT32("addl $3, %[count]")
430+
__ASM_EMIT64("add $3, %[count]")
429431
__ASM_EMIT("jl 6f")
430432
__ASM_EMIT("5:")
431433
__ASM_EMIT("vmovss 0x00(%[a_head]), %%xmm0") /* xmm0 = ah */
@@ -486,7 +488,7 @@ namespace lsp
486488
[corr] "+m" (corr), [dst] "+m" (dst),
487489
[a_head] "+r" (a_head), [b_head] "+r" (b_head),
488490
[a_tail] "+r" (a_tail), [b_tail] "+r" (b_tail),
489-
[count] "+g" (count)
491+
[count] "+m" (count)
490492
)
491493
__IF_64(
492494
[dst] "+r" (dst),
@@ -600,7 +602,8 @@ namespace lsp
600602
__ASM_EMIT("jae 1b")
601603
__ASM_EMIT("2:")
602604
/* 4x block */
603-
__ASM_EMIT("add $4, %[count]")
605+
__ASM_EMIT32("addl $4, %[count]")
606+
__ASM_EMIT64("add $4, %[count]")
604607
__ASM_EMIT("jl 4f")
605608
__ASM_EMIT("vmovups 0x00(%[a_head]), %%xmm0") /* xmm0 = ah */
606609
__ASM_EMIT("vmovups 0x00(%[b_head]), %%xmm1") /* xmm1 = bh */
@@ -669,7 +672,8 @@ namespace lsp
669672
__ASM_EMIT("4:")
670673

671674
/* 1x blocks */
672-
__ASM_EMIT("add $3, %[count]")
675+
__ASM_EMIT32("addl $3, %[count]")
676+
__ASM_EMIT64("add $3, %[count]")
673677
__ASM_EMIT("jl 6f")
674678
__ASM_EMIT("5:")
675679
__ASM_EMIT("vmovss 0x00(%[a_head]), %%xmm0") /* xmm0 = ah */
@@ -727,7 +731,7 @@ namespace lsp
727731
[corr] "+m" (corr), [dst] "+m" (dst),
728732
[a_head] "+r" (a_head), [b_head] "+r" (b_head),
729733
[a_tail] "+r" (a_tail), [b_tail] "+r" (b_tail),
730-
[count] "+g" (count)
734+
[count] "+m" (count)
731735
)
732736
__IF_64(
733737
[dst] "+r" (dst),

include/private/dsp/arch/x86/avx512/correlation.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,8 @@ namespace lsp
353353
__ASM_EMIT64("sub $8, %[count]")
354354
__ASM_EMIT("4:")
355355
/* 4x block */
356-
__ASM_EMIT("add $4, %[count]")
356+
__ASM_EMIT32("addl $4, %[count]")
357+
__ASM_EMIT64("add $4, %[count]")
357358
__ASM_EMIT("jl 6f")
358359
__ASM_EMIT("vmovups 0x00(%[a_head]), %%xmm0") /* xmm0 = ah */
359360
__ASM_EMIT("vmovups 0x00(%[b_head]), %%xmm1") /* xmm1 = bh */
@@ -422,7 +423,8 @@ namespace lsp
422423
__ASM_EMIT("6:")
423424

424425
/* 1x blocks */
425-
__ASM_EMIT("add $3, %[count]")
426+
__ASM_EMIT32("addl $3, %[count]")
427+
__ASM_EMIT64("add $3, %[count]")
426428
__ASM_EMIT("jl 8f")
427429
__ASM_EMIT("7:")
428430
__ASM_EMIT("vmovss 0x00(%[a_head]), %%xmm0") /* xmm0 = ah */
@@ -480,7 +482,7 @@ namespace lsp
480482
[corr] "+m" (corr), [dst] "+m" (dst),
481483
[a_head] "+r" (a_head), [b_head] "+r" (b_head),
482484
[a_tail] "+r" (a_tail), [b_tail] "+r" (b_tail),
483-
[count] "+g" (count)
485+
[count] "+m" (count)
484486
)
485487
__IF_64(
486488
[dst] "+r" (dst),

include/private/dsp/arch/x86/sse/correlation.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,8 @@ namespace lsp
236236
__ASM_EMIT("jae 1b")
237237
__ASM_EMIT("2:")
238238
/* 1x blocks */
239-
__ASM_EMIT("add $3, %[count]")
239+
__ASM_EMIT32("addl $3, %[count]")
240+
__ASM_EMIT64("add $3, %[count]")
240241
__ASM_EMIT("jl 4f")
241242
__ASM_EMIT("3:")
242243
__ASM_EMIT("movss 0x00(%[a_head]), %%xmm0") /* xmm0 = ah */
@@ -300,7 +301,7 @@ namespace lsp
300301
[corr] "+m" (corr), [dst] "+m" (dst),
301302
[a_head] "+r" (a_head), [b_head] "+r" (b_head),
302303
[a_tail] "+r" (a_tail), [b_tail] "+r" (b_tail),
303-
[count] "+g" (count)
304+
[count] "+m" (count)
304305
)
305306
__IF_64(
306307
[dst] "+r" (dst),

project.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ ARTIFACT_ID = LSP_DSP_LIB
2323
ARTIFACT_NAME = lsp-dsp-lib
2424
ARTIFACT_DESC = DSP library for digital signal processing
2525
ARTIFACT_HEADERS = lsp-plug.in
26-
ARTIFACT_VERSION = 1.0.23
26+
ARTIFACT_VERSION = 1.0.24

0 commit comments

Comments
 (0)