This is the mail archive of the mailing list for the eCos project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001539] Single precision floating point math library

Please do not reply to this email. Use the web interface provided at:

Ilija Kocho <> changed:

           What    |Removed                     |Added
   Attachment #1663|0                           |1
        is obsolete|                            |

--- Comment #13 from Ilija Kocho <> 2012-03-22 10:23:47 GMT ---
Created an attachment (id=1665)
 --> (
Libm tests vector support float 120322

(In reply to comment #11)
> (In reply to comment #10)
> > (In reply to comment #9)


> There were 42 warnings [-Wunused-function] in the build (otherwise, all
> is clean). One fix would be to add a prototyping for doTestVec() and
> doTestVecFloat() in tests/vector_support.h with GCC attribute unused
>   static cyg_bool
>   doTestVec(CYG_ADDRESS func_ptr,
>             Cyg_libm_test_arg_type arg1_type,
>             Cyg_libm_test_arg_type arg2_type,
>             Cyg_libm_test_arg_type result_type,
>             const Cyg_libm_test_double_vec_t * vectors,
>             cyg_ucount32 num_vectors)
> and the same for doTestVecFloat(), then build is silent.

Thank you for pointing this out.
I decided to revert tests_vect_support.h (i.e. leave it intact) and introduce
new header tests_vector_support_float.h for floats. There will be little
redundancy but probably it's better not to touch old code if we can avoid it.
As a side effect we got rid of warnings. (Yes it all started with warnings...)


Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]