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 <xry...@xry111.site> School of Aerospace Science and Technology, Xidian University