[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] mips: Fix can_sign_extend_short_p()
From: |
Paul Cercueil |
Subject: |
Re: [PATCH] mips: Fix can_sign_extend_short_p() |
Date: |
Sun, 13 Aug 2023 11:31:35 +0200 |
Hi Paulo,
Can you maybe release 2.2.3, with the recent fixes?
So that I can update the Buildroot package and hopefully fix the build
errors there.
Cheers,
-Paul
Le jeudi 10 août 2023 à 12:58 -0300, Paulo César Pereira de Andrade a
écrit :
> Em qui., 10 de ago. de 2023 às 11:46, Paul Cercueil
> <paul@crapouillou.net> escreveu:
> >
> > The boundaries were wrong.
>
> Thanks. That was clearly a typo.
>
> > Signed-off-by: Paul Cercueil <paul@crapouillou.net>
> > ---
> > lib/jit_mips-cpu.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/lib/jit_mips-cpu.c b/lib/jit_mips-cpu.c
> > index 5bdd39f..7a3b600 100644
> > --- a/lib/jit_mips-cpu.c
> > +++ b/lib/jit_mips-cpu.c
> > @@ -124,7 +124,7 @@ typedef union {
> > # define can_relative_jump_p(im) ((im) >= -130712 && (im) <=
> > 131068)
> > /* can_compact_jump_p(im) => can_sign_extend_i26_p(im << 2) */
> > # define can_compact_jump_p(im) ((im) >= -268435456 && (im)
> > <= 268435452)
> > -# define can_sign_extend_short_p(im) ((im) >= -32678 && (im) <=
> > 32767)
> > +# define can_sign_extend_short_p(im) ((im) >= -32768 && (im) <=
> > 32767)
> > # define can_zero_extend_short_p(im) ((im) >= 0 && (im) <=
> > 65535)
> > # define can_sign_extend_i18_p(im) ((im) >= -262144 && (im) <=
> > 262143)
> > # define can_sign_extend_i19_p(im) ((im) >= -524288 && (im) <=
> > 524287)
> > --
> > 2.40.1
> >