Re: Question on lower-subreg.c

2013-01-25 Thread Ian Lance Taylor
On Thu, Jan 24, 2013 at 11:57 PM, Bin.Cheng wrote: > > I read code in lower-subreg.c and found GCC only split some of > multi-word mode instructions, like load from memory into pseudo reg, > etc. The related code is in find_decomposable_subregs. > > So for below example from PR56102: > > double g

Re: Question on lower-subreg.c

2013-01-25 Thread Bin.Cheng
On Fri, Jan 25, 2013 at 3:57 PM, Bin.Cheng wrote: > Hi, > I read code in lower-subreg.c and found GCC only split some of > multi-word mode instructions, like load from memory into pseudo reg, > etc. The related code is in find_decomposable_subregs. > > So for below example from PR56102: > > double

Question on lower-subreg.c

2013-01-24 Thread Bin.Cheng
Hi, I read code in lower-subreg.c and found GCC only split some of multi-word mode instructions, like load from memory into pseudo reg, etc. The related code is in find_decomposable_subregs. So for below example from PR56102: double g = 1.0; double func(int a, double d) { if (a > 0) retur