GNU Tools for ARM Embedded Processors

Is the fixed-point types extension supported on Cortex-M targets?

Asked by chito on 2012-06-15

I read in an old post (2007) that the gcc fixed-point types extension is only available for the MIPS architecture.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34422

The extension description does not list which targets are supported (a google search was also useless).
http://gcc.gnu.org/onlinedocs/gcc/Fixed_002dPoint.html#Fixed_002dPoint

Is support for this extension already existent for the Cortex-M? If that's not the case, any plans to bring it to the Cortex-M family in the near future?

Question information

Language:
English Edit question
Status:
Solved
For:
GCC ARM Embedded Edit question
Assignee:
No assignee Edit question
Solved by:
Terry Guo
Solved:
2012-06-17
Last query:
2012-06-17
Last reply:
2012-06-17
Best Terry Guo (terry.guo) said : #1

I believe the support is already in as you can see from http://gcc.gnu.org/ml/gcc-cvs/2011-09/msg00617.html.

Also the fixed-point regression test is passed on QEMU Cortex-M3.

chito (jpmzometa) said : #2

Thanks Terry Guo, that solved my question.