Re: libgompd: ADD OMPD support and global ICV functions

2022-05-16 Thread Jakub Jelinek via Gcc-patches
On Sun, May 15, 2022 at 04:18:12PM +0200, Mohamed Atef wrote: > Ping > > في الجمعة، ١٣ مايو، ٢٠٢٢ ٩:١٩ م Mohamed Atef > كتب: > > > Hello Jakub, > >I am sorry, but should #ifdef __ELF__ put and separate file and also > > the actual functions (e.g. extern ompd_dll_location_valid (void)) > > I

Re: [PATCH] testsuite: mallign: Handle word size of 1 byte

2022-05-16 Thread Dimitar Dimitrov
On Sun, May 08, 2022 at 10:31:04AM +0300, Dimitar Dimitrov wrote: > This patch fixes a spurious warning for pru-unknown-elf target: > gcc/testsuite/gcc.dg/mallign.c:12:27: warning: ignoring return value of > 'malloc' declared with attribute 'warn_unused_result' [-Wunused-result] > > For 8-bit t

[ping] Re: [RFA] gcc.misc-tests/outputs.exp: Use link test to check for -gsplit-dwarf support

2022-05-16 Thread Joel Brobecker via Gcc-patches
Hello, Gentle ping on this patch. Thank you! On Mon, Apr 25, 2022 at 09:04:51AM -0700, Joel Brobecker wrote: > Hello, > > We have noticed that, when running the GCC testsuite on AArch64 > RTEMS 6, we have about 150 tests failing due to a link failure. > When investigating, we found that all the

[PATCH] libgompd: Add OMPD support and global ICV functions

2022-05-16 Thread Mohamed Atef via Gcc-patches
libgomp/ChangeLog 2022-05-15 Mohamed Atef *config/darwin/plugin-suffix.h (SONAME_SUFFIX): Remove ()s. *config/hpux/plugin-suffix.h (SONAME_SUFFIX): Remove ()s. *config/posix/plugin-suffix.h (SONAME_SUFFIX): Remove ()s. *configure: Regenerate. *Makefile.am (toolexeclib_LTLIBRARIES): Add libgompd.

[committed] analyzer: implement four new warnings for misuses [PR105103]

2022-05-16 Thread David Malcolm via Gcc-patches
This patch adds support to the analyzer for checking usage of , with four new warnings. It adds: (a) a state-machine for tracking "started" and "ended" states on va_list instances, implementing two new warnings: -Wanalyzer-va-list-leak for complaining about missing va_end after a va_start or

[PATCH] c++: set TYPE_CANONICAL for most templated types

2022-05-16 Thread Patrick Palka via Gcc-patches
When processing a class template specialization, lookup_template_class uses structural equality for the specialized type whenever one of its template arguments uses structural equality. This the sensible thing to do in a vacuum, but given that we already effectively deduplicate class specializatio

Re: [committed] wwwdocs: gcc-12: Use HTML id instead of

2022-05-16 Thread Gerald Pfeifer
On Sat, 14 May 2022, Jakub Jelinek wrote: > I often just copy from git diff from a year ago, which has the > disadvantages that issues that are fixed later on keep reappearing. Ah, makes sense. ;-) Any idea how we/I might help avoid or mitigate this? (Even a validator would not catch all, as I ju

[committed] wwwdocs: gcc-13: Use HTML id instead of

2022-05-16 Thread Gerald Pfeifer
The validator would not have caught this - `grep -r` rules. :-) Gerald --- htdocs/gcc-13/changes.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html index f21b546b..a1b64df3 100644 --- a/htdocs/gcc-13/changes.html +++ b

Re: PING#2 Re: [PATCH RFA] attribs: fix typedefs in generic code [PR105492]

2022-05-16 Thread Joseph Myers
On Mon, 16 May 2022, Jason Merrill via Gcc-patches wrote: > Ping. OK. -- Joseph S. Myers jos...@codesourcery.com

Re: [PATCH] gdc 9, 10 and 11 bug fix

2022-05-16 Thread Marc Aurèle La France
On Sun, 15 May 2022, Iain Buclaw wrote: > Excerpts from Marc Aurèle La France's message of Mai 12, 2022 10:29 pm: >> No compiler has any business rejecting files for the sole crime of >> being symlinked to. The following applies, modulo patch fuzz, to the >> 9, 10 and 11 series of compilers. >>

[PATCH v2] rs6000: Prefer assigning the MMA vector operands to altivec registers [PR105556]

2022-05-16 Thread Peter Bergner via Gcc-patches
On 5/10/22 5:35 PM, Segher Boessenkool wrote: > Out of interest, did you try using v,?wa (so just two alternatives, not > four)? Or did you think it wouldresult in measurably worse code? Or > did you decide it is not such bad backend code size explosion after > all :-) So I tried using just "v,

Re: [PATCH] Expand __builtin_memcmp_eq with ptest for OImode.

2022-05-16 Thread Hongtao Liu via Gcc-patches
On Mon, May 16, 2022 at 5:21 PM Uros Bizjak via Gcc-patches wrote: > > On Sat, May 7, 2022 at 7:05 AM liuhongt wrote: > > > > This is adjusted patch only for OImode. > > > > Bootstrapped and regtested on x86_64-pc-linux-gnu{-m32,}. > > Ok for trunk? > > > > gcc/ChangeLog: > > > > PR targe

Re: [PATCH v2] Optimize vpermtiw/b to vpunpcklqdq for certain cases.

2022-05-16 Thread Hongtao Liu via Gcc-patches
I've committed the patch. On Fri, May 13, 2022 at 5:22 PM liuhongt via Gcc-patches wrote: > > Here's updated patch which adds ix86_pre_reload_split () to those 2 > define_insn_and_splits. > > Assembly Optimization like: > - vmovq %xmm0, %xmm2 > - vmovdqa .LC0(%rip), %xmm0 >

[PATCH] [i386] recognize bzhi pattern when there's zero_extendsidi.

2022-05-16 Thread liuhongt via Gcc-patches
backend has 16550(define_insn "*bmi2_bzhi_3_2" 16551 [(set (match_operand:SWI48 0 "register_operand" "=r") 16552(and:SWI48 16553 (plus:SWI48 16554(ashift:SWI48 (const_int 1) 16555 (match_operand:QI 2 "register_operand" "r")) 16556(

[PATCH] [x86_64]: Zhaoxin lujiazui enablement

2022-05-16 Thread mayshao
Hi Uros: This patch fix Zhaoxin CPU vendor ID detection problem and add zhaoxin "lujiazui" processor support. Currently gcc can't recognize Zhaoxin CPU(vendor ID "CentaurHauls" and "Shanghai") if user use -march=native option, which is confusing for users. This patch enabl

Re: [PATCH] [i386] recognize bzhi pattern when there's zero_extendsidi.

2022-05-16 Thread Hongtao Liu via Gcc-patches
On Tue, May 17, 2022 at 11:06 AM liuhongt via Gcc-patches wrote: > > backend has > > 16550(define_insn "*bmi2_bzhi_3_2" > 16551 [(set (match_operand:SWI48 0 "register_operand" "=r") > 16552(and:SWI48 > 16553 (plus:SWI48 > 16554(ashift:SWI48 (const_int 1) > 16555

Re: [PATCH] lto-plugin: add support for feature detection

2022-05-16 Thread Richard Biener via Gcc-patches
On Mon, May 16, 2022 at 5:16 PM Alexander Monakov wrote: > > On Mon, 16 May 2022, Martin Liška wrote: > > > I've implemented first version of the patch, please take a look. > > I'll comment on the patch, feel free to inform me when I should back off > with forcing my opinion in this thread :) I t

Re: [PATCH] [x86_64]: Zhaoxin lujiazui enablement

2022-05-16 Thread Richard Biener via Gcc-patches
On Tue, May 17, 2022 at 5:15 AM mayshao wrote: > > Hi Uros: > This patch fix Zhaoxin CPU vendor ID detection problem and add > zhaoxin "lujiazui" processor support. > Currently gcc can't recognize Zhaoxin CPU(vendor ID "CentaurHauls" > and "Shanghai") if user use -march=native op

<    1   2