Statistics
| Branch: | Revision:

root / target-i386 @ e41e0fc6

Name Size
TODO 1.1 kB
cpu.h 29.4 kB
cpuid.c 42.2 kB
exec.h 8.8 kB
helper.c 40.6 kB
helper.h 6.3 kB
helper_template.h 8.6 kB
kvm.c 51.8 kB
machine.c 14.7 kB
op_helper.c 161.3 kB
ops_sse.h 59.1 kB
ops_sse_header.h 11.7 kB
svm.h 5.8 kB
translate.c 256.4 kB

Latest revisions

# Date Author Comment
e41e0fc6 05/02/2011 03:38 pm Jan Kiszka

x86: Allow multiple cpu feature matches of lookup_feature

kvmclock is represented by two feature bits. Therefore, lookup_feature
needs to continue its search even after the first match. Enhance it
accordingly and switch to a bool return type at this chance....

0c31b744 05/02/2011 02:24 pm Glauber Costa

kvm: use kernel-provided para_features instead of statically coming up with new capabilities

Use the features provided by KVM_GET_SUPPORTED_CPUID directly to
mask out features from guest-visible cpuid.

The old get_para_features() mechanism is kept for older kernels that do not implement it....

c9ad19c5 04/25/2011 12:18 pm Aurelien Jarno

target-i386: fix helper_fxtract() wrt softfloat

With softfloat it's not possible to play with the overflow of an
unsigned value to get the 0 case partially correct. Use a special case
for that. Using a division to generate an infinity is the easiest way
that works for both softfloat and softfloat-native....

13822781 04/25/2011 12:18 pm Aurelien Jarno

target-i386: fix helper_fdiv() wrt softfloat

Reviewed-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

fec05e42 04/25/2011 12:18 pm Aurelien Jarno

target-i386: fix helper_fsqrt() wrt softfloat

Reviewed-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

c2ef9a83 04/25/2011 12:18 pm Aurelien Jarno

target-i386: replace approx_rsqrt and approx_rcp by softfloat ops

Reviewed-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

47c0143c 04/25/2011 12:18 pm Aurelien Jarno

target-i386: add CPU86_LDouble <-> double conversion functions

Add functions to convert CPU86_LDouble to double and vice versa. They
are going to be used to implement logarithmic and trigonometric function
until softfloat implement them.

Reviewed-by: Peter Maydell <>...

a2c9ed3c 04/25/2011 12:18 pm Aurelien Jarno

target-i386: fix logarithmic and trigonometric helpers wrt softfloat

Use the new CPU86_LDouble <-> double conversion functions to make logarithmic
and trigonometric helpers working with softfloat.

Reviewed-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

bcb5fec5 04/25/2011 12:18 pm Aurelien Jarno

target-i386: fix helper_fprem() and helper_fprem1() wrt softfloat

Reviewed-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

a1d8db07 04/25/2011 12:18 pm Aurelien Jarno

target-i386: fix constants wrt softfloat

Reviewed-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

View revisions

Also available in: Atom