On 04/11/2011 08:09 AM, Peter Maydell wrote:
> (4) I think you should be able to write a helper function for an
> add as just
> float32 HELPER(my_float_add)(float32 a, float32 b) {
> return float32_add(a, b, status);
> }
While this is a laudable goal, this will fail for hosts that pass
all
On 04/11/2011 08:30 AM, Peter Maydell wrote:
> On 11 April 2011 16:19, Richard Henderson wrote:
>> On 04/11/2011 08:09 AM, Peter Maydell wrote:
>>> (4) I think you should be able to write a helper function for an
>>> add as just
>>> float32 HELPER(my_float_add)(float32 a, float32 b) {
>>> re
SH4 is always using softfloat, so it's possible to have helpers directly
taking float32 or float64 value. This allow to get rid of conversions
through CPU_{Float,Double}U.
Cc: Peter Maydell
Cc: Nathan Froyd
Signed-off-by: Aurelien Jarno
---
target-sh4/helper.h| 48 ++--
target-sh