Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11]) by narn.NetBSD.org (Postfix) with ESMTP id 2F35663BB3A for ; Sat, 5 Apr 2008 14:09:21 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 0) id DA5BF63B12F; Sat, 5 Apr 2008 14:09:19 +0000 (UTC) Received: from cvs.netbsd.org (unknown [IPv6:2001:4f8:4:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 2BA0963B123 for ; Sat, 5 Apr 2008 14:09:19 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id E45BF175D0; Sat, 5 Apr 2008 14:09:18 +0000 (UTC) From: Chris Gilbert Subject: CVS commit: pkgsrc/benchmarks/hbench To: pkgsrc-changes@NetBSD.org Reply-To: chris@netbsd.org Message-Id: <20080405140918.E45BF175D0@cvs.netbsd.org> Date: Sat, 5 Apr 2008 14:09:18 +0000 (UTC) Sender: pkgsrc-changes-owner@NetBSD.org Precedence: list Module Name: pkgsrc Committed By: chris Date: Sat Apr 5 14:09:18 UTC 2008 Modified Files: pkgsrc/benchmarks/hbench: Makefile distinfo Added Files: pkgsrc/benchmarks/hbench/patches: patch-ar Log Message: Fiz mhz calculation for arm. It seems gcc has become intelligent enough to optimize away the loop used for timing. Do something in the loop for arm that can't be optimized away, and will also meet the 1,000 instructions in the loop requirement. This allows mhz to calculate sensible Mhz on a StrongArm (228Mhz rather than 56Mhz) Other hardware probably also need fixing, as gcc probably applies the same optimizations on them. Also bump PKGREVISION. To generate a diff of this commit: cvs rdiff -r1.39 -r1.40 pkgsrc/benchmarks/hbench/Makefile cvs rdiff -r1.11 -r1.12 pkgsrc/benchmarks/hbench/distinfo cvs rdiff -r0 -r1.1 pkgsrc/benchmarks/hbench/patches/patch-ar Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.