[Bug 272705] benchmarks/unixbench: Remove custom optimization and some minor changes to Makefile
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Jul 2023 00:10:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272705
Bug ID: 272705
Summary: benchmarks/unixbench: Remove custom optimization and
some minor changes to Makefile
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: pizzamig@freebsd.org
Reporter: diizzy@FreeBSD.org
Flags: maintainer-feedback?(pizzamig@freebsd.org)
Assignee: pizzamig@freebsd.org
Created attachment 243600
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243600&action=edit
Patch for unixbench
Define LICENSE_FILE
Use USES= localbase:ldflags
Drop OPTIMIZED_CFLAGS [1]
Do some minor changes to Makefile to improve readability
[1]: Running dhry2reg showed no difference between default optimization
compared to custom defined. Whetstone-double showed a difference below 4% so I
would call it within margin of error. Using -march=native breaks on various
archs and it also overrides CPUTYPE set by framework (if any). Tested on my
Tigerlake laptop running 13.2-RELEASE in a VM.
Compile and runtime tested on FreeBSD 13.2-RELEASE (amd64)
--
You are receiving this mail because:
You are the assignee for the bug.