speex: bump version to 1.2.0
PATCH 1/1 speex: bump version to 1.2.0
Patch is no longer needed and has been merged with upstream.
--- package/speex/0001-thumb2-support.patch | 220 -------------------------------- package/speex/speex.hash | 2 +- package/speex/speex.mk | 2 +- 3 files changed, 2 insertions(+), 222 deletions(-) delete mode 100644 package/speex/0001-thumb2-support.patch
package/speex/0001-thumb2-support.patch deleted +0 -220
@@ -1,220 +0,0 @@ -Make speex Thumb2 compatible - -Patch written by Michael Hope from Linaro, available at -http://lists.xiph.org/pipermail/speex-dev/2010-November/008041.html. - -Signed-off-by: Thomas Petazzoni <[email protected]> - -diff --git a/libspeex/filters_arm4.h b/libspeex/filters_arm4.h -index 7a74042..6ec1f75 100644 ---- a/libspeex/filters_arm4.h -+++ b/libspeex/filters_arm4.h -@@ -47,8 +47,10 @@ int normalize16(const spx_sig_t *x, spx_word16_t *y, spx_sig_t max_scale, int le - - "\tldr %4, [%0], #4 \n" - "\tcmps %4, %1 \n" -+ "\tit gt \n" - "\tmovgt %1, %4 \n" - "\tcmps %4, %3 \n" -+ "\tit lt \n" - "\tmovlt %3, %4 \n" - - "\tsubs %2, %2, #1 \n" -@@ -56,6 +58,7 @@ int normalize16(const spx_sig_t *x, spx_word16_t *y, spx_sig_t max_scale, int le - - "\trsb %3, %3, #0 \n" - "\tcmp %1, %3 \n" -+ "\tit lt \n" - "\tmovlt %1, %3 \n" - : "=r" (dead1), "=r" (max_val), "=r" (dead3), "=r" (dead4), - "=r" (dead5), "=r" (dead6) -diff --git a/libspeex/fixed_arm4.h b/libspeex/fixed_arm4.h -index b6981ca..b6218ca 100644 ---- a/libspeex/fixed_arm4.h -+++ b/libspeex/fixed_arm4.h -@@ -69,72 +69,90 @@ static inline short DIV32_16(int a, int b) - __asm__ __volatile__ ( - "\teor %5, %0, %1\n" - "\tmovs %4, %0\n" -+ "\tit mi \n" - "\trsbmi %0, %0, #0 \n" - "\tmovs %4, %1\n" -+ "\tit mi \n" - "\trsbmi %1, %1, #0 \n" - "\tmov %4, #1\n" - - "\tsubs %3, %0, %1, asl #14 \n" -+ "\titt pl \n" - "\tmovpl %0, %3 \n" - "\torrpl %2, %2, %4, asl #14 \n" - - "\tsubs %3, %0, %1, asl #13 \n" -+ "\titt pl \n" - "\tmovpl %0, %3 \n" - "\torrpl %2, %2, %4, asl #13 \n" - - "\tsubs %3, %0, %1, asl #12 \n" -+ "\titt pl \n" - "\tmovpl %0, %3 \n" - "\torrpl %2, %2, %4, asl #12 \n" - - "\tsubs %3, %0, %1, asl #11 \n" -+ "\titt pl \n" - "\tmovpl %0, %3 \n" - "\torrpl %2, %2, %4, asl #11 \n" - - "\tsubs %3, %0, %1, asl #10 \n" -+ "\titt pl \n" - "\tmovpl %0, %3 \n" - "\torrpl %2, %2, %4, asl #10 \n" - - "\tsubs %3, %0, %1, asl #9 \n" -+ "\titt pl \n" - "\tmovpl %0, %3 \n" - "\torrpl %2, %2, %4, asl #9 \n" - - "\tsubs %3, %0, %1, asl #8 \n" -+ "\titt pl \n" - "\tmovpl %0, %3 \n" - "\torrpl %2, %2, %4, asl #8 \n" - - "\tsubs %3, %0, %1, asl #7 \n" -+ "\titt pl \n" - "\tmovpl %0, %3 \n" - "\torrpl %2, %2, %4, asl #7 \n" - - "\tsubs %3, %0, %1, asl #6 \n" -+ "\titt pl \n" - "\tmovpl %0, %3 \n" - "\torrpl %2, %2, %4, asl #6 \n" - - "\tsubs %3, %0, %1, asl #5 \n" -+ "\titt pl \n" - "\tmovpl %0, %3 \n" - "\torrpl %2, %2, %4, asl #5 \n" - - "\tsubs %3, %0, %1, asl #4 \n" -+ "\titt pl \n" - "\tmovpl %0, %3 \n" - "\torrpl %2, %2, %4, asl #4 \n" - - "\tsubs %3, %0, %1, asl #3 \n" -+ "\titt pl \n" - "\tmovpl %0, %3 \n" - "\torrpl %2, %2, %4, asl #3 \n" - - "\tsubs %3, %0, %1, asl #2 \n" -+ "\titt pl \n" - "\tmovpl %0, %3 \n" - "\torrpl %2, %2, %4, asl #2 \n" - - "\tsubs %3, %0, %1, asl #1 \n" -+ "\titt pl \n" - "\tmovpl %0, %3 \n" - "\torrpl %2, %2, %4, asl #1 \n" - - "\tsubs %3, %0, %1 \n" -+ "\titt pl \n" - "\tmovpl %0, %3 \n" - "\torrpl %2, %2, %4 \n" - - "\tmovs %5, %5, lsr #31 \n" -+ "\tit ne \n" - "\trsbne %2, %2, #0 \n" - : "=r" (dead1), "=r" (dead2), "=r" (res), - "=r" (dead3), "=r" (dead4), "=r" (dead5) -diff --git a/libspeex/fixed_arm5e.h b/libspeex/fixed_arm5e.h -index 9b4861c..bdadd02 100644 ---- a/libspeex/fixed_arm5e.h -+++ b/libspeex/fixed_arm5e.h -@@ -97,72 +97,90 @@ static inline short DIV32_16(int a, int b) - __asm__ __volatile__ ( - "\teor %5, %0, %1\n" - "\tmovs %4, %0\n" -+ "\tit mi \n" - "\trsbmi %0, %0, #0 \n" - "\tmovs %4, %1\n" -+ "\tit mi \n" - "\trsbmi %1, %1, #0 \n" - "\tmov %4, #1\n" - - "\tsubs %3, %0, %1, asl #14 \n" -+ "\titt pl \n" - "\torrpl %2, %2, %4, asl #14 \n" - "\tmovpl %0, %3 \n" - - "\tsubs %3, %0, %1, asl #13 \n" -+ "\titt pl \n" - "\torrpl %2, %2, %4, asl #13 \n" - "\tmovpl %0, %3 \n" - - "\tsubs %3, %0, %1, asl #12 \n" -+ "\titt pl \n" - "\torrpl %2, %2, %4, asl #12 \n" - "\tmovpl %0, %3 \n" - - "\tsubs %3, %0, %1, asl #11 \n" -+ "\titt pl \n" - "\torrpl %2, %2, %4, asl #11 \n" - "\tmovpl %0, %3 \n" - - "\tsubs %3, %0, %1, asl #10 \n" -+ "\titt pl \n" - "\torrpl %2, %2, %4, asl #10 \n" - "\tmovpl %0, %3 \n" - - "\tsubs %3, %0, %1, asl #9 \n" -+ "\titt pl \n" - "\torrpl %2, %2, %4, asl #9 \n" - "\tmovpl %0, %3 \n" - - "\tsubs %3, %0, %1, asl #8 \n" -+ "\titt pl \n" - "\torrpl %2, %2, %4, asl #8 \n" - "\tmovpl %0, %3 \n" - - "\tsubs %3, %0, %1, asl #7 \n" -+ "\titt pl \n" - "\torrpl %2, %2, %4, asl #7 \n" - "\tmovpl %0, %3 \n" - - "\tsubs %3, %0, %1, asl #6 \n" -+ "\titt pl \n" - "\torrpl %2, %2, %4, asl #6 \n" - "\tmovpl %0, %3 \n" - - "\tsubs %3, %0, %1, asl #5 \n" -+ "\titt pl \n" - "\torrpl %2, %2, %4, asl #5 \n" - "\tmovpl %0, %3 \n" - - "\tsubs %3, %0, %1, asl #4 \n" -+ "\titt pl \n" - "\torrpl %2, %2, %4, asl #4 \n" - "\tmovpl %0, %3 \n" - - "\tsubs %3, %0, %1, asl #3 \n" -+ "\titt pl \n" - "\torrpl %2, %2, %4, asl #3 \n" - "\tmovpl %0, %3 \n" - - "\tsubs %3, %0, %1, asl #2 \n" -+ "\titt pl \n" - "\torrpl %2, %2, %4, asl #2 \n" - "\tmovpl %0, %3 \n" - - "\tsubs %3, %0, %1, asl #1 \n" -+ "\titt pl \n" - "\torrpl %2, %2, %4, asl #1 \n" - "\tmovpl %0, %3 \n" - - "\tsubs %3, %0, %1 \n" -+ "\titt pl \n" - "\torrpl %2, %2, %4 \n" - "\tmovpl %0, %3 \n" - - "\tmovs %5, %5, lsr #31 \n" -+ "\tit ne \n" - "\trsbne %2, %2, #0 \n" - : "=r" (dead1), "=r" (dead2), "=r" (res), - "=r" (dead3), "=r" (dead4), "=r" (dead5)
package/speex/speex.hash +1 -1
@@ -1,2 +1,2 @@ # From http://downloads.xiph.org/releases/speex/SHA256SUMS.txt -sha256 342f30dc57bd4a6dad41398365baaa690429660b10d866b7d508e8f1179cb7a6 speex-1.2rc1.tar.gz +sha256 eaae8af0ac742dc7d542c9439ac72f1f385ce838392dc849cae4536af9210094 speex-1.2.0.tar.gz
package/speex/speex.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -SPEEX_VERSION = 1.2rc1 +SPEEX_VERSION = 1.2.0 SPEEX_SITE = http://downloads.us.xiph.org/releases/speex SPEEX_LICENSE = BSD-3-Clause SPEEX_LICENSE_FILES = COPYING
Signature · 1 line
2.9.4
PATCH 1/1 speex: bump version to 1.2.0
Hello,
Quoted 1 line · Adam Duskett
Patch is no longer needed and has been merged with upstream.
Have you actually tested that the patch is no longer needed? I applied your patch, and tried building Speex on ARM/Thumb2 and it fails miserably:
CC ltp.lo CC speex.lo CC stereo.lo
/tmp/ccR4oAiE.s: Assembler messages:/tmp/ccR4oAiE.s:262: Error: thumb conditional instruction should be in IT block -- rsbmi r2,r2,#0' /tmp/ccR4oAiE.s:264: Error: thumb conditional instruction should be in IT block -- rsbmi r0,r0,#0' /tmp/ccR4oAiE.s:267: Error: thumb conditional instruction should be in IT block -- orrpl r3,r3,r4,asl#14' /tmp/ccR4oAiE.s:268: Error: thumb conditional instruction should be in IT block -- movpl r2,r1' /tmp/ccR4oAiE.s:270: Error: thumb conditional instruction should be in IT block -- orrpl r3,r3,r4,asl#13' /tmp/ccR4oAiE.s:271: Error: thumb conditional instruction should be in IT block -- movpl r2,r1' /tmp/ccR4oAiE.s:273: Error: thumb conditional instruction should be in IT block -- orrpl r3,r3,r4,asl#12' /tmp/ccR4oAiE.s:274: Error: thumb conditional instruction should be in IT block -- movpl r2,r1' /tmp/ccR4oAiE.s:276: Error: thumb conditional instruction should be in IT block -- orrpl r3,r3,r4,asl#11' /tmp/ccR4oAiE.s:277: Error: thumb conditional instruction should be in IT block -- movpl r2,r1' /tmp/ccR4oAiE.s:279: Error: thumb conditional instruction should be in IT block -- orrpl r3,r3,r4,asl#10' /tmp/ccR4oAiE.s:280: Error: thumb conditional instruction should be in IT block -- movpl r2,r1' /tmp/ccR4oAiE.s:282: Error: thumb conditional instruction should be in IT block -- orrpl r3,r3,r4,asl#9' /tmp/ccR4oAiE.s:283: Error: thumb conditional instruction should be in IT block -- movpl r2,r1' /tmp/ccR4oAiE.s:285: Error: thumb conditional instruction should be in IT block -- orrpl r3,r3,r4,asl#8' /tmp/ccR4oAiE.s:286: Error: thumb conditional instruction should be in IT block -- movpl r2,r1' /tmp/ccR4oAiE.s:288: Error: thumb conditional instruction should be in IT block -- orrpl r3,r3,r4,asl#7' /tmp/ccR4oAiE.s:289: Error: thumb conditional instruction should be in IT block -- movpl r2,r1' [...]
You can reproduce with:
BR2_arm=y
BR2_cortex_a8=y
BR2_ARM_EABI=y
BR2_ARM_INSTRUCTIONS_THUMB2=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_SPEEX=y
# BR2_TARGET_ROOTFS_TAR is not set
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com