Re: [wide-int] int_traits

2013-10-19 Thread Richard Biener
Richard Sandiford wrote: >Kenneth Zadeck writes: >> I am a little confused here.what is the reason for doing the the >> is_sign_extended thing? >> is the point of deferring the canonization that we can avoid the use >of >> the scratch array until the value is actually used. then we >> ca

Re: [wide-int] int_traits

2013-10-18 Thread Richard Sandiford
Kenneth Zadeck writes: > I am a little confused here.what is the reason for doing the the > is_sign_extended thing? > is the point of deferring the canonization that we can avoid the use of > the scratch array until the value is actually used. then we > canonicalize on demand? The idea i

Re: [wide-int] int_traits

2013-10-18 Thread Richard Biener
Kenneth Zadeck wrote: >I am a little confused here.what is the reason for doing the the >is_sign_extended thing? >is the point of deferring the canonization that we can avoid the use of > >the scratch array until the value is actually used. then we >canonicalize on demand? Yes. >That see

Re: [wide-int] int_traits

2013-10-18 Thread Kenneth Zadeck
I am a little confused here.what is the reason for doing the the is_sign_extended thing? is the point of deferring the canonization that we can avoid the use of the scratch array until the value is actually used. then we canonicalize on demand? That seems like it is going to require seve