diff mbox series

[oe,warrior,14/23] libopus: Limit forcing ARM mode ISA to v5 only

Message ID 6404de28dbc2189edeae0045bd619b91de54198d.1567286967.git.akuster808@gmail.com
State New
Headers show
Series None | expand

Commit Message

Armin Kuster Aug. 31, 2019, 9:31 p.m. UTC
From: Khem Raj <raj.khem@gmail.com>


This lets newer armv7+ still use thumb2 ISA

Signed-off-by: Khem Raj <raj.khem@gmail.com>

Signed-off-by: Armin Kuster <akuster808@gmail.com>

---
 meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.7.4

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Comments

Adrian Bunk Sept. 1, 2019, 6:32 a.m. UTC | #1
On Sat, Aug 31, 2019 at 02:31:35PM -0700, Armin Kuster wrote:
> From: Khem Raj <raj.khem@gmail.com>

> 

> This lets newer armv7+ still use thumb2 ISA

> 

> Signed-off-by: Khem Raj <raj.khem@gmail.com>

> Signed-off-by: Armin Kuster <akuster808@gmail.com>

> ---

>  meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb b/meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb

> index fb9bdc7..1512a1d 100644

> --- a/meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb

> +++ b/meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb

> @@ -50,6 +50,6 @@ python () {

>  #| {standard input}:761: Error: selected processor does not support Thumb mode `smull fp,r2,r3,r9'

>  #| {standard input}:773: Error: selected processor does not support Thumb mode `smull fp,r3,r5,r8'

>  #| make[2]: *** [celt/celt.lo] Error 1

> -ARM_INSTRUCTION_SET = "arm"

> +ARM_INSTRUCTION_SET_armv5 = "arm"

>...


This is an optimization, not something that should go into stable.

It also looks buggy, as if it would break the build for armv4t
and some armv6.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Armin Kuster Sept. 3, 2019, 2:41 a.m. UTC | #2
On 8/31/19 11:32 PM, Adrian Bunk wrote:
> On Sat, Aug 31, 2019 at 02:31:35PM -0700, Armin Kuster wrote:

>> From: Khem Raj <raj.khem@gmail.com>

>>

>> This lets newer armv7+ still use thumb2 ISA

>>

>> Signed-off-by: Khem Raj <raj.khem@gmail.com>

>> Signed-off-by: Armin Kuster <akuster808@gmail.com>

>> ---

>>  meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb | 2 +-

>>  1 file changed, 1 insertion(+), 1 deletion(-)

>>

>> diff --git a/meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb b/meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb

>> index fb9bdc7..1512a1d 100644

>> --- a/meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb

>> +++ b/meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb

>> @@ -50,6 +50,6 @@ python () {

>>  #| {standard input}:761: Error: selected processor does not support Thumb mode `smull fp,r2,r3,r9'

>>  #| {standard input}:773: Error: selected processor does not support Thumb mode `smull fp,r3,r5,r8'

>>  #| make[2]: *** [celt/celt.lo] Error 1

>> -ARM_INSTRUCTION_SET = "arm"

>> +ARM_INSTRUCTION_SET_armv5 = "arm"

>> ...

> This is an optimization, not something that should go into stable.

>

> It also looks buggy, as if it would break the build for armv4t

> and some armv6.

removed from list

-armin
>

> cu

> Adrian

>


-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb b/meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb
index fb9bdc7..1512a1d 100644
--- a/meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb
+++ b/meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb
@@ -50,6 +50,6 @@  python () {
 #| {standard input}:761: Error: selected processor does not support Thumb mode `smull fp,r2,r3,r9'
 #| {standard input}:773: Error: selected processor does not support Thumb mode `smull fp,r3,r5,r8'
 #| make[2]: *** [celt/celt.lo] Error 1
-ARM_INSTRUCTION_SET = "arm"
+ARM_INSTRUCTION_SET_armv5 = "arm"
 
 BBCLASSEXTEND = "native nativesdk"