Re: [PATCH] x86: Provide expanders for truncdisi2 and friends.

2020-07-17 Thread Richard Biener via Gcc-patches
ginal Message----- > From: Richard Biener > Sent: 14 July 2020 15:17 > To: Roger Sayle > Cc: GCC Patches > Subject: Re: [PATCH] x86: Provide expanders for truncdisi2 and friends. > > On Mon, Jul 13, 2020 at 4:50 PM Roger Sayle > wrote: > > > It seems to be impr

RE: [PATCH] x86: Provide expanders for truncdisi2 and friends.

2020-07-16 Thread Roger Sayle
ODES_P instead of calling targetm.truly_noop_truncation directly. Ok for mainline? Thanks again, Roger -- -Original Message- From: Richard Biener Sent: 14 July 2020 15:17 To: Roger Sayle Cc: GCC Patches Subject: Re: [PATCH] x86: Provide expanders for truncdisi2 and friends. On Mon, Jul 13, 20

Re: [PATCH] x86: Provide expanders for truncdisi2 and friends.

2020-07-14 Thread Richard Biener via Gcc-patches
On Mon, Jul 13, 2020 at 4:50 PM Roger Sayle wrote: > > > Hi Richard, > > > It seems to be improving TARGET_TRULY_NOOP_TRUNCATION documentation might > > be useful here. > > This is an excellent suggestion. How about the following/attached: > > 2020-07-13 Roger Sayle > > gcc/ChangeLog: >

RE: [PATCH] x86: Provide expanders for truncdisi2 and friends.

2020-07-13 Thread Roger Sayle
Hi Richard, > It seems to be improving TARGET_TRULY_NOOP_TRUNCATION documentation might be > useful here. This is an excellent suggestion. How about the following/attached: 2020-07-13 Roger Sayle gcc/ChangeLog: * doc/tm.texi (TARGET_TRULY_NOOP_TRUNCATION): Clarify that targets

Re: [PATCH] x86: Provide expanders for truncdisi2 and friends.

2020-07-12 Thread Richard Biener via Gcc-patches
On Sun, Jul 12, 2020 at 1:29 AM Roger Sayle wrote: > > > Even by my standards, this is an odd patch. This adds expanders to > i386.md requesting that integer truncations be represented in RTL > using SUBREGs. This exactly matches the (current) default behaviour > when TARGET_TRULY_NOOP_TRUNCATIO

RE: [PATCH] x86: Provide expanders for truncdisi2 and friends.

2020-07-11 Thread Roger Sayle
Doh! With the attachment. -Original Message- From: Roger Sayle Sent: 12 July 2020 00:29 To: 'gcc-patches@gcc.gnu.org' Subject: [PATCH] x86: Provide expanders for truncdisi2 and friends. Even by my standards, this is an odd patch. This adds expanders to i386.md requesting that integ