[PATCH] m68k: Use M68K_SCALE_AVAILABLE on __mpn_lshift and __mpn_rshift
Andreas Schwab
schwab@linux-m68k.org
Fri Aug 18 19:05:17 GMT 2023
On Aug 18 2023, Adhemerval Zanella wrote:
> diff --git a/sysdeps/m68k/sysdep.h b/sysdeps/m68k/sysdep.h
> index dfc8aebc3a..a1e89b87d5 100644
> --- a/sysdeps/m68k/sysdep.h
> +++ b/sysdeps/m68k/sysdep.h
> @@ -72,3 +72,10 @@
> # endif
>
> #endif /* __ASSEMBLER__ */
> +
> +# if defined __mc68020__ || defined __mc68030__ || defined __mc68040__ \
> + || defined __mc68060__
> +# define M68K_SCALE_AVAILABLE 1
> +# else
> +# define M68K_SCALE_AVAILABLE 0
> +# endif
Since this is only for sources in m68k/m680x0, and only handles classic
m68k, it should be put in sysdeps/m68k/m680x0/sysdep.h
Ok with that change.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
More information about the Libc-alpha
mailing list