Hi,
On Sat, 27 Feb 2010, Joern Rennecke wrote:
> > >I wonder whether there is a plan to optimize code such as this:
> > >
> > >extern int (const int x);
> > >void () {
> > > (444);
> > > (444);
> > > }
> > >
> > >by not pushing the constant argument twice. It seems safe to
Quoting Andrew Pinski :
Sent from my iPhone
On Feb 27, 2010, at 10:17 AM, "Daniel R. Grayson" wrote:
I wonder whether there is a plan to optimize code such as this:
extern int (const int x);
void () {
(444);
(444);
}
by not pushing the constant argument twice. I
Sent from my iPhone
On Feb 27, 2010, at 10:17 AM, "Daniel R. Grayson"
wrote:
I wonder whether there is a plan to optimize code such as this:
extern int (const int x);
void () {
(444);
(444);
}
by not pushing the constant argument twice. It seems safe to do s
I wonder whether there is a plan to optimize code such as this:
extern int (const int x);
void () {
(444);
(444);
}
by not pushing the constant argument twice. It seems safe to do so,
because the function called will not modify its argument on the stack.
The experi