Re: [PATCH] libgccjit: Add support for machine-dependent builtins

2023-02-11 Thread Andrew Pinski via Gcc-patches
On Sat, Feb 11, 2023 at 4:31 PM Antoni Boucher via Gcc-patches wrote: > > Hi. > This patch adds support for machine-dependent builtins in libgccjit > (bug 108762). > > There are two things I don't like in this patch: > > 1. There are a few functions copied from the C frontend >

Re: [PATCH] libgccjit: Add support for machine-dependent builtins

2023-02-11 Thread Antoni Boucher via Gcc-patches
I forgot to attach the patch. Here it is. On Sat, 2023-02-11 at 19:30 -0500, Antoni Boucher via Jit wrote: > Hi. > This patch adds support for machine-dependent builtins in libgccjit > (bug 108762). > > There are two things I don't like in this patch: > >  1. There are a few functions copied

[PATCH] libgccjit: Add support for machine-dependent builtins

2023-02-11 Thread Antoni Boucher via Gcc-patches
Hi. This patch adds support for machine-dependent builtins in libgccjit (bug 108762). There are two things I don't like in this patch: 1. There are a few functions copied from the C frontend (common_mark_addressable_vec and a few others). 2. Getting a target builtin only works from the second

Re: realpath() patch to fix symlinks resolution for win32

2023-02-11 Thread Gerald Pfeifer
On Sat, 11 Feb 2023, NightStrike wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108350 > I would have expected the PR to have been automatically updated based on > the commit email. Any idea why that didn't happen? Not to change the state > to closed, but to add the commit information as

Re: realpath() patch to fix symlinks resolution for win32

2023-02-11 Thread NightStrike via Gcc-patches
On Sat, Feb 11, 2023 at 3:52 AM Gerald Pfeifer wrote: > > On Sat, 11 Feb 2023, Jonathan Yong via Gcc-patches wrote: > >> could you please close the corresponding BR too?: > >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108350 > > I can't close it, but I put a note that it has been committed. >

New Chinese (simplified) PO file for 'gcc' (version 12.2.0)

2023-02-11 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'gcc' has been submitted by the Chinese (simplified) team of translators. The file is available at: https://translationproject.org/latest/gcc/zh_CN.po (This file,

[PATCH] IBM zSystems: Fix predicate execute_operation

2023-02-11 Thread Stefan Schulze Frielinghaus via Gcc-patches
Use constrain_operands in order to check whether there exists a valid alternative instead of extract_constrain_insn which ICEs in case no alternative is found. Bootstrapped and regtested on IBM zSystems. Ok for mainline? gcc/ChangeLog: * config/s390/predicates.md (execute_operation):

[PATCH] IBM zSystems: Do not propagate scheduler state across basic blocks [PR108102]

2023-02-11 Thread Stefan Schulze Frielinghaus via Gcc-patches
So far we propagate scheduler state across basic blocks within EBBs and reset the state otherwise. In certain circumstances the entry block of an EBB might be empty, i.e., no_real_insns_p is true. In those cases scheduler state is not reset and subsequently wrong state is propagated to following

Re: [PATCH] ipa-cp: Punt for too large offsets [PR108605]

2023-02-11 Thread Richard Biener via Gcc-patches
> Am 11.02.2023 um 10:53 schrieb Jakub Jelinek via Gcc-patches > : > > Hi! > > Seems most of IPA uses unsigned type for byte offsets > ipa-param-manipulation.h: unsigned unit_offset; > ipa-param-manipulation.h: unsigned unit_offset; > ipa-param-manipulation.h: void register_replacement

Re: realpath() patch to fix symlinks resolution for win32

2023-02-11 Thread Jonathan Yong via Gcc-patches
On 2/11/23 08:52, Gerald Pfeifer wrote: On Sat, 11 Feb 2023, Jonathan Yong via Gcc-patches wrote: could you please close the corresponding BR too?: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108350 I can't close it, but I put a note that it has been committed. I closed the report. Gerald

Re: [PATCH] RISC-V: Bugfix for mode tieable of the rvv bool types

2023-02-11 Thread juzhe.zhong
Thanks for contributing this. Hi, Richard. Can you help us with this issue? In RVV, we have vbool8_t (VNx8BImode), vbool16_t (VNx4BImode), vbool32_t (VNx2BImode), vbool64_t (VNx1BImode) Since we are using 1bit-mask which is 1-BOOL occupy 1bit. According to RVV ISA, we adjust these modes as

Re: [PATCH] RISC-V: Bugfix for mode tieable of the rvv bool types

2023-02-11 Thread juzhe.zhong
Thanks for contributing this. Hi, Richard. Can you help us with this issue? In RVV, we have vbool8_t (VNx8BImode), vbool16_t (VNx4BImode), vbool32_t (VNx2BImode), vbool64_t (VNx1BImode) Since we are using 1bit-mask which is 1-BOOL occupy 1bit. According to RVV ISA, we adjust like: VNx8BImode

[pushed] doc: Adjust link to WG14 N965

2023-02-11 Thread Gerald Pfeifer
Pushed. Gerald gcc/ChangeLog: * doc/extend.texi (Other Builtins): Adjust link to WG14 N965. --- gcc/doc/extend.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 5a026c4b48c..1ae68b0f20a 100644 ---

[PATCH] ipa-cp: Punt for too large offsets [PR108605]

2023-02-11 Thread Jakub Jelinek via Gcc-patches
Hi! Seems most of IPA uses unsigned type for byte offsets ipa-param-manipulation.h: unsigned unit_offset; ipa-param-manipulation.h: unsigned unit_offset; ipa-param-manipulation.h: void register_replacement (tree base, unsigned unit_offset, tree replacement); ipa-param-manipulation.h: tree

Re: [aarch64] Use dup and zip1 for interleaving elements in initializing vector

2023-02-11 Thread Prathamesh Kulkarni via Gcc-patches
On Mon, 6 Feb 2023 at 17:43, Richard Sandiford wrote: > > Prathamesh Kulkarni writes: > > On Fri, 3 Feb 2023 at 20:47, Richard Sandiford > > wrote: > >> > >> Prathamesh Kulkarni writes: > >> > On Fri, 3 Feb 2023 at 07:10, Prathamesh Kulkarni > >> > wrote: > >> >> > >> >> On Thu, 2 Feb 2023 at

Re: [PATCH] Introduce -nolibstdc++ option

2023-02-11 Thread Gerald Pfeifer
On Thu, 23 Jun 2022, Alexandre Oliva via Gcc-patches wrote: > Introduce -nostdlib++ option > > Using g++ to link without libstdc++, as in g++.dg/abi/pure-virtual1.C, > is error prone, because there's no way to tell g++ to drop libstdc++ > without also dropping libc and any other libraries that

Re: realpath() patch to fix symlinks resolution for win32

2023-02-11 Thread Gerald Pfeifer
On Sat, 11 Feb 2023, Jonathan Yong via Gcc-patches wrote: >> could you please close the corresponding BR too?: >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108350 > I can't close it, but I put a note that it has been committed. I closed the report. Gerald

[PATCH] RISC-V: Bugfix for mode tieable of the rvv bool types

2023-02-11 Thread incarnation.p.lee--- via Gcc-patches
From: Pan Li Fix the bug for mode tieable of the rvv bool types. The vbool*_t cannot be tied as the actually load/store size is determinated by the vl. The mode size of rvv bool types are also adjusted for the underlying optimization pass. The rvv bool type is

Re: realpath() patch to fix symlinks resolution for win32

2023-02-11 Thread Jonathan Yong via Gcc-patches
On 2/11/23 07:28, i.nix...@autistici.org wrote: Thank you Jonathan! could you please close the corresponding BR too?: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108350 best! I can't close it, but I put a note that it has been committed.

[Patch] builtin-declaration-mismatch-7: fix LLP64 targets

2023-02-11 Thread Jonathan Yong via Gcc-patches
Attached patch OK?From 3ba6812366e837a87c15360e83d1f72ffdd29684 Mon Sep 17 00:00:00 2001 From: Jonathan Yong <10wa...@gmail.com> Date: Sat, 11 Feb 2023 08:30:55 + Subject: [PATCH] builtin-declaration-mismatch-7: fix LLP64 targets gcc/testsuite/ChangeLog: *

[pushed] wwwdocs: readings: Update link to RX610 landing page

2023-02-11 Thread Gerald Pfeifer
Pushed. Gerald --- htdocs/readings.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/readings.html b/htdocs/readings.html index 34ba508c..d3e443ad 100644 --- a/htdocs/readings.html +++ b/htdocs/readings.html @@ -275,7 +275,7 @@ names. rx Manufacturer:

[pushed] libstdc++: Update link to "Worst-case efficient priority queues"

2023-02-11 Thread Gerald Pfeifer
Pushed. Gerald libstdc++-v3/ChangeLog: * doc/xml/manual/policy_data_structures_biblio.xml: Update link to "Worst-case efficient priority queues". * doc/html/manual/policy_data_structures.html: Regenerate. --- libstdc++-v3/doc/html/manual/policy_data_structures.html