qemu/target-i386
Andreas Färber 6e42be7cd1 cpu: Drop unnecessary dynamic casts in *_env_get_cpu()
A transition from CPUFooState to FooCPU can be considered safe,
just like FooCPU::env access in the opposite direction.
The only benefit of the FOO_CPU() casts would be protection against
bogus CPUFooState pointers, but then surrounding code would likely
break, too.

This should slightly improve interrupt etc. performance when going from
CPUFooState to FooCPU.
For any additional CPU() casts see 3556c233d9
(qom: allow turning cast debugging off).

Reported-by: Anthony Liguori <aliguori@us.ibm.com>
Acked-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2013-07-09 21:20:28 +02:00
..
Makefile.objs
TODO
arch_dump.c cpu: Move cpu_write_elfXX_note() functions to CPUState 2013-05-01 13:04:19 +02:00
arch_memory_mapping.c cpu: Turn cpu_get_memory_mapping() into a CPUState hook 2013-06-11 18:03:35 +02:00
cc_helper.c target-i386/helper: remove DF macro 2013-06-15 17:50:21 +00:00
cc_helper_template.h
cpu-qom.h cpu: Drop unnecessary dynamic casts in *_env_get_cpu() 2013-07-09 21:20:28 +02:00
cpu.c cpu: Change qemu_init_vcpu() argument to CPUState 2013-06-28 13:25:13 +02:00
cpu.h linux-user: Move cpu_clone_regs() and cpu_set_tls() into linux-user 2013-07-09 21:20:28 +02:00
excp_helper.c target-i386/helper: remove EIP macro 2013-06-15 17:50:13 +00:00
fpu_helper.c target-i386: add AES-NI instructions 2013-04-13 13:51:57 +02:00
helper.c cpu: Turn cpu_dump_{state,statistics}() into CPUState hooks 2013-06-28 13:25:12 +02:00
helper.h
hyperv.c
hyperv.h
int_helper.c target-i386/helper: remove EDX macro 2013-06-15 17:49:10 +00:00
ioport-user.c
kvm-stub.c
kvm.c memory: return MemoryRegion from qemu_ram_addr_from_host 2013-07-04 17:42:46 +02:00
kvm_i386.h
machine.c target-i386: kvm: save/restore steal time MSR 2013-04-17 23:27:24 -03:00
mem_helper.c target-i386/helper: remove EDX macro 2013-06-15 17:49:10 +00:00
misc_helper.c target-i386: fix over 80 chars warnings 2013-06-15 17:50:38 +00:00
ops_sse.h target-i386: add AES-NI instructions 2013-04-13 13:51:57 +02:00
ops_sse_header.h target-i386: add AES-NI instructions 2013-04-13 13:51:57 +02:00
seg_helper.c target-i386: fix over 80 chars warnings 2013-06-15 17:50:38 +00:00
shift_helper_template.h
smm_helper.c target-i386/helper: remove EDI macro 2013-06-15 17:50:05 +00:00
svm.h
svm_helper.c target-i386: fix over 80 chars warnings 2013-06-15 17:50:38 +00:00
topology.h
translate.c target-i386: Fix aflag logic for CODE64 and the 0x67 prefix 2013-05-31 12:51:07 -05:00