Re: [RFC][PATCH 3/N] lto-plugin: Port to C++

2022-01-09 Thread Richard Biener via Gcc-patches
On Wed, Jan 5, 2022 at 2:28 PM Martin Liška wrote: > > Hello. > > I'm working on some changes that will be needed for support of ld.mold. > And I would like to have the plugin in C++. Having that, we can utilize basic > contains like std::vector (instead of xrealloc(foo, len + 1)...). > > I split

RE: [PATCH] [i386] Remove register restriction on operands for andnot insn

2022-01-09 Thread Jiang, Haochen via Gcc-patches
Hi Hongtao, I have changed that message in this patch. Ok for trunk? Thx, Haochen -Original Message- From: Hongtao Liu Sent: Monday, January 10, 2022 3:25 PM To: Jiang, Haochen Cc: GCC Patches ; Liu, Hongtao Subject: Re: [PATCH] [i386] Remove register restriction on operands for

Re: [PATCH] [i386] Remove register restriction on operands for andnot insn

2022-01-09 Thread Hongtao Liu via Gcc-patches
On Mon, Jan 10, 2022 at 2:23 PM Haochen Jiang via Gcc-patches wrote: > > Hi all, > > This patch removes the register restriction on operands for andnot insn so > that it can be used from memory. > > Regtested on x86_64-pc-linux-gnu. Ok for trunk? > > BRs, > Haochen > > gcc/ChangeLog: > >

[PATCH] [i386] Remove register restriction on operands for andnot insn

2022-01-09 Thread Haochen Jiang via Gcc-patches
Hi all, This patch removes the register restriction on operands for andnot insn so that it can be used from memory. Regtested on x86_64-pc-linux-gnu. Ok for trunk? BRs, Haochen gcc/ChangeLog: PR target/53652 * config/i386/sse.md (*andnot3): Remove register restriction.

Ping: [PATCH] rs6000: powerpc suboptimal boolean test of contiguous bits [PR102239]

2022-01-09 Thread Xionghu Luo via Gcc-patches
Ping, thanks. On 2021/12/13 13:16, Xionghu Luo wrote: > Add specialized version to combine two instructions from > > 9: {r123:CC=cmp(r124:DI&0x6,0);clobber scratch;} >REG_DEAD r124:DI > 10: pc={(r123:CC==0)?L15:pc} > REG_DEAD r123:CC > > to: > > 10:

Ping: [PATCH] rs6000: Add split pattern to replace

2022-01-09 Thread Xionghu Luo via Gcc-patches
Gentle ping, thanks. On 2021/12/29 09:27, Xionghu Luo wrote: > 7: r120:V4SI=const_vector > 8: r121:V4SI=unspec[r120:V4SI,r120:V4SI,0xc] 260 > > with r121:v4SI = r120:V4SI when r120 is a vector with same element. > > Bootstrapped and regtested pass on powerpc64le-linux-gnu {P10, P9} > and

Ping^1 [PATCH] Modify combine pattern by a pseudo AND with its nonzero bits [PR93453]

2022-01-09 Thread HAO CHEN GUI via Gcc-patches
Hi, Gentle ping this: https://gcc.gnu.org/pipermail/gcc-patches/2021-December/586304.html Thanks On 7/12/2021 下午 4:28, HAO CHEN GUI wrote: > Hi, > This patch modifies the combine pattern with a helper - > change_pseudo_and_mask when recog fails. > The helper converts a single

Ping^1 [PATCH, rs6000] new split pattern for TI to V1TI move [PR103124]

2022-01-09 Thread HAO CHEN GUI via Gcc-patches
Hi, Gentle ping this: https://gcc.gnu.org/pipermail/gcc-patches/2021-December/587051.html Thanks On 17/12/2021 上午 9:55, HAO CHEN GUI wrote: > Hi, >This patch defines a new split pattern for TI to V1TI move. The pattern > concatenates two subreg:DI of > a TI to a V2DI. With the

Ping^1 [PATCH, rs6000] Fix ICE on expand bcd__ [PR100736]

2022-01-09 Thread HAO CHEN GUI via Gcc-patches
Hi, Gentle ping this: https://gcc.gnu.org/pipermail/gcc-patches/2021-December/587253.html Thanks On 21/12/2021 下午 4:19, HAO CHEN GUI wrote: > Hi, > This patch fixes the ICE in PR100736. It adds a reverse condition > comparison when the > condition code can be reversed and

PING^2: [PATCH] Add --enable-first-stage-cross configure option

2022-01-09 Thread Serge Belyshev
Ping: [PATCH] Add --enable-first-stage-cross configure option https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575318.html Add --enable-first-stage-cross configure option Build static-only, C-only compiler that is sufficient to cross compile glibc. This option disables various runtime

Re: [PATCH] PR fortran/103777 - ICE in gfc_simplify_maskl, at fortran/simplify.c:4918

2022-01-09 Thread Harald Anlauf via Gcc-patches
Am 09.01.22 um 21:12 schrieb Mikael Morin: Le 06/01/2022 à 22:44, Mikael Morin a écrit : Le 06/01/2022 à 20:50, Harald Anlauf a écrit : Did you find the time to try your version? Not yet. But I have not (yet) forgotten about this. I have looked at it, and it enables infinite mutual

Re: [PATCH] PR fortran/101762 - ICE on non-constant pointer initialization targets

2022-01-09 Thread Harald Anlauf via Gcc-patches
Hi Mikael, Am 09.01.22 um 20:28 schrieb Mikael Morin: Le 03/01/2022 à 20:45, Harald Anlauf via Fortran a écrit : Dear all, the initial-data-target for a pointer initialization can be either NULL() or a non-constant target.  In the latter case subscripts of the target specification (or

Re: [PATCH] PR fortran/103777 - ICE in gfc_simplify_maskl, at fortran/simplify.c:4918

2022-01-09 Thread Mikael Morin
Le 06/01/2022 à 22:44, Mikael Morin a écrit : Le 06/01/2022 à 20:50, Harald Anlauf a écrit : Did you find the time to try your version? Not yet. But I have not (yet) forgotten about this. I have looked at it, and it enables infinite mutual recursion between gfc_intrinsic_func_interface and

Re: [PATCH] Fortran: make IEEE_CLASS recognize signaling NaNs

2022-01-09 Thread Mikael Morin
Le 09/01/2022 à 11:52, FX via Fortran a écrit : ping Le 2 janv. 2022 à 11:50, FX a écrit : Hi, This is the first part of a three-patch series to fix PR 82207 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82207), making gfortran handle signaling NaNs. This part fixes the library code

Re: [PATCH] PR fortran/101762 - ICE on non-constant pointer initialization targets

2022-01-09 Thread Mikael Morin
Le 03/01/2022 à 20:45, Harald Anlauf via Fortran a écrit : Dear all, the initial-data-target for a pointer initialization can be either NULL() or a non-constant target. In the latter case subscripts of the target specification (or substring starting and ending points) must be constant

Re: [PATCH] Fortran: Ignore KIND argument of a few more intrinsics. [PR103789]

2022-01-09 Thread Mikael Morin
Le 09/01/2022 à 15:10, Mikael Morin a écrit : pulling the latest master brought me a broken bootstrap It was a user error (of course). Bootstrap and regression test and commit pending. Now tested and committed as r12-6386-gc1c17a43e172ebc28f2cd247f6e83c5fdbc6219f

[power-ieee128, patch, committed] Implement CONVERT specifier

2022-01-09 Thread Thomas Koenig via Gcc-patches
Hi, I just pushed the attached patch to the branch. It works with the attached test case for -mabi=ibmlongdouble and -mabi=ieeelongdouble. The test case is not quite ready for inclusion in the test suite; it still leaves its last data files behind, and it needs to be dejagnuified and put with

[PATCH] Fortran: Ignore KIND argument of a few more intrinsics. [PR103789]

2022-01-09 Thread Mikael Morin
Hello, I was about to commit the attached patch, but pulling the latest master brought me a broken bootstrap, so I can’t test it fully right now. Anyway, it should be non-controversial, and Harald OK'ed a variant in the PR already. Bootstrap and regression test and commit pending. MikaelFrom

Re: [PATCH] Fortran: make IEEE_CLASS recognize signaling NaNs

2022-01-09 Thread FX via Gcc-patches
ping > Le 2 janv. 2022 à 11:50, FX a écrit : > > Hi, > > This is the first part of a three-patch series to fix PR 82207 > (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82207), making gfortran handle > signaling NaNs. This part fixes the library code implementing IEEE_CLASS, by > using the