qemu-e2k/target-arm
Riku Voipio 3f26c1227e target-arm: refactor cp15.c13 register access
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. legal cp15 register to acces from linux-user are
already checked in cp15_user_ok.

While at it, make the cp15.c13 Thread ID registers available only on
ARMv6K and newer.

Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
2010-02-06 17:19:43 +01:00
..
cpu.h ARM atomic ops rewrite 2009-11-22 21:35:13 +00:00
exec.h kill regs_to_env and env_to_regs 2010-01-19 16:31:02 -06:00
helper.c target-arm: refactor cp15.c13 register access 2010-02-06 17:19:43 +01:00
helpers.h ARM atomic ops rewrite 2009-11-22 21:35:13 +00:00
iwmmxt_helper.c Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
machine.c Save/restore ARMv6 MMU state 2009-07-31 13:19:39 +01:00
neon_helper.c target-arm: fix neon shift helper functions 2009-10-27 09:46:26 +01:00
op_addsub.h TCG variable type checking. 2008-11-17 14:43:54 +00:00
op_helper.c target-arm: use native tcg-ops for ror/bic/vorn 2009-10-27 09:46:27 +01:00
translate.c target-arm: refactor cp15.c13 register access 2010-02-06 17:19:43 +01:00