Looks like there is a bug.
Smull with the scalar operand as the last operand only supports the first SIMD 
16 registers (0-15).
Without a testcase it is hard to say if it is a bug in the opencv or that 
compiler.

NOTE GCC 4.8.5 is not really supported upstream either.  I know RedHat supports 
this version of the compiler for RHEL 7; maybe you could get them to get a fix 
for you.

Thanks,
Andrew

-----Original Message-----
From: linaro-toolchain [mailto:linaro-toolchain-boun...@lists.linaro.org] On 
Behalf Of xinliang
Sent: Monday, January 21, 2019 6:31 PM
To: Christophe Lyon <christophe.l...@linaro.org>
Cc: tiantao (H) <tiant...@huawei.com>; yeguanhua <yeguan...@huawei.com>; 
sam.yan...@huawei.com; Linaro Toolchain <linaro-toolchain@lists.linaro.org>; 
Martin Stadtler <martin.stadt...@linaro.org>
Subject: [EXT] Re: Any 4.8.5 cross compile toolchain?

External Email

----------------------------------------------------------------------


On 2019/1/10 20:05, Christophe Lyon wrote:
> On Thu, 10 Jan 2019 at 08:01, xinliang <z.liuxinli...@hisilicon.com> wrote:
>>
>>
>> On 2019/1/9 17:23, Christophe Lyon wrote:
>>> On Wed, 9 Jan 2019 at 10:18, xinliang <z.liuxinli...@hisilicon.com> wrote:
>>>> Hi Martin and Linaro-toolchain team, We want to use 4.8.5 cross 
>>>> compile toolchain to build ko.
>>>> But we can't find such version on the release site[1].
>>>> Is there a 4.8.5 cross compile toolchain?
>>>>
>>>>
>>> Hi Xinliang,
>>>
>>> Not anymore... as you can see on the release site, our last 4.9 
>>> toolchain was released 2 years ago. At present, only gcc-7 and 8 are 
>>> maintained,
>>> gcc-6 last release from the FSF was made a few months ago, and our 
>>> last gcc-linaro-6 release should be out within a few days.
>>>
>>> It you really want to do some archaeology, maybe such old releases 
>>> are available on the old launchpad site?
>> Ok, thanks for replying us. You mean this site[2]? We also find 4.8 
>> from linaro archive site[3].
>> The reason why we want to use 4.8.5 cross compiler to build ko is 
>> that we run things in CentOS 7.6  which got an old 4.8.5 gcc.
>> If we use a new cross compiler such as gcc 7, the built ko will be 
>> unusable. And the used by count is a very large number.
>>
>> [2] https://launchpad.net/linaro-toolchain-binaries/+download
>> [3]
>> https://releases.linaro.org/archive/15.06/components/toolchain/binari
>> es/4.8/

Christophe, we use this 4.8.5 cross compiler to build opencv howerver it got 
error:
/tmp/ccDYJmrw.s:65: Error: register number out of range 0 to 15 at operand 3 -- 
`smull v2.4s,v0.4h,v21.h[0]'
/tmp/ccDYJmrw.s:72: Error: register number out of range 0 to 15 at operand 3 -- 
`smull v3.4s,v1.4h,v21.h[0]'

Does this 4.8.5 gcc support neon?




> Indeed [3] should be OK.
>
>>> Christophe
>>>
>>>> [1] https://releases.linaro.org/components/toolchain/gcc-linaro/
>>>> Best,
>>>> Xinliang
>>>>
>>>> _______________________________________________
>>>> linaro-toolchain mailing list
>>>> linaro-toolchain@lists.linaro.org
>>>> https://lists.linaro.org/mailman/listinfo/linaro-toolchain
>>> .
>>>
>>
> .
>


_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain
_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to