From: Segher Boessenkool <segher@kernel.crashing.org>
To: will schmidt <will_schmidt@vnet.ibm.com>
Cc: "Kewen.Lin" <linkw@linux.ibm.com>,
GCC Patches <gcc-patches@gcc.gnu.org>,
David Edelsohn <dje.gcc@gmail.com>
Subject: Re: [PATCH, rs6000] Clean up the option_mask defines (part 1)
Date: Thu, 26 May 2022 13:31:14 -0500 [thread overview]
Message-ID: <20220526183114.GS25951@gate.crashing.org> (raw)
In-Reply-To: <181d8cba8c512a428a74ad63857b37ec3c96dd4d.camel@vnet.ibm.com>
On Thu, May 26, 2022 at 09:40:18AM -0500, will schmidt wrote:
> On Thu, 2022-05-26 at 05:47 -0500, Segher Boessenkool wrote:
> > Yeah, the longer names are a bit annoying in any case. We'll get
> > used
> > to it (if those long lines are fixed ;-) )
>
> Agree. I would not be opposed to somewhat shorter names for these, but
> naming is hard, and the long names are existing and sufficient for the
> moment.
The longer name is there no matter what we do... uphill battle, I'd
rather not fight another one :-)
> > But, are those builtin masks still used at all? Can't we just use
> > the
> > option masks where they still are? The builtins do not use them
> > anymore :-)
>
> They are still referenced in rs6000_builtin_mask_calculate() function,
> which is used to assign a value to rs6000_builtin_mask, which is still
> in use.
But we can easily use the OPTION_MASK things directly there.
> I had not yet dug deeper there, but agree it appears that is
> only used to print the current options, so could probably be safely
> eliminated.
And/or that, yes.
> I'll dig a bit more, but would handle that in a separate
> patch.
Can you please make a new patch series that just does everything? This
is so much easier to handle for everyone, even you yourself :-)
First some small preparatory patches; then the long *boring* patches
that are the meat of the matter, but are completely mechanical
(formatting notwithstanding), so are easy to review; and then some more
small patches to do final cleanup.
So each patch will be easy to write, write a commit message for, write a
changelog for, and easy to review as well. Long patches are no problem
at all if they are completely boring!
Segher
next prev parent reply other threads:[~2022-05-26 18:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-25 20:25 will schmidt
2022-05-25 20:29 ` [PATCH, rs6000] Clean up the option_mask defines (part 2) will schmidt
2022-05-25 20:30 ` [PATCH, rs6000] Clean up the option_mask defines (part 3) will schmidt
2022-05-26 6:12 ` [PATCH, rs6000] Clean up the option_mask defines (part 1) Kewen.Lin
2022-05-26 7:01 ` Kewen.Lin
2022-05-26 10:47 ` Segher Boessenkool
2022-05-26 14:40 ` will schmidt
2022-05-26 18:31 ` Segher Boessenkool [this message]
2022-05-26 19:38 ` will schmidt
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=20220526183114.GS25951@gate.crashing.org \
--to=segher@kernel.crashing.org \
--cc=dje.gcc@gmail.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=linkw@linux.ibm.com \
--cc=will_schmidt@vnet.ibm.com \
/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).