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)
Mar 4 2024, 11:23 AM
Unknown Object (File)
Feb 1 2024, 2:06 AM
Unknown Object (File)
Jan 12 2024, 9:36 AM
Unknown Object (File)
Dec 21 2023, 10:29 PM
Unknown Object (File)
Dec 20 2023, 2:24 AM
Unknown Object (File)
Nov 15 2023, 4:34 AM
Unknown Object (File)
Sep 29 2023, 1:56 AM
Unknown Object (File)
Aug 30 2023, 7: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