Re: [Open64-devel] Code review request for ebo mul problem

2011-07-25 Thread Sun Chan
looks good to me Sun On Fri, Jul 22, 2011 at 2:30 PM, 朱庆 wrote: > Hi all, > > Can gatekeeper help review this fix? > > The problem is, when compiling a function like: > > long fooBig(long x) { >  return (x * (((long)1) << 63)); > } > > EBO will try to optimize this mul operation, in the function

[Open64-devel] Code review request for ebo mul problem

2011-07-21 Thread 朱庆
Hi all, Can gatekeeper help review this fix? The problem is, when compiling a function like: long fooBig(long x) { return (x * (((long)1) << 63)); } EBO will try to optimize this mul operation, in the function Convert_Imm_Mul. At the beginning of this function, the statement INT64 val = imm_