FPU support for ESP32-S3 followup for #2016

Open
#2,026 3 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
c, erlang

Research direction

Start with issue #2016 and compare its changes with the current math:Moniker(..) call to Monikerf; the issue gives no file or test location. Investigate whether placing the NIF at the beginning of the function table explains the reported speed difference. Done means the performance difference is understood and the ESP32-S3 FPU support follow-up is resolved.

Written by the indexing model from the issue text.

Description

as #2016 has been closed and i'm not allowed to reopen it.

just as an info: math:Moniker(..) now calls Monikerf but my nif-implementation is still ~10% (~27% before the bugfix) faster. maybe this is because i placed the function at the beginning of the function table.

Dominant language
Erlang
Stars
2.3k
Forks
171
Avg merge
4d 11h
Merged PRs (30d)
20

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from atomvm/AtomVM

All issues in atomvm/AtomVM

Similar issues

More Embedded & IoT issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.