]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] Enable VFP to be built when non-VFP capable CPUs are selected
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 21 Jun 2006 12:51:41 +0000 (13:51 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 22 Jun 2006 09:24:24 +0000 (10:24 +0100)
commit2db7f377222ef960ee3608b5e236888ea69abcf6
treec56cc8ed28d9d9dc062043a0a7862e1692908770
parentc788de6b0cc8292eddb50a55e7a799f60486aec6
[ARM] Enable VFP to be built when non-VFP capable CPUs are selected

Since we pass flags to the compiler to control code generation based
on the least capable selected CPU, if we want to include VFP support,
we must tweak the assembler flags to allow the VFP instructions.
Moreover, we must not use the mrrc/mcrr versions since these will not
be recognised by the assembler.

We do not convert all instructions to the VFP-equivalent (yet) since
binutils appears to barf on "fmrx rn, fpinst" and doesn't provide any
other way (other than using the mrc equivalent) to encode this
instruction - which is rather a problem when you have a VFP
implementation which requires these instructions.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/vfp/Makefile
arch/arm/vfp/vfphw.S