Re: [Qemu-devel] [PATCH 4/4] target-arm: refactor cp15.c13 register access

2010-01-27 Thread Laurent Desnogues
On Wed, Jan 27, 2010 at 1:49 PM, Riku Voipio wrote: > From: Riku Voipio > > Access the cp15.c13 TLS registers directly with TCG ops instead of with > a slow helper. If the the cp15 read/write was not TLS register access, > fall back to the cp15 helper. > > This makes accessing __thread variables

[Qemu-devel] [PATCH 4/4] target-arm: refactor cp15.c13 register access

2010-01-27 Thread Riku Voipio
From: Riku Voipio Access the cp15.c13 TLS registers directly with TCG ops instead of with a slow helper. If the the cp15 read/write was not TLS register access, fall back to the cp15 helper. This makes accessing __thread variables in linux-user when apps are compiled with -mtp=cp15 possible. leg