Received: from eggs.gnu.org ([2001:4830:134:3::10]:47620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boRMe-0001Tp-B4 for qemu-devel@nongnu.org; Mon, 26 Sep 2016 04:34:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1boRMZ-00060n-Az for qemu-devel@nongnu.org; Mon, 26 Sep 2016 04:34:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boRMZ-00060g-4G for qemu-devel@nongnu.org; Mon, 26 Sep 2016 04:34:11 -0400 References: <1474615909-17069-1-git-send-email-pbonzini@redhat.com> <1474615909-17069-11-git-send-email-pbonzini@redhat.com> <8760pjgjb3.fsf@linaro.org> From: Paolo Bonzini Message-ID: Date: Mon, 26 Sep 2016 10:34:04 +0200 MIME-Version: 1.0 In-Reply-To: <8760pjgjb3.fsf@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 10/16] docs: include formal model for TCG exclusive sections List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Alex_Benn=c3=a9e?= Cc: qemu-devel@nongnu.org, cota@braap.org, sergey.fedorov@linaro.org, serge.fdrv@gmail.com On 26/09/2016 10:24, Alex Benn=C3=A9e wrote: > > + * To verify it: > > + * spin -a docs/event.promela >=20 > wrong docs name >=20 > > + * ./a.out -a >=20 > Which version of spin did you run? I grabbed the latest src release > (http://spinroot.com/spin/Src/src645.tar.gz) and had to manually buil= d > the output: >=20 > ~/src/spin/Src6.4.5/spin -a docs/tcg-exclusive.promela > gcc pan.c > ../a.out Oops, fixed now (-a is needed by the way). Paolo > > + * > > + * Tunable processor macros: N_CPUS, N_EXCLUSIVE, N_CYCLES, USE_MU= TEX, > > + * TEST_EXPENSIVE. > > + */ >=20 > How do you pass these? I tried: >=20 > ~/src/spin/Src6.4.5/spin -a docs/tcg-exclusive.promela -DN_CPUS=3D= 4 > ~/src/spin/Src6.4.5/spin -a docs/tcg-exclusive.promela -DN_CPUS 4 >=20 > without any joy.