From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6QSN-0000PS-S1 for qemu-devel@nongnu.org; Mon, 05 Aug 2013 15:28:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V6QSG-0007zX-AN for qemu-devel@nongnu.org; Mon, 05 Aug 2013 15:28:39 -0400 Received: from mail6.webfaction.com ([74.55.86.74]:56553 helo=smtp.webfaction.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6QSG-0007zR-5W for qemu-devel@nongnu.org; Mon, 05 Aug 2013 15:28:32 -0400 Message-ID: <51FFFC3E.8050700@ctshepherd.com> Date: Mon, 05 Aug 2013 20:25:50 +0100 From: Charlie Shepherd MIME-Version: 1.0 References: <1375728247-1306-1-git-send-email-charlie@ctshepherd.com> In-Reply-To: <1375728247-1306-1-git-send-email-charlie@ctshepherd.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] RFC: [PATCH 0/5] Explicitly annotating coroutine_fn functions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Charlie Shepherd Cc: kwolf@redhat.com, pbonzini@redhat.com, gabriel@kerneis.info, qemu-devel@nongnu.org, stefanha@gmail.com On 05/08/2013 19:44, Charlie Shepherd wrote: > In order to compile the tree with CPC: > $ git clone git://github.com/kerneis/cpc.git > $ cd cpc > $ make > $ ./configure > $ make > $ cd .. > $ export CPC=$(pwd)/cpc/bin/cpc > $ cd qemu > $ mkdir -p bin/cpc > $ cd bin/cpc > $ ../../configure --enable-debug --disable-werror --target-list=x86_64-softmmu --cc="$CPC" --extra-cflags="--noMakeStaticGlobal --useLogicalOperators --useCaseRange --save-temps -U__SSE2__ -w -Dcoroutine_fn='__attribute__((__cps__))' --docpsInference --warnall " > $ make Sorry, I should have corrected this to: $ git clone git://github.com/kerneis/cpc.git -b cps-inference $ cd cpc $ make $ ./configure $ make $ cd .. $ export CPC=$(pwd)/cpc/bin/cpc $ cd qemu $ mkdir -p bin/cpc $ cd bin/cpc $ ../../configure --enable-debug --disable-werror --target-list=x86_64-softmmu --cc="$CPC" --extra-cflags="--noMakeStaticGlobal --useLogicalOperators --useCaseRange --save-temps -U__SSE2__ -w -Dcoroutine_fn='__attribute__((__cps__))' --docpsInference --dont-cpc --warnall " $ make This will use the cps-inference branch, which will provide more information about the annotation graph, and using the --dont-cpc option will disable the CPS translation. Charlie