[RTEMS Project] #3438: GCC multilibs for ARM don't support FPU synonyms

RTEMS trac trac at rtems.org
Tue May 29 08:33:08 UTC 2018


#3438: GCC multilibs for ARM don't support FPU synonyms
-------------------------------+---------------------
 Reporter:  munster            |       Owner:  (none)
     Type:  defect             |      Status:  new
 Priority:  low                |   Milestone:
Component:  tool/gcc           |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  multilibs,GCC,ARM  |  Blocked By:
 Blocking:                     |
-------------------------------+---------------------

Comment (by Sebastian Huber):

 I should have had a look into the documentation:

 http://infocenter.arm.com/help/topic/com.arm.doc.dui0774f/DUI0774F_armclang_reference_guide.pdf

 {{{
 neon
     Enable the ARMv7 VFPv3 floating-point extension and the Advanced SIMD
 extension.

 neon-fp16
     Enable the ARMv7 VFPv3 floating-point extension, including the
 optional half-precision extensions, and the Advanced SIMD extension.
 }}}

 I think we just have to teach GCC (in t-rtems) that it should use the

 thumb/armv7-a/neon/hard;@mthumb at march=armv7-a at mfpu=neon at mfloat-abi=hard

 multilib if your application uses -mfpu=neon-fp16. You can test this with:

 arm-rtems5-gcc -print-multi-directory -mthumb -march=armv7-a -mfpu=neon-
 fp16 -mfloat-abi=hard

--
Ticket URL: <http://devel.rtems.org/ticket/3438#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list