public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Maciej W. Rozycki" <macro@orcam.me.uk>
To: Kito Cheng <kito.cheng@gmail.com>
Cc: "juzhe.zhong@rivai.ai" <juzhe.zhong@rivai.ai>,
	 gcc-patches <gcc-patches@gcc.gnu.org>,
	jeffreyalaw <jeffreyalaw@gmail.com>,
	 "pan2.li" <pan2.li@intel.com>,
	"yanzhang.wang" <yanzhang.wang@intel.com>
Subject: Re: [PATCH v1] RISC-V: Fix one typo for emit_mode_set.
Date: Mon, 24 Jul 2023 22:49:15 +0100 (BST)	[thread overview]
Message-ID: <alpine.DEB.2.21.2307242223170.10240@angie.orcam.me.uk> (raw)
In-Reply-To: <CA+yXCZD7+HxW=uApoSfEj0S+srdd9O7Pnyeawd-sUVkgugppBw@mail.gmail.com>

On Mon, 3 Jul 2023, Kito Cheng via Gcc-patches wrote:

> Lgtm
> 
> 
> juzhe.zhong@rivai.ai <juzhe.zhong@rivai.ai>於 2023年7月3日 週一,19:11寫道:
> 
> > LGTM
> >
> >
> >
> > juzhe.zhong@rivai.ai
> >
> > From: pan2.li
> > Date: 2023-07-03 18:57
> > To: gcc-patches
> > CC: juzhe.zhong; jeffreyalaw; pan2.li; yanzhang.wang; kito.cheng
> > Subject: [PATCH v1] RISC-V: Fix one typo for emit_mode_set.
> > From: Pan Li <pan2.li@intel.com>
> >
> > This patch would like to fix one typo for scaler[should be scalar] in
> > emit_mode_set, as well as minor change for mov emit.

 These should be two separate changes though: one obviously correct for 
the typo fix and the other one for the semantic change.  We have it 
explicitly documented even:

"Don't mix together changes made for different reasons.  Send them 
individually.  Ideally, each change you send should be impossible to 
subdivide into parts that we might want to consider separately, because 
each of its parts gets its motivation from the other parts.  In 
particular, changes to code formatting to conform to coding standards are 
best not mixed with substantive changes, because that makes it difficult 
to see what the real changes are."

cf. <https://gcc.gnu.org/contribute.html#patches>.  There are various 
reasons for this requirement beyond these stated above, e.g. someone may 
want to backport the semantic change only downstream and not the trivial 
fix, or we may want to revert one commit later on for some reason and not 
to have to disentangle it first.

  Maciej

  reply	other threads:[~2023-07-24 21:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-03 10:57 pan2.li
2023-07-03 11:11 ` juzhe.zhong
2023-07-03 13:41   ` Kito Cheng
2023-07-24 21:49     ` Maciej W. Rozycki [this message]
2023-07-24 23:19       ` Li, Pan2

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=alpine.DEB.2.21.2307242223170.10240@angie.orcam.me.uk \
    --to=macro@orcam.me.uk \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jeffreyalaw@gmail.com \
    --cc=juzhe.zhong@rivai.ai \
    --cc=kito.cheng@gmail.com \
    --cc=pan2.li@intel.com \
    --cc=yanzhang.wang@intel.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).