public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Xi Ruoyao <xry111@xry111.site>
To: Lulu Cheng <chenglulu@loongson.cn>, gcc-patches@gcc.gnu.org
Cc: WANG Xuerui <i@xen0n.name>, Chenghua Xu <xuchenghua@loongson.cn>
Subject: Pushed: [PATCH] LoongArch: Generate bytepick.[wd] for suitable bit operation pattern
Date: Mon, 06 Feb 2023 21:55:37 +0800	[thread overview]
Message-ID: <65dd2fdc0e0d8f4f376970ce4bbe4343aaba9fa7.camel@xry111.site> (raw)
In-Reply-To: <046c8fce-99b8-17aa-e0e2-d3a17430ccc7@loongson.cn>

On Mon, 2023-02-06 at 21:07 +0800, Lulu Cheng wrote:
> 
> 在 2023/2/4 上午1:50, Xi Ruoyao 写道:
> > We can use bytepick.[wd] for
> > 
> >       a << (8 * x) | b >> (8 * (sizeof(a) - x))
> > 
> > while a and b are uint32_t or uint64_t.  This is useful for some cases,
> > for example:
> > https://sourceware.org/pipermail/libc-alpha/2023-February/145203.html
> > 
> > Bootstrapped and regtested on loongarch64-linux-gnu.
> > Ok for trunk (now or GCC 14 stage 1)?
> 
> LGTM!
> 
> I think this change is not big and can be merged into the trunk branch.

Pushed r13-5710.

-- 
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University

      reply	other threads:[~2023-02-06 13:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-03 17:50 Xi Ruoyao
2023-02-06 13:07 ` Lulu Cheng
2023-02-06 13:55   ` Xi Ruoyao [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=65dd2fdc0e0d8f4f376970ce4bbe4343aaba9fa7.camel@xry111.site \
    --to=xry111@xry111.site \
    --cc=chenglulu@loongson.cn \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=i@xen0n.name \
    --cc=xuchenghua@loongson.cn \
    /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).