Statistics
| Branch: | Revision:

root / target-arm @ 4b4a72e5

Name Size
cpu.h 16.8 kB
exec.h 1.2 kB
helper.c 82.6 kB
helpers.h 16.5 kB
iwmmxt_helper.c 23.7 kB
machine.c 6.7 kB
neon_helper.c 51.7 kB
op_addsub.h 1.8 kB
op_helper.c 9.5 kB
translate.c 323 kB

Latest revisions

# Date Author Comment
4b4a72e5 04/10/2011 01:45 am Stefan Weil

Fix conversions from pointer to tcg_target_long

tcg_gen_exit_tb takes a parameter of type tcg_target_long,
so the type casts of pointer to long should be replaced by
type casts of pointer to tcg_target_long (suggested by Blue Swirl).

These changes are needed for build environments where...

947a2fa2 04/04/2011 09:18 pm Peter Maydell

target-arm: Use global env in iwmmxt_helper.c helpers

Use the global 'env' variable in the helper functions in iwmmxt_helper.c.
This means we don't need to pass env as an argument to them any more.

Signed-off-by: Peter Maydell <>...

cc49f217 04/04/2011 09:18 pm Peter Maydell

target-arm: Make Neon helper routines use correct FP status

Make the Neon helper routines use the correct FP status from
the CPUEnv rather than using a dummy static one. This means
they will correctly handle denormals and NaNs and will set
FPSCR exception bits properly....

2a3f75b4 04/04/2011 09:18 pm Peter Maydell

target-arm: Use global env in neon_helper.c helpers

Use the global 'env' variable in the helper functions in neon_helper.c.
This means we don't need to pass env as an argument to them any more.

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

0e326109 04/03/2011 06:19 pm Peter Maydell

target-arm: Fix VCLE.F32 #0, VCLT.F32 #0 NaN handling

Implementing the floating-point versions of VCLE #0 and VCLT #0 by
doing a GT comparison and inverting the result gives the wrong
result if the input is a NaN. Implement as a GT comparison with the
operands swapped instead....

79c18be7 04/03/2011 06:19 pm Peter Maydell

target-arm: Correct ABD's handling of negative zeroes

Implement ABD by taking the absolute value of the difference
of the operands (as the ARM ARM specifies) rather than by
flipping the order of the operands to the subtract based
on the results of a comparison. The latter approch gives...

4a9f9cb2 04/03/2011 06:19 pm Peter Maydell

target-arm: Use new softfloat min/max functions for VMAX, VMIN

Use the new softfloat min/max functions to implement the Neon VMAX
and VMIN instructions. This allows us to get the right behaviour
for NaN and negative zero.

Signed-off-by: Peter Maydell <>...

622465e1 04/03/2011 06:19 pm Peter Maydell

target-arm/helper.c: For float-int conversion helpers pass ints as ints

Correct the argument and return types for the float<->int conversion helper
functions so that integer arguments and return values are declared as
uint32_t/uint64_t, not float32/float64. This allows us to remove the...

c7498dae 04/03/2011 06:05 pm Peter Maydell

target-arm: Return right result for Neon comparison with NaNs

Fix the helper functions implementing the Neon floating point comparison
ops (VCGE, VCGT, VCEQ, VACGT, VACGE) to return the right answer when
one of the values being compared is a NaN.

Signed-off-by: Peter Maydell <>...

51d85267 04/03/2011 06:04 pm Peter Maydell

target-arm/neon_helper.c: Use make_float32/float32_val macros

Use the softfloat make_float32 and float32_val macros to convert between
softfloat's float32 type and raw uint32_t types, rather than private
conversion functions.

Signed-off-by: Peter Maydell <>...

View revisions

Also available in: Atom