Quantcast
Viewing all articles
Browse latest Browse all 1583

RE: VFP usage with mbed SDK

Hi,

If the "lazy" VFP initialization is enough for you, do the following before executing any VFP instructions,.

(1) Enable VFP using CPACR register. (and flush prefetch buffer if necessary)

(2) Initialize FPEXC and FPSCR registers properly.

For more information, google with "Cortex-A9" and "CPACR"/"FPEXC"/"FPSCR",
and refer to documents in the ARM Information Center (http://infocenter.arm.com/).

Regards,


Viewing all articles
Browse latest Browse all 1583

Trending Articles