Skip to content

Enabled FPU Single Precision (SP) #130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 11, 2017
Merged

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Oct 10, 2017

Example for Nucleo-L476RG:
No FPU (SoftFP)
Sketch uses 25940 bytes (2%) of program storage space. Maximum is 1048576 bytes.
Results:

time for 1 mio. plus calculations in s: 0.77
time for 1 mio. minus calculations in s: 0.79
time for 1 mio. multiplications in s: 0.51
time for 1 mio. divisions in s: 1.96

FPU enabled (SP):
Sketch uses 24772 bytes (2%) of program storage space. Maximum is 1048576 bytes.
Results:

time for 1 mio. plus calculations in s: 0.05
time for 1 mio. minus calculations in s: 0.05
time for 1 mio. multiplications in s: 0.06
time for 1 mio. divisions in s: 0.19

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
@fpistm fpistm added the enhancement New feature or request label Oct 10, 2017
@fpistm fpistm self-assigned this Oct 10, 2017
@fpistm fpistm requested a review from a user October 10, 2017 14:29
@fpistm fpistm merged commit c8fa429 into stm32duino:master Oct 11, 2017
@fpistm fpistm deleted the Enable_FPU branch October 11, 2017 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant