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)
Thu, Feb 13, 4:36 AM
Unknown Object (File)
Thu, Jan 30, 1:51 AM
Unknown Object (File)
Wed, Jan 29, 4:02 AM
Unknown Object (File)
Jan 19 2025, 2:26 PM
Unknown Object (File)
Jan 14 2025, 7:56 AM
Unknown Object (File)
Jan 10 2025, 3:49 AM
Unknown Object (File)
Dec 12 2024, 1:10 AM
Unknown Object (File)
Dec 1 2024, 3:49 PM

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