Re: [PATCH] x86-64: Remove HAVE_LD_PIE_COPYRELOC

2021-09-04 Thread Fāng-ruì Sòng via Gcc-patches
PING^4 https://gcc.gnu.org/pipermail/gcc-patches/2021-May/570139.html One major design goal of PIE was to avoid copy relocations. The original patch for GCC 5 caused problems for many years. On Wed, Aug 18, 2021 at 11:54 PM Fāng-ruì Sòng wrote: > PING^3 https://gcc.gnu.org/pipermail/gcc-patches

[PATCH] x86: Add non-destructive source to @xorsign3_1

2021-09-04 Thread H.J. Lu via Gcc-patches
Add non-destructive source alternative to @xorsign3_1 for AVX. gcc/ PR target/89984 * config/i386/i386-expand.c (ix86_split_xorsign): Use operands[2]. * config/i386/i386.md (@xorsign3_1): Add non-destructive source alternative for AVX. gcc/testsuite/ PR t

[PATCH] x86: Enable FMA in unsigned SI to SF expanders

2021-09-04 Thread H.J. Lu via Gcc-patches
Enable FMA in scalar/vector unsigned SI to SF expanders. gcc/ PR target/85819 * config/i386/i386-expand.c (ix86_expand_convert_uns_sisf_sse): Enable FMA. (ix86_expand_vector_convert_uns_vsivsf): Likewise. gcc/testsuite/ PR target/85819 * gcc.targe

[PATCH 0/2 v2] jit : Generate debug info for variables

2021-09-04 Thread Petter Tomner via Gcc-patches
Hi, This is a revision of my patch for debug info. The patches are posted as mails to this thread. Make check-jit runs fine on Debian x64. Below is the original mail and under it a rehash of the review comments. Regards, Petter ---

[PATCH 1/2 v2] jit : Generate debug info for variables

2021-09-04 Thread Petter Tomner via Gcc-patches
>From 521349806136bef9096d094f4785f5868854a19d Mon Sep 17 00:00:00 2001 From: Petter Tomner Date: Sat, 4 Sep 2021 23:55:34 +0200 Subject: [PATCH 1/2] libgccjit: Generate debug info for variables Finalize declares via available helpers after location is set. Set TYPE_NAME of primitives and friends

[PATCH 2/2 v2] jit : Generate debug info for variables, testcase

2021-09-04 Thread Petter Tomner via Gcc-patches
>From 87d081f6b4233446f8a45f76dfd674f1e0b6aafe Mon Sep 17 00:00:00 2001 From: Petter Tomner Date: Sun, 5 Sep 2021 00:18:10 +0200 Subject: [PATCH 2/2] libgccjit: Test cases for debug info Assure that debug info is available for a local and global variable and a function with GDB. Signed-off-by:

[PATCH, Fortran] Skip gfortran.dg/PR100914.f90 on targets that don't provide quadmath.h

2021-09-04 Thread Sandra Loosemore
The testcase gfortran.dg/PR100914.f90 that I recently checked in (originally written by José Rui Faustino de Sousa) depends on the header file to obtain a typedef for __complex128. It appears not to be possible to define an equivalent type in a portable way in the testcase itself (see https:

[committed] Improve H8/300 C bit handling

2021-09-04 Thread Jeff Law via Gcc-patches
These are various minor improvements to our C bit setcc handling.   First the mode of the operands being compared can be independent of the mode of the destination.  This allows us to pick up a few more cases. Second, the result of an setcc can feed a negate insn.  Producing -1,0 is actually c