Statistics
| Branch: | Revision:

root / target-i386 @ 5bdb91b0

Name Size
Makefile.objs 394 Bytes
TODO 1 kB
arch_dump.c 12 kB
arch_memory_mapping.c 7.9 kB
cc_helper.c 8.9 kB
cc_helper_template.h 7 kB
cpu-qom.h 1.9 kB
cpu.c 75.2 kB
cpu.h 38 kB
excp_helper.c 4.1 kB
fpu_helper.c 29.8 kB
helper.c 40.8 kB
helper.h 7.2 kB
hyperv.c 1.2 kB
hyperv.h 1.2 kB
int_helper.c 10.4 kB
ioport-user.c 1.6 kB
kvm-stub.c 375 Bytes
kvm.c 66 kB
kvm_i386.h 1.3 kB
machine.c 15.2 kB
mem_helper.c 3.6 kB
misc_helper.c 15.1 kB
ops_sse.h 70.9 kB
ops_sse_header.h 12.5 kB
seg_helper.c 79.2 kB
shift_helper_template.h 2.8 kB
smm_helper.c 10.1 kB
svm.h 5.7 kB
svm_helper.c 26.7 kB
topology.h 4.8 kB
translate.c 262.9 kB

Latest revisions

# Date Author Comment
f5847c91 02/19/2013 01:03 am Paolo Bonzini

target-i386: compute eflags outside rcl/rcr helper

Always compute EFLAGS first since it is needed whenever
the shift is non-zero, i.e. most of the time. This makes it possible
to remove some writes of CC_OP_EFLAGS to cpu_cc_op and more importantly
removes cases where s->cc_op becomes CC_OP_DYNAMIC. Also, we can...

6fa38ed2 02/19/2013 01:03 am Paolo Bonzini

target-i386: clean up sahf

Discard CC_DST and set s->cc_op immediately after computing EFLAGS.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Richard Henderson <>

5bdb91b0 02/19/2013 01:03 am Paolo Bonzini

target-i386: use gen_jcc1 to compile loopz

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Richard Henderson <>

93ab25d7 02/19/2013 01:03 am Paolo Bonzini

target-i386: use OT_* consistently

Reviewed-by: Blue Swirl <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Richard Henderson <>

d824df34 02/19/2013 01:03 am Paolo Bonzini

target-i386: introduce gen_ext_tl

Introduce a function that abstracts extracting an 8, 16, 32 or 64-bit value
with or without sign, generalizing gen_extu and gen_exts.

Reviewed-by: Blue Swirl <>
Signed-off-by: Paolo Bonzini <>...

91642ff8 02/19/2013 01:03 am Paolo Bonzini

target-i386: factor setting of s->cc_op handling for string functions

Set it to the appropriate CC_OP_SUBx constant in gen_scas/gen_cmps.
In the repz case it can be overridden to CC_OP_DYNAMIC after generating
the code.

Signed-off-by: Paolo Bonzini <>...

b27fc131 02/19/2013 01:03 am Paolo Bonzini

target-i386: drop cc_op argument of gen_jcc1

As in the gen_repz_scas/gen_repz_cmps case, delay setting
CC_OP_DYNAMIC in gen_jcc until after code generation. All of
gen_jcc1/is_fast_jcc/gen_setcc_slow_T0 now work on s->cc_op, which makes
things a bit easier to follow and to patch....

52320e15 02/19/2013 01:03 am Paolo Bonzini

target-i386: move carry computation for inc/dec closer to gen_op_set_cc_op

This ensures the invariant that cpu_cc_op matches s->cc_op when calling
the helpers. The next patches need this because gen_compute_eflags and
gen_compute_eflags_c will take care of setting cpu_cc_op....

0ff6addd 02/19/2013 01:03 am Paolo Bonzini

target-i386: move eflags computation closer to gen_op_set_cc_op

This ensures the invariant that cpu_cc_op matches s->cc_op when calling
the helpers. The next patches need this because gen_compute_eflags and
gen_compute_eflags_c will take care of setting cpu_cc_op....

2d64255b 02/16/2013 03:51 pm Andreas Färber

target-i386: Split command line parsing out of cpu_x86_register()

In order to instantiate a CPU subtype we will need to know which type,
so move the cpu_model splitting into cpu_x86_init().

Parameters need to be set on the X86CPU instance, so move
cpu_x86_parse_featurestr() into cpu_x86_init() as well....

View revisions

Also available in: Atom