Page MenuHomeFreeBSD

math/fftw3: Add arm64 performance counter and enable neon
AbandonedPublic

Authored by diizzy on May 24 2019, 3:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 19, 1:57 AM
Unknown Object (File)
Thu, Oct 9, 11:46 PM
Unknown Object (File)
Sep 24 2025, 9:59 PM
Unknown Object (File)
Sep 15 2025, 1:58 AM
Unknown Object (File)
Sep 13 2025, 6:59 AM
Unknown Object (File)
Sep 4 2025, 6:30 AM
Unknown Object (File)
Sep 1 2025, 1:32 PM
Unknown Object (File)
Aug 18 2025, 3:58 AM

Details

Reviewers
jhale
manu
Summary

Enable cycle counter via the PMCCNTR_EL0 register on arm64 for all variants
Enable NEON instructions for -float flavor

Test Plan

Runtime tested with bench utility in tests directory (./work/fftw-3.3.8/tests/bench if compiling ports) on Orange Pi PC running 13.0-CURRENT r347967

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

manu added a subscriber: manu.

LGFM

This revision is now accepted and ready to land.Jul 2 2019, 8:30 PM
mikael added inline comments.
math/fftw3/Makefile
65

missing space after #

65โ€“67

You said 'Enable cycle counter via the PMCCNTR_EL0' but you used enable-armv8-cntvct-el0, can you fix the comment or the configure knob?

--enable-armv8-pmccntr-el0
                        enable the cycle counter on ARMv8 via the
                        PMCCNTR_EL0 register (see README-perfcounters for
                        details and mandatory instructions)
--enable-armv8-cntvct-el0
                        enable the cycle counter on ARMv8 via the CNTVCT_EL0
                        register (see README-perfcounters for details and
                        mandatory instructions)
diizzy added inline comments.
math/fftw3/Makefile
65

That would be inconsistent with the rest of the Makefile
https://svnweb.freebsd.org/ports/head/math/fftw3/Makefile?revision=487272&view=markup

65โ€“67

Ahh, silly cut 'n paste mistake. Thanks for catching it.

diizzy marked 2 inline comments as done.

Updated typo in comment, reported by Mikael Urankar

This revision now requires review to proceed.Jul 3 2019, 9:38 AM