Bill Allombert on Wed, 03 Aug 2022 18:04:23 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Build failure on MIPS R6 (Patch attached)


On Wed, Aug 03, 2022 at 03:54:47PM +0100, Jiaxun Yang wrote:
> 
> 
> > 2022年8月3日 15:49,Bill Allombert <Bill.Allombert@math.u-bordeaux.fr> 写道:
> > 
> > On Wed, Aug 03, 2022 at 10:37:53AM +0100, Jiaxun Yang wrote:
> >> Hi there,
> >> 
> >> Pari build is failing on MIPS Release 6 system because it’s using MULTU instruction which is removed on MIPS R6.
> >> 
> >> We should use MUHU/MULU pair instead.
> >> 
> >> Patch attached for fix.
> > 
> > Thanks for your patch. Do you know on which hardware MIPS R6 run ?
> Hi,
> 
> Thanks for your response, the targeting hardware is MobileEye EyeQ5.

Thanks!

> > Since this is an incompatible ABI, maybe we need to consider them as new kernels
> 
> Hmm, as pari didn’t split 32bit arm into individual revs probably for MIPS it’s
> not worthy to do so as well?

Well, PARI has only one arm32 kernel (src/kernel/arm/). 
ARM systems that do not provide UMULL use the portable C kernel
(src/kernel/none).

Cheers,
Bill