Re: [PATCH] Fix non-conforming expander [PR target/95211, PR target/95256]

2020-05-25 Thread Hongtao Liu via Gcc-patches
On Mon, May 25, 2020 at 8:00 PM Uros Bizjak wrote: > > On Mon, May 25, 2020 at 1:56 PM Hongtao Liu wrote: > > > > On Mon, May 25, 2020 at 7:36 PM Richard Biener wrote: > > > > > > On Mon, 25 May 2020, Uros Bizjak wrote: > > > > > > > On Mon, May 25, 2020 at 8:27 AM Richard Biener > > > >

Re: [PATCH] Fix non-conforming expander [PR target/95211, PR target/95256]

2020-05-25 Thread Uros Bizjak via Gcc-patches
On Mon, May 25, 2020 at 1:56 PM Hongtao Liu wrote: > > On Mon, May 25, 2020 at 7:36 PM Richard Biener wrote: > > > > On Mon, 25 May 2020, Uros Bizjak wrote: > > > > > On Mon, May 25, 2020 at 8:27 AM Richard Biener wrote: > > > > > > > > On May 25, 2020 8:12:12 AM GMT+02:00, Uros Bizjak > > >

Re: [PATCH] Fix non-conforming expander [PR target/95211, PR target/95256]

2020-05-25 Thread Hongtao Liu via Gcc-patches
On Mon, May 25, 2020 at 7:36 PM Richard Biener wrote: > > On Mon, 25 May 2020, Uros Bizjak wrote: > > > On Mon, May 25, 2020 at 8:27 AM Richard Biener wrote: > > > > > > On May 25, 2020 8:12:12 AM GMT+02:00, Uros Bizjak > > > wrote: > > > >On Mon, May 25, 2020 at 7:53 AM Hongtao Liu wrote: >

Re: [PATCH] Fix non-conforming expander [PR target/95211, PR target/95256]

2020-05-25 Thread Richard Biener
On Mon, 25 May 2020, Uros Bizjak wrote: > On Mon, May 25, 2020 at 8:27 AM Richard Biener wrote: > > > > On May 25, 2020 8:12:12 AM GMT+02:00, Uros Bizjak wrote: > > >On Mon, May 25, 2020 at 7:53 AM Hongtao Liu wrote: > > > > > >> > We have to introduce a new expander, that will have conforming

Re: [PATCH] Fix non-conforming expander [PR target/95211, PR target/95256]

2020-05-25 Thread Uros Bizjak via Gcc-patches
On Mon, May 25, 2020 at 8:27 AM Richard Biener wrote: > > On May 25, 2020 8:12:12 AM GMT+02:00, Uros Bizjak wrote: > >On Mon, May 25, 2020 at 7:53 AM Hongtao Liu wrote: > > > >> > We have to introduce a new expander, that will have conforming mode > >of > >> > output operand (V2SF) and will

Re: [PATCH] Fix non-conforming expander [PR target/95211, PR target/95256]

2020-05-25 Thread Uros Bizjak via Gcc-patches
On Mon, May 25, 2020 at 8:13 AM Hongtao Liu wrote: > (define_insn "sse_storehps" > [(set (match_operand:V2SF 0 "nonimmediate_operand" "=m,v,v") > (vec_select:V2SF > (match_operand:V4SF 1 "nonimmediate_operand" "v,v,o") > (parallel [(const_int 2) (const_int 3)])))] >

Re: [PATCH] Fix non-conforming expander [PR target/95211, PR target/95256]

2020-05-25 Thread Richard Biener
On May 25, 2020 8:12:12 AM GMT+02:00, Uros Bizjak wrote: >On Mon, May 25, 2020 at 7:53 AM Hongtao Liu wrote: > >> > We have to introduce a new expander, that will have conforming mode >of >> > output operand (V2SF) and will produce RTX that will match >> > *floatv2div2sf2. A paradoxical output

Re: [PATCH] Fix non-conforming expander [PR target/95211, PR target/95256]

2020-05-25 Thread Hongtao Liu via Gcc-patches
On Mon, May 25, 2020 at 1:55 AM Uros Bizjak wrote: > > On Sun, May 24, 2020 at 9:26 AM Hongtao Liu wrote: > > > > On Sat, May 23, 2020 at 6:11 PM Uros Bizjak wrote: > > > > > > On Sat, May 23, 2020 at 9:25 AM Hongtao Liu wrote: > > > > > > > > Hi: > > > > This patch fix non-conforming

Re: [PATCH] Fix non-conforming expander [PR target/95211, PR target/95256]

2020-05-25 Thread Uros Bizjak via Gcc-patches
On Mon, May 25, 2020 at 7:53 AM Hongtao Liu wrote: > > We have to introduce a new expander, that will have conforming mode of > > output operand (V2SF) and will produce RTX that will match > > *floatv2div2sf2. A paradoxical output subreg from > > V2SFmode V4SFmode is needed, generated by

Re: [PATCH] Fix non-conforming expander [PR target/95211, PR target/95256]

2020-05-24 Thread Hongtao Liu via Gcc-patches
On Mon, May 25, 2020 at 1:55 AM Uros Bizjak wrote: > > On Sun, May 24, 2020 at 9:26 AM Hongtao Liu wrote: > > > > On Sat, May 23, 2020 at 6:11 PM Uros Bizjak wrote: > > > > > > On Sat, May 23, 2020 at 9:25 AM Hongtao Liu wrote: > > > > > > > > Hi: > > > > This patch fix non-conforming

Re: [PATCH] Fix non-conforming expander [PR target/95211, PR target/95256]

2020-05-24 Thread Uros Bizjak via Gcc-patches
On Sun, May 24, 2020 at 9:26 AM Hongtao Liu wrote: > > On Sat, May 23, 2020 at 6:11 PM Uros Bizjak wrote: > > > > On Sat, May 23, 2020 at 9:25 AM Hongtao Liu wrote: > > > > > > Hi: > > > This patch fix non-conforming expander for > > >

Re: [PATCH] Fix non-conforming expander [PR target/95211, PR target/95256]

2020-05-24 Thread Hongtao Liu via Gcc-patches
On Sat, May 23, 2020 at 6:11 PM Uros Bizjak wrote: > > On Sat, May 23, 2020 at 9:25 AM Hongtao Liu wrote: > > > > Hi: > > This patch fix non-conforming expander for > > floatv2div2sf2,floatunsv2div2sf2,fix_truncv2sfv2di,fixuns_truncv2sfv2di, > > refer to PR95211, PR95256. > > bootstrap ok,

Re: [PATCH] Fix non-conforming expander [PR target/95211, PR target/95256]

2020-05-23 Thread Uros Bizjak via Gcc-patches
On Sat, May 23, 2020 at 9:25 AM Hongtao Liu wrote: > > Hi: > This patch fix non-conforming expander for > floatv2div2sf2,floatunsv2div2sf2,fix_truncv2sfv2di,fixuns_truncv2sfv2di, > refer to PR95211, PR95256. > bootstrap ok, regression test on i386/x86-64 backend is ok. > > gcc/ChangeLog: >

[PATCH] Fix non-conforming expander [PR target/95211, PR target/95256]

2020-05-23 Thread Hongtao Liu via Gcc-patches
Hi: This patch fix non-conforming expander for floatv2div2sf2,floatunsv2div2sf2,fix_truncv2sfv2di,fixuns_truncv2sfv2di, refer to PR95211, PR95256. bootstrap ok, regression test on i386/x86-64 backend is ok. gcc/ChangeLog: PR target/95211 PR target/95256 * config/i386/sse.md