Re: [PATCH 02/10] [i386] Enable _Float16 type for TARGET_SSE2 and above.

2021-08-01 Thread Hongtao Liu via Gcc-patches
On Fri, Jul 30, 2021 at 5:30 AM Joseph Myers wrote: > > On Thu, 29 Jul 2021, Hongtao Liu via Gcc-patches wrote: > > > > Rather than using FLT_EVAL_METHOD_PROMOTE_TO_FLOAT16 whenever TARGET_SSE2 > > > (i.e. whenever the type is available), it might make more sense to follow > > > AArch64 and use

[RFC] Don't move cold code out of loop by checking bb count

2021-08-01 Thread Xiong Hu Luo via Gcc-patches
There was a patch trying to avoid move cold block out of loop: https://gcc.gnu.org/pipermail/gcc/2014-November/215551.html Richard suggested to "never hoist anything from a bb with lower execution frequency to a bb with higher one in LIM invariantness_dom_walker before_dom_children". This patch

Re: [PATCH 03/10] [i386] libgcc: Enable hfmode soft-sf/df/xf/tf extensions and truncations.

2021-08-01 Thread Hongtao Liu via Gcc-patches
On Fri, Jul 30, 2021 at 4:58 AM Joseph Myers wrote: > > On Tue, 27 Jul 2021, Hongtao Liu via Gcc-patches wrote: > > > modified gcc/emit-rtl.c > > @@ -928,6 +928,10 @@ validate_subreg (machine_mode omode, machine_mode > > imode, > > fix them all. */ > >if (omode == word_mode) > >

[PATCH] Support cond_add/sub/mul/div for vector float/double.

2021-08-01 Thread liuhongt via Gcc-patches
Hi: This patch supports cond_add/sub/mul/div expanders for vector float/double. There're still cond_fma/fms/fnms/fma/max/min/xor/ior/and left which I failed to figure out a testcase to validate them. Also cond_add/sub/mul for vector integer. Bootstrap is ok, survive the regression test

Re: [PATCH] i386: Improve SImode constant - __builtin_clzll for -mno-lzcnt

2021-08-01 Thread Uros Bizjak via Gcc-patches
On Sun, Aug 1, 2021 at 7:12 PM H.J. Lu wrote: > > On Sat, Jul 31, 2021 at 12:53:44PM -0700, H.J. Lu wrote: > > On Fri, Jul 30, 2021 at 6:27 AM Jakub Jelinek via Gcc-patches > > wrote: > > > > > > On Fri, Jul 30, 2021 at 12:27:39PM +0200, Uros Bizjak wrote: > > > > Please put some space here,

[PATCH] Fix ICE when mixing VLAs and statement expressions [PR91038]

2021-08-01 Thread Uecker, Martin
Here is an attempt to fix some old and annoying bugs related to VLAs and statement expressions. In particulary, this seems to fix the issues with variably-modified types which are returned from statement expressions (which works on clang), but there are still bugs remaining related to structs

[PATCH] i386: Improve SImode constant - __builtin_clzll for -mno-lzcnt

2021-08-01 Thread H.J. Lu via Gcc-patches
On Sat, Jul 31, 2021 at 12:53:44PM -0700, H.J. Lu wrote: > On Fri, Jul 30, 2021 at 6:27 AM Jakub Jelinek via Gcc-patches > wrote: > > > > On Fri, Jul 30, 2021 at 12:27:39PM +0200, Uros Bizjak wrote: > > > Please put some space here, e.g.: > > ... > > > Can you just name the relevant insn pattern

PING^2 [C PATCH] qualifiers of pointers to arrays in C2X [PR 98397]

2021-08-01 Thread Uecker, Martin
Am Freitag, den 11.06.2021, 21:25 +0200 schrieb Martin Uecker: > (PING. In case you missed this. Sorry, forgot to CC you.) > > Am Montag, den 24.05.2021, 08:05 +0200 schrieb Martin Uecker: > > Hi Joseph, > > > > I found some time to update this patch. The only real change > > of the patch is the