This is the mail archive of the ecos-patches@sourceware.org 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:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001539

Ilija Kocho <ilijak@siva.com.mk> changed:

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

--- Comment #13 from Ilija Kocho <ilijak@siva.com.mk> 2012-03-22 10:23:47 GMT ---
Created an attachment (id=1665)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1665)
Libm tests vector support float 120322

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

[snip]

> 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)
>       CYGBLD_ATTRIB_UNUSED;
> 
> 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...)

Ilija

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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