[resend] implement assembly variant routines for IEEE floating-point under libgcc for cortex-m0

Mallikarjun Goudar mallikarjun.gouda@gmail.com
Mon Aug 4 06:41:00 GMT 2014


Hi All,

sorry, sending previous mail with proper subject line.

For cortex-m0 (armv6-m) target, i observed that ieee floating-point
functions under libgcc are implemented in C.
This takes lot of memory if one uses floating-point in their
applciations. I agree that usage of fp in cortex-m0 devices might be
minimal.

I wanted to check if its good idea to implement these fp functions in
assembly. As we have already assembly variant functions for cortex-m4
(armv7-m) targets,
It would be nice to port those to armv6-m. I have ported couple of
routines as an exercise. And results looked good. I see
improvement in size and speed. I ran some fp tests on hardware board
to see the performance.

I would be interested in porting remaining functions and contribute to
the community. I am open to discussion on this.
Please reply if you feel its good idea to implement this feature.

If anyone has already working on this, please let me know.

Thanks,
Mallikarjuna



More information about the Gcc mailing list