[Top][All Lists]

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

Re: [Qemu-devel] [PATCH 02/10] compiler.h: add QEMU_CACHELINE + QEMU_ALI

From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH 02/10] compiler.h: add QEMU_CACHELINE + QEMU_ALIGN() + QEMU_CACHELINE_ALIGNED
Date: Tue, 5 Apr 2016 09:31:24 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1

On 04/05/2016 09:23 AM, Lluís Vilanova wrote:
Got it!

   gcc -march=native --help=params -v 2>&1 | grep "param l1-cache-line-size" | 
sed -e 's/.* --param l1-cache-line-size=\([0-9]\+\) .*/\1/'

That will only work on x86, where we can be pretty sure it's 64 anyway.


reply via email to

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