Re: [PATCH 3/3] aarch64: libgcc: Add -Werror support

2024-10-08 Thread Richard Sandiford
Christophe Lyon writes: > When --enable-werror is enabled when running the top-level configure, > it passes --enable-werror-always to subdirs. Some of them, like > libgcc, ignore it. > > This patch adds support for it, enabled only for aarch64, to avoid > breaking bootstrap for other targets. > >

Re: [PATCH v1 4/4] RISC-V: Add testcases for form 1 of scalar signed SAT_TRUNC

2024-10-08 Thread Kito Cheng
LGTM 於 2024年10月8日 週二 16:36 寫道: > From: Pan Li > > Form 1: > #define DEF_SAT_S_TRUNC_FMT_1(WT, NT, NT_MIN, NT_MAX) \ > NT __attribute__((noinline)) \ > sat_s_trunc_##WT##_to_##NT##_fmt_1 (WT x) \ > {

Re: [PATCH v3 1/2] aarch64: Add SVE2 faminmax intrinsics

2024-10-08 Thread Richard Sandiford
Saurabh Jha writes: > Thanks for the review. Wanted to clarify your comment: > > On 10/8/2024 11:51 AM, Richard Sandiford wrote: >> writes: >>> diff --git a/gcc/testsuite/gcc.target/aarch64/sve2/acle/asm/amax_f16.c >>> b/gcc/testsuite/gcc.target/aarch64/sve2/acle/asm/amax_f16.c >>> new file mode

Re: [PATCH v2 2/2] Adjust testcase after relax O2 vectorization.

2024-10-08 Thread Hongtao Liu
On Tue, Oct 8, 2024 at 4:56 PM Richard Biener wrote: > > On Tue, Oct 8, 2024 at 10:36 AM liuhongt wrote: > > > > gcc/testsuite/ChangeLog: > > > > * gcc.dg/fstack-protector-strong.c: Adjust > > scan-assembler-times. > > * gcc.dg/graphite/scop-6.c: Add > > -Wno-aggre

Re: [PATCH 2/3] aarch64: libgcc: add prototypes in cpuinfo

2024-10-08 Thread Richard Sandiford
Christophe Lyon writes: > On Fri, 4 Oct 2024 at 10:00, Kyrylo Tkachov wrote: >> >> >> >> > On 3 Oct 2024, at 21:44, Christophe Lyon >> > wrote: >> > >> > External email: Use caution opening links or attachments >> > >> > >> > Add prototypes for __init_cpu_features_resolver and >> > __init_cpu_f

Re: [PATCH] libgcc: Use inline variable instead of function-local static

2024-10-08 Thread Jonathan Wakely
On Tue, 8 Oct 2024 at 11:11, Jakub Jelinek wrote: > > On Tue, Oct 08, 2024 at 10:57:06AM +0100, Jonathan Wakely wrote: > > Whoops, yes of course. Raising the topic of __cxa_guard_acquire was my > > fault, and doesn't apply here, sorry. > > > > But we still want to get rid of the STB_GNU_UNIQUE bin

Re: [PATCH] libgcc: Use inline variable instead of function-local static

2024-10-08 Thread Jakub Jelinek
On Tue, Oct 08, 2024 at 11:32:16AM +0100, Jonathan Wakely wrote: > But that's because foo() is declared static, which we can't do because > of C++ modules. That was the original problem Nathaniel was fixing. > > If you remove the 'static' from foo() then both z and _ZZ3foovE1v use > @gnu_unique_ob

Re: [PING] [PATCH] i386: Implement Thread Local Storage on Windows

2024-10-08 Thread Eric Botcazou
> Sorry for not being fast enough to rewrite the patch on my end to integrate > your changes (I'm maintaining this patch for both gcc 14 and master at the > same time, which is a little complicated), but I appreciate the help :) How > did you figure out the issue so quickly? By comparing what happ

Re: [PATCH v13 0/4] c: Add __lengthof__ operator

2024-10-08 Thread Joseph Myers
On Tue, 8 Oct 2024, Alejandro Colomar wrote: > On Mon, Oct 07, 2024 at 05:35:16PM GMT, Joseph Myers wrote: > > Patches 1, 2 and 3 are logically nothing to do with this feature. I'll > > wait for them to be reviewed so that we only have a single-patch series, > > before doing final review of the

Re: [PATCH v13 0/4] c: Add __lengthof__ operator

2024-10-08 Thread Joseph Myers
On Tue, 8 Oct 2024, Alejandro Colomar wrote: > How about adding the __lower__ version now as a GNU extension with > compatible semantics, and when it's closer to an ISO C2y release add the > _Upper one? No, we don't need two names. Just _Lengthof suffices. If semantics change in some way durin

Re: [PATCH v13 0/4] c: Add __lengthof__ operator

2024-10-08 Thread Alejandro Colomar
Hi Joseph, On Tue, Oct 08, 2024 at 01:19:06PM GMT, Joseph Myers wrote: > On Tue, 8 Oct 2024, Alejandro Colomar wrote: > > > On Mon, Oct 07, 2024 at 05:35:16PM GMT, Joseph Myers wrote: > > > Patches 1, 2 and 3 are logically nothing to do with this feature. I'll > > > wait for them to be reviewed

[PATCH] Fix memory leak in vect_cse_slp_nodes

2024-10-08 Thread Richard Biener
The following avoids copying scalar stmts again for the re-lookup of the slot to replace the NULL guard with node. Bootstrapped on x86_64-unknown-linux-gnu, testing in progress. Richard. * tree-vect-slp.cc (vect_cse_slp_nodes): Fix memory leak. --- gcc/tree-vect-slp.cc | 2 +- 1 file ch

[PATCH] tree-optimization/116575 - handle SLP of permuted masked loads

2024-10-08 Thread Richard Biener
The following handles SLP discovery of permuted masked loads which was prohibited (because wrongly handled) for PR114375. In particular with single-lane SLP at the moment all masked group loads appear permuted and we fail to use masked load lanes as well. The following addresses parts of the issu

Re: [PATCH] aarch64: Expand CTZ to RBIT + CLZ for SVE [PR109498]

2024-10-08 Thread Richard Sandiford
Soumya AR writes: >> On 1 Oct 2024, at 6:17 PM, Richard Sandiford >> wrote: >> >> External email: Use caution opening links or attachments >> >> >> Soumya AR writes: >>> Currently, we vectorize CTZ for SVE by using the following operation: >>> .CTZ (X) = (PREC - 1) - .CLZ (X & -X) >>> >>> Inste

Re: [PATCH v2 1/2] Enable vectorization for unknown tripcount in very cheap cost model but disable epilog vectorization.

2024-10-08 Thread Richard Sandiford
Richard Biener writes: > On Tue, Oct 8, 2024 at 10:36 AM liuhongt wrote: >> >> >So should we adjust very-cheap to allow niter peeling as proposed or >> >should we switch the default at -O2 to cheap? >> I prefer the former. >> >> Update in V2: >> Adjust testcase after relax O2 vectorization. >> >>

[PATCH v14 0/4] c: Add __countof__ operator

2024-10-08 Thread Alejandro Colomar
Hi! Here's v14 with some changes: A) Rename s/__lengthof__/__countof__/ (rationale(s) below). B) Remove the concept "top-level array" from the docs (rationale below). At the bottom of this email is a range diff comparing to v13. A.1) WG14 had only weak consensus for prefering lengthof over

[PATCH v14 4/4] c: Add __countof__ operator

2024-10-08 Thread Alejandro Colomar
This operator is similar to sizeof but can only be applied to an array, and returns its number of elements. FUTURE DIRECTIONS: - We should make it work with array parameters to functions, and somehow magically return the number of elements of the array, regardless of it being really a poin

[PATCH v14 3/4] Merge definitions of array_type_nelts_top()

2024-10-08 Thread Alejandro Colomar
There were two identical definitions, and none of them are available where they are needed for implementing __nelementsof__. Merge them, and provide the single definition in gcc/tree.{h,cc}, where it's available for __nelementsof__, which will be added in the following commit. gcc/ChangeLog:

[PATCH v14 1/4] contrib/: Add support for Cc: and Link: tags

2024-10-08 Thread Alejandro Colomar
contrib/ChangeLog: * gcc-changelog/git_commit.py (GitCommit): Add support for 'Cc: ' and 'Link: ' tags. Cc: Jason Merrill Signed-off-by: Alejandro Colomar --- contrib/gcc-changelog/git_commit.py | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/contrib/gcc

Re: [PATCH v1 1/3] Match: Support form 3 and form 4 for scalar signed integer SAT_SUB

2024-10-08 Thread Richard Biener
On Tue, Oct 8, 2024 at 3:23 AM wrote: > > From: Pan Li > > This patch would like to support the form 3 and form 4 of the scalar signed > integer SAT_SUB. Aka below example: > > Form 3: > #define DEF_SAT_S_ADD_FMT_3(T, UT, MIN, MAX) \ > T __attribute__((noinline))

Re: [PATCH v2] RISC-V: Optimize branches with shifted immediate operands

2024-10-08 Thread Jeff Law
On 9/29/24 11:30 PM, Jovan Vukic wrote: Based on the feedback I received, the patch now uses a custom code iterator instead of relying on match_operator. Since both operands (2 and 3) have trailing zeros, an additional check was introduced to verify if they remain SMALL_OPERANDs after shiftin

Re: [PATCH 3/3] aarch64: libgcc: Add -Werror support

2024-10-08 Thread Eric Gallager
On Tue, Oct 8, 2024 at 6:25 AM Richard Sandiford wrote: > > Christophe Lyon writes: > > When --enable-werror is enabled when running the top-level configure, > > it passes --enable-werror-always to subdirs. Some of them, like > > libgcc, ignore it. > > > > This patch adds support for it, enabled

Re: [PATCH v1 4/4] aarch64: encapsulate note.gnu.property emission into a class

2024-10-08 Thread Richard Sandiford
Matthieu Longo writes: > gcc/ChangeLog: > > * config.gcc: Add aarch64-dwarf-metadata.o to extra_objs. > * config/aarch64/aarch64-dwarf-metadata.h (class > section_note_gnu_property): > Encapsulate GNU properties code into a class. > * config/aarch64/aarch64.cc > (GNU_PROPERTY_

Re: [PATCH v2] RISC-V: Improve vsetvl vconfig alignment

2024-10-08 Thread Jeff Law
On 10/2/24 6:27 AM, Dusan Stojkovic wrote: This patch is a new version of: https://gcc.gnu.org/pipermail/gcc-patches/2024-September/662745.html > Can you elaborate a bit on that?  Rearranging the CFG shouldn't matter >

[PATCH v2 2/2] Enable LRA for ia64

2024-10-08 Thread Frank Scheiner
This was tested by bootstrapping GCC natively on ia64-t2-linux-gnu and running the testsuite (based on 236116068151bbc72aaaf53d0f223fe06f7e3bac): https://gcc.gnu.org/pipermail/gcc-testresults/2024-June/817268.html For comparison, the same with just 236116068151bbc72aaaf53d0f223fe06f7e3bac: http

[wwwdocs] projects/gomp: Update for TR13; gcc-15/changes.html link to routine doc

2024-10-08 Thread Tobias Burnus
Update and sync with https://gcc.gnu.org/onlinedocs/libgomp/OpenMP-Implementation-Status.html Current page: https://gcc.gnu.org/projects/gomp/ (and https://gcc.gnu.org/gcc-15/changes.html ) Comments before I apply it? (Comments to the libgomp.texi are also welcome.) Thanks, Tobias projects

Re: [PATCH] libcpp, c, middle-end: Optimize initializers using #embed in C

2024-10-08 Thread Joseph Myers
On Thu, 11 Jul 2024, Jakub Jelinek wrote: > With the CPP_NUMBERs around it, I believe in the C FE the only places which > need handling of the CPP_EMBED token are initializer parsing (that is the > only one which adds actual optimizations for it), comma expressions (I > believe nothing really care

Re: [PATCH v2 2/2] Enable LRA for ia64

2024-10-08 Thread Frank Scheiner
On 08.10.24 21:08, Jonathan Wakely wrote: On Tue, 8 Oct 2024 at 20:02, Frank Scheiner wrote: On 08.10.24 20:54, Jonathan Wakely wrote: On Tue, 8 Oct 2024 at 18:43, Frank Scheiner wrote: This was tested by bootstrapping GCC natively on ia64-t2-linux-gnu and running the testsuite (based on

[PATCH v3 1/2] Remove ia64*-*-linux from the list of obsolete targets

2024-10-08 Thread Frank Scheiner
From: René Rebe The following un-deprecates ia64*-*-linux for GCC 15. Since we plan to support this for some years to come. gcc/ * config.gcc: Only list ia64*-*-(hpux|vms|elf) in the list of obsoleted targets. contrib/ * config-list.mk (LIST): no --enable-obsolete fo

Re: [PATCH v13 0/4] c: Add __lengthof__ operator

2024-10-08 Thread Alejandro Colomar
[CC -= Jens] Hi Joseph, On Tue, Oct 08, 2024 at 03:13:19PM GMT, Joseph Myers wrote: > On Tue, 8 Oct 2024, Alejandro Colomar wrote: > > > > I have plenty of concerns with > > > both the wording and incompatibility of various changes suggested there > > > related to what's allowed as a sizeof op

Re: [PATCH v2 2/2] Enable LRA for ia64

2024-10-08 Thread Jonathan Wakely
On Tue, 8 Oct 2024 at 20:02, Frank Scheiner wrote: > > > > On 08.10.24 20:54, Jonathan Wakely wrote: > > On Tue, 8 Oct 2024 at 18:43, Frank Scheiner wrote: > >> > >> This was tested by bootstrapping GCC natively on ia64-t2-linux-gnu and > >> running the testsuite (based on > >> 236116068151bbc72a

[PATCH v3 0/2] ia64: enable LRA and un-obsolete ia64*-*-linux

2024-10-08 Thread Frank Scheiner
With stage 3 of GCC 15 approaching, to save me some time by finally dropping the non-LRA testcase from my cross builds of GCC and Linux and as I had the time, I updated the patch set from René with the requested changes and rebased it to 0ad2c76bea20dbeac753f10df6f9f86d142348d4. Patch 1/2: Remove

[PATCH v3 2/2] Enable LRA for ia64

2024-10-08 Thread Frank Scheiner
From: René Rebe This was tested by bootstrapping GCC natively on ia64-t2-linux-gnu and running the testsuite (based on 236116068151bbc72aaaf53d0f223fe06f7e3bac): https://gcc.gnu.org/pipermail/gcc-testresults/2024-June/817268.html For comparison, the same with just 236116068151bbc72aaaf53d0f22

Re: [PATCH v2] libstdc++: Workaround glibc headers on ia64-linux

2024-10-08 Thread Jonathan Wakely
On Thu, 3 Oct 2024 at 20:59, Frank Scheiner wrote: > > We see: > > ``` > FAIL: 17_intro/names.cc -std=gnu++17 (test for excess errors) > FAIL: 17_intro/names_pstl.cc -std=gnu++17 (test for excess errors) > FAIL: experimental/names.cc -std=gnu++17 (test for excess errors) > ``` > > ...on ia64-lin

Re: [PATCH v2 2/2] Enable LRA for ia64

2024-10-08 Thread Jonathan Wakely
On Tue, 8 Oct 2024 at 18:43, Frank Scheiner wrote: > > This was tested by bootstrapping GCC natively on ia64-t2-linux-gnu and > running the testsuite (based on > 236116068151bbc72aaaf53d0f223fe06f7e3bac): > > https://gcc.gnu.org/pipermail/gcc-testresults/2024-June/817268.html > > For comparison, t

Re: [PATCH v2 2/2] Enable LRA for ia64

2024-10-08 Thread Frank Scheiner
On 08.10.24 20:54, Jonathan Wakely wrote: On Tue, 8 Oct 2024 at 18:43, Frank Scheiner wrote: This was tested by bootstrapping GCC natively on ia64-t2-linux-gnu and running the testsuite (based on 236116068151bbc72aaaf53d0f223fe06f7e3bac): https://gcc.gnu.org/pipermail/gcc-testresults/2024-J

Re: [PATCH v1 1/4] aarch64: add debug comments to feature properties in .note.gnu.property

2024-10-08 Thread Richard Sandiford
Sorry for the slow review. Matthieu Longo writes: > GNU properties are emitted to provide some information about the features > used in the generated code like PAC, BTI, or GCS. However, no debug > comment are emitted in the generated assembly even if -dA is provided. > This makes understanding t

[PATCH v2 0/2] ia64: enable LRA and un-obsolete ia64*-*-linux

2024-10-08 Thread Frank Scheiner
With stage 3 of GCC 15 approaching, to save me some time by finally dropping the non-LRA testcase from my cross builds of GCC and Linux and as I had the time, I updated the patch set from René with the requested changes and rebased it to 0ad2c76bea20dbeac753f10df6f9f86d142348d4. Patch 1/2: Remove

[PATCH v2 1/2] Remove ia64*-*-linux from the list of obsolete targets

2024-10-08 Thread Frank Scheiner
The following un-deprecates ia64*-*-linux for GCC 15. Since we plan to support this for some years to come. contrib/ * config-list.mk (LIST): no --enable-obsolete for ia64-linux. gcc/ * config.gcc: Only list ia64*-*-(hpux|vms|elf) in the list of obsoleted targets. Sign

Re: [PATCH] aarch64: Optimise calls to ldexp with SVE FSCALE instruction

2024-10-08 Thread Richard Sandiford
Tamar Christina writes: >> -Original Message- >> From: Kyrylo Tkachov >> Sent: Thursday, October 3, 2024 4:45 PM >> To: Richard Sandiford >> Cc: Soumya AR ; Tamar Christina >> ; gcc-patches@gcc.gnu.org; Richard Earnshaw >> ; Jennifer Schmitz ; >> Pengxuan Zheng (QUIC) >> Subject: Re: [P

Re: [PING] [PATCH] i386: Implement Thread Local Storage on Windows

2024-10-08 Thread Julian Waters
I also tried using UNSPEC_PCREL instead of making a new UNSPEC_TLS_WIN32 enumeration, but it unfortunately didn't recognise the resulting RTL. Perhaps something for another day On Tue, Oct 8, 2024 at 5:19 PM Eric Botcazou wrote: > > Thanks for the patch! You certainly worked that out faster than

Re: [PATCH v3 1/2] aarch64: Add SVE2 faminmax intrinsics

2024-10-08 Thread Richard Sandiford
writes: > diff --git a/gcc/testsuite/gcc.target/aarch64/sve2/acle/asm/amax_f16.c > b/gcc/testsuite/gcc.target/aarch64/sve2/acle/asm/amax_f16.c > new file mode 100644 > index 000..de4a6f8efaa > --- /dev/null > +++ b/gcc/testsuite/gcc.target/aarch64/sve2/acle/asm/amax_f16.c > @@ -0,0 +1,312

Re: [RFC/RFA] [PATCH v4 01/12] Implement internal functions for efficient CRC computation

2024-10-08 Thread Mariam Arutunian
On Sun, Sep 29, 2024 at 9:08 PM Jeff Law wrote: > > > On 9/13/24 5:05 AM, Mariam Arutunian wrote: > > Add two new internal functions (IFN_CRC, IFN_CRC_REV), to provide faster > > CRC generation. > > One performs bit-forward and the other bit-reversed CRC computation. > > If CRC optabs are support

Re: [PATCH v3 2/2] aarch64: Add codegen support for SVE2 faminmax

2024-10-08 Thread Richard Sandiford
writes: > The AArch64 FEAT_FAMINMAX extension introduces instructions for > computing the floating point absolute maximum and minimum of the > two vectors element-wise. > > This patch adds code generation for famax and famin in terms of existing > unspecs. With this patch: > 1. famax can be expres

[PATCH] tree-optimization/116974 - Handle single-lane SLP for OMP scan store

2024-10-08 Thread Richard Biener
The following massages the GIMPLE matching way of handling scan stores to work with single-lane SLP. I do not fully understand all the cases that can happen and the stmt matching at vectorizable_store time is less than ideal - but the following gets me all the testcases to pass with and without fo

Re: [PATCH 3/3] aarch64: libgcc: Add -Werror support

2024-10-08 Thread Christophe Lyon
On Tue, 8 Oct 2024 at 12:24, Richard Sandiford wrote: > > Christophe Lyon writes: > > When --enable-werror is enabled when running the top-level configure, > > it passes --enable-werror-always to subdirs. Some of them, like > > libgcc, ignore it. > > > > This patch adds support for it, enabled o

Re: [Fortran, Patch, PR51815, v3] Fix parsing of substring refs in coarrays.

2024-10-08 Thread Andre Vehreschild
Hi Harald, I agree that the gfc_match_array_ref() is not needed for error recovery or helps anyhow. I therefore removed it. I left the new error message in, because in the case that c = x(:)(2:5) is in a subroutine, like in pr102532.f90, then I get no error. Neither without return MATCH_ERROR nor

Re: [PATCH v1 1/4] Match: Support form 1 for scalar signed integer SAT_TRUNC

2024-10-08 Thread Richard Biener
On Tue, Oct 8, 2024 at 10:34 AM wrote: > > From: Pan Li > > This patch would like to support the form 1 of the scalar signed > integer SAT_TRUNC. Aka below example: > > Form 1: > #define DEF_SAT_S_TRUNC_FMT_1(NT, WT, NT_MIN, NT_MAX) \ > NT __attribute__((noinline)) \

Re: [PATCH v13 0/4] c: Add __lengthof__ operator

2024-10-08 Thread Jakub Łukasiewicz
Yup :) For example that ~ J.Ł. On 2024-10-08 10:33 CEST, Alejandro Colomar wrote: Hi Jakub, On Tue, Oct 08, 2024 at 10:25:24AM GMT, Jakub Łukasiewicz wrote: > I think it would be beneficial to have different syntax/spelling for > features still in development. That way we, as a committee, can

[PATCH v14 2/4] gcc/: Rename array_type_nelts() => array_type_nelts_minus_one()

2024-10-08 Thread Alejandro Colomar
The old name was misleading. While at it, also rename some temporary variables that are used with this function, for consistency. Link: gcc/ChangeLog: *

Re: [PATCH v2 2/2] Adjust testcase after relax O2 vectorization.

2024-10-08 Thread Richard Biener
On Tue, Oct 8, 2024 at 11:14 AM Hongtao Liu wrote: > > On Tue, Oct 8, 2024 at 4:56 PM Richard Biener > wrote: > > > > On Tue, Oct 8, 2024 at 10:36 AM liuhongt wrote: > > > > > > gcc/testsuite/ChangeLog: > > > > > > * gcc.dg/fstack-protector-strong.c: Adjust > > > scan-assembler-t

Re: [PATCH] libgcc: Use inline variable instead of function-local static

2024-10-08 Thread Jakub Jelinek
On Tue, Oct 08, 2024 at 08:18:56PM +1100, Nathaniel Shead wrote: > On Tue, Oct 01, 2024 at 12:36:21PM +0200, Jakub Jelinek wrote: > > On Tue, Oct 01, 2024 at 11:10:03AM +0100, Jonathan Wakely wrote: > > > Let's use an inline variable. A function-local static requires > > > __cxa_guard_acquire, whic

Re: [PATCH] libgcc: Use inline variable instead of function-local static

2024-10-08 Thread Jakub Jelinek
On Tue, Oct 08, 2024 at 10:57:06AM +0100, Jonathan Wakely wrote: > Whoops, yes of course. Raising the topic of __cxa_guard_acquire was my > fault, and doesn't apply here, sorry. > > But we still want to get rid of the STB_GNU_UNIQUE binding for the > static variables, don't we? I think it is the

RE: [PATCH v1 1/4] Match: Support form 1 for scalar signed integer SAT_TRUNC

2024-10-08 Thread Li, Pan2
Thanks richard for comments. > Use HOST_WIDE_INT_1U instead of 1ull > OK with that change. Got it, will commit it with this change if no surprise from test. Pan -Original Message- From: Richard Biener Sent: Tuesday, October 8, 2024 5:07 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; ta

Re: [PATCH v1 3/4] RISC-V: Implement scalar SAT_TRUNC for signed integer

2024-10-08 Thread Kito Cheng
LGTM 於 2024年10月8日 週二 16:33 寫道: > From: Pan Li > > This patch would like to implement the sstrunc for scalar signed > integer. > > Form 1: > #define DEF_SAT_S_TRUNC_FMT_1(WT, NT, NT_MIN, NT_MAX) \ > NT __attribute__((noinline)) \ > sat_s_trunc_##WT##_to_##NT##_fmt_

Re: [PATCH v13 0/4] c: Add __lengthof__ operator

2024-10-08 Thread Chris Bazley
Joseph wrote: > Length of strings is simply array length of a > sub-array that doesn't include the terminating null character (a case of > the sub-object issue of exactly what object is relevant in what context, > not anything to do with the term "length"). Exactly! This is what eventually persuad

Re: [PATCH v5] gcc, libcpp: Add warning switch for "#pragma once in main file" [PR89808]

2024-10-08 Thread Marek Polacek
On Mon, Oct 07, 2024 at 11:16:20PM +, Ken Matsui wrote: > On Monday, October 7th, 2024 at 4:41 PM, Marek Polacek > wrote: > > > > > > > On Sat, Jun 15, 2024 at 10:30:35PM -0700, Ken Matsui wrote: > > > > > This patch adds a warning switch for "#pragma once in main file". The > > > warning op

Re: Ping: [PATCH] gcc/doc: adjust __builtin_choose_expr() description

2024-10-08 Thread Sandra Loosemore
On 10/8/24 08:12, Jan Beulich wrote: On 19.06.2024 16:01, Jan Beulich wrote: Present wording has misled people to believe the ?: operator would be evaluating all three of the involved expressions. gcc/ * doc/extend.texi: Clarify __builtin_choose_expr() similarity to the ?: oper

Re: Ping: [PATCH] gcc/doc: adjust __builtin_choose_expr() description

2024-10-08 Thread Jan Beulich
On 08.10.2024 17:30, Sandra Loosemore wrote: > On 10/8/24 08:12, Jan Beulich wrote: >> On 19.06.2024 16:01, Jan Beulich wrote: >>> Present wording has misled people to believe the ?: operator would be >>> evaluating all three of the involved expressions. >>> >>> gcc/ >>> >>> * doc/extend.texi:

Re: [PATCH v2] x86/{,V}AES: adjust when to force EVEX encoding

2024-10-08 Thread Jan Beulich
On 08.10.2024 08:54, Hongtao Liu wrote: > On Mon, Sep 30, 2024 at 3:33 PM Jan Beulich wrote: >> >> Commit a79d13a01f8c ("i386: Fix aes/vaes patterns [PR114576]") correctly >> said "..., but we need to emit {evex} prefix in the assembly if AES ISA >> is not enabled". Yet it did so only for the TARG

<    1   2