implement assembly variant routines for IEEE floating-point under libgcc

2014-08-03 Thread Mallikarjun Goudar
Hi All,

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
applcations. 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


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

2014-08-03 Thread Mallikarjun Goudar
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


fp emulation libraries in assembly for armv6-m architecture

2014-01-30 Thread Mallikarjun Goudar
Hi,
I notice that, libgcc has fp emulation libraries written in C for
armv6-m architecture which is quite big in size. Also I see that other
architecture like armv7-m has these libraries written in assembly for
smaller size lib.
I wanted to know, is there anybody working on this feature supporting
fp lib in assembly language for armv6-m arch? If not, Please let me
know if i can contribute this feature?

Thanks,
Mallikarjun