From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: [PATCH 4 of 8] xenalyze: Enable -O2 optimization level Date: Thu, 26 Jan 2012 17:21:01 +0000 Message-ID: <0663e3e8f69d4af558eb.1327598461@elijah> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: george.dunlap@eu.citrix.com List-Id: xen-devel@lists.xenproject.org -O3 is marginally better, but the automatic inlining obscures where the guest is spending its time. Signed-off-by: George Dunlap diff -r 6772e9e46ab2 -r 0663e3e8f69d Makefile --- a/Makefile Thu Jan 26 17:16:35 2012 +0000 +++ b/Makefile Thu Jan 26 17:16:59 2012 +0000 @@ -1,6 +1,6 @@ CC = gcc -CFLAGS += -g +CFLAGS += -g -O2 CFLAGS += -fno-strict-aliasing CFLAGS += -std=gnu99 CFLAGS += -Wall -Wstrict-prototypes