Re: Do we need to do a loop invariant motion after loop interchange ?

2020-11-12 Thread Jeff Law via Gcc
On 11/23/19 11:26 PM, Bin.Cheng wrote: > On Fri, Nov 22, 2019 at 3:23 PM Bin.Cheng wrote: >> On Fri, Nov 22, 2019 at 3:19 PM Richard Biener >> wrote: >>> On November 22, 2019 6:51:38 AM GMT+01:00, Li Jia He >>> wrote: On 2019/11/21 8:10 PM, Richard Biener wrote: > On Thu, Nov 21

Re: CSE deletes valid REG_EQUAL?

2020-11-12 Thread Jeff Law via Gcc
On 11/12/20 7:02 PM, Xionghu Luo via Gcc wrote: > Hi all, > > In PR51505(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51505), Paolo Bonzini > added the code to delete REG_EQUAL notes in df_remove_dead_eq_notes: > > gcc/df-problems.c: > df_remove_dead_eq_notes (rtx_insn *insn, bitmap live) > { >

Re: Order

2020-11-12 Thread destciqueut--- via Gcc
I've invited you to fill out the following form: Re: Order To fill it out, visit: https://docs.google.com/forms/d/e/1FAIpQLSdvTz-uNrwzYEDRle3NKO8L0HG7h5hasmZNnR2EPGRKB8tXPQ/viewform?vc=0&c=0&w=1&flr=0&usp=mail_form_link I've invited you to fill out a form: Google Forms: Create and analyze surve

CSE deletes valid REG_EQUAL?

2020-11-12 Thread Xionghu Luo via Gcc
Hi all, In PR51505(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51505), Paolo Bonzini added the code to delete REG_EQUAL notes in df_remove_dead_eq_notes: gcc/df-problems.c: df_remove_dead_eq_notes (rtx_insn *insn, bitmap live) { ... case REG_EQUAL: case REG_EQUIV: {

gcc-8-20201112 is now available

2020-11-12 Thread GCC Administrator via Gcc
Snapshot gcc-8-20201112 is now available on https://gcc.gnu.org/pub/gcc/snapshots/8-20201112/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 8 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

Re: Installing a generated header file

2020-11-12 Thread Bill Schmidt via Gcc
On 11/12/20 10:15 AM, Bill Schmidt via Gcc wrote: On 11/12/20 10:06 AM, Marc Glisse wrote: Does the i386 mm_malloc.h file match your scenario? Ah, that looks promising indeed, and perhaps very simple!  Marc, thanks for the pointer! And indeed, with this example it was a two-line change to

Re: Installing a generated header file

2020-11-12 Thread Bill Schmidt via Gcc
On 11/12/20 10:06 AM, Marc Glisse wrote: On Thu, 12 Nov 2020, Bill Schmidt via Gcc wrote: Hi!  I'm working on a project where it's desirable to generate a target-specific header file while building GCC, and install it with the rest of the target-specific headers (i.e., in lib/gcc//11.0.0/incl

Re: Installing a generated header file

2020-11-12 Thread Marc Glisse
On Thu, 12 Nov 2020, Bill Schmidt via Gcc wrote: Hi!  I'm working on a project where it's desirable to generate a target-specific header file while building GCC, and install it with the rest of the target-specific headers (i.e., in lib/gcc//11.0.0/include). Today it appears that only those h

Re: Installing a generated header file

2020-11-12 Thread Bill Schmidt via Gcc
Thanks for the pointer!  I'll have a look at this. Much obliged, Bill On 11/12/20 9:54 AM, Jonathan Wakely wrote: On Thu, 12 Nov 2020 at 15:39, Bill Schmidt via Gcc wrote: Hi! I'm working on a project where it's desirable to generate a target-specific header file while building GCC, and in

Re: Installing a generated header file

2020-11-12 Thread Jonathan Wakely via Gcc
On Thu, 12 Nov 2020 at 15:39, Bill Schmidt via Gcc wrote: > > Hi! I'm working on a project where it's desirable to generate a > target-specific header > file while building GCC, and install it with the rest of the target-specific > headers > (i.e., in lib/gcc//11.0.0/include). Today it appears

Installing a generated header file

2020-11-12 Thread Bill Schmidt via Gcc
Hi!  I'm working on a project where it's desirable to generate a target-specific header file while building GCC, and install it with the rest of the target-specific headers (i.e., in lib/gcc//11.0.0/include). Today it appears that only those headers listed in "extra_headers" in config.gcc will

Re: [libgcc2.c] Implementation of __bswapsi2()

2020-11-12 Thread Michael Matz
Hello, On Thu, 12 Nov 2020, Stefan Kanthak wrote: > Does GCC generate (unoptimised) code there, similar to the following i386 > assembly, using 4 loads, 4 shifts, 2 ands plus 3 ors? Try for yourself. '-m32 -O2 -march=i386' is your friend. Ciao, Michael. Spoiler: it's generating: mov

Re: Using IFUNC with template functions.

2020-11-12 Thread Florian Weimer via Gcc
* Amrita H. S. via Gcc: > I am interested to know if there any other better way to use ifuncs with > template functions. If there is none, is it worth suggesting to the C++ > standards? IFUNC is GNU-specific. It's not supported by all ELF platforms, and not even by all non-glibc Linux targets.

[libgcc2.c] Implementation of __bswapsi2()

2020-11-12 Thread Stefan Kanthak
libgcc2.c defines __bswapsi2() as follows: typedef int SItype __attribute__ ((mode (SI))); SItype __bswapsi2 (SItype u) { return u) & 0xff00) >> 24) | (((u) & 0x00ff) >> 8) | (((u) & 0xff00) << 8) | (((u) & 0x00ff) << 24)); } JFTR: if (u & 0x80) == 0x80, (u & 0xf