From: Andreas Schwab <schwab@linux-m68k.org>
To: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Cc: libc-alpha@sourceware.org
Subject: Re: [PATCH] m68k: Use M68K_SCALE_AVAILABLE on __mpn_lshift and __mpn_rshift
Date: Fri, 18 Aug 2023 21:05:17 +0200 [thread overview]
Message-ID: <87a5uob28i.fsf@igel.home> (raw)
In-Reply-To: <20230818183559.2081164-1-adhemerval.zanella@linaro.org> (Adhemerval Zanella's message of "Fri, 18 Aug 2023 15:35:59 -0300")
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."
prev parent reply other threads:[~2023-08-18 19:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-18 18:35 Adhemerval Zanella
2023-08-18 19:05 ` Andreas Schwab [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a5uob28i.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=adhemerval.zanella@linaro.org \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).