qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] RFC: [PATCH 0/5] Explicitly annotating coroutine_fn fun


From: Charlie Shepherd
Subject: Re: [Qemu-devel] RFC: [PATCH 0/5] Explicitly annotating coroutine_fn functions
Date: Mon, 05 Aug 2013 20:25:50 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]