Re: Efficient x86 and x86_64 NOP microbenchmarks

From: Steven Rostedt
Date: Wed Aug 13 2008 - 16:22:54 EST


Andi Kleen wrote:
On Wed, Aug 13, 2008 at 04:00:37PM -0400, Steven Rostedt wrote:
Now the numbers have shown that just by not using frame pointer (
-pg right now implies frame pointer) you can get more benefit than what you lose from using non optimal nops.
No, I can easily make a patch that does not use frame pointers but still

Not without patching gcc. Try it. The patch is not very difficult and i did
it here, but it needs a patch.

OK, I admit you are right ;-)

I got the error message:

gcc: -pg and -fomit-frame-pointer are incompatible

-- Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/