Re: Converting from jiffies to ticks

2010-08-21 Thread Jesse Smith
-Original Message- From: Boris Kochergin To: Jesse Smith Cc: freebsd-hackers@freebsd.org Subject: Re: Converting from jiffies to ticks Date: Fri, 20 Aug 2010 09:46:26 -0400 Jesse Smith wrote: > I am currently trying to port a program from Linux to FreeBSD which > detects how much process

Re: intel i5 - core? or core2?

2010-08-21 Thread Anonymous
"Domagoj S." writes: > 8.1 RELEASE 32bit > > # gcc --version > gcc (GCC) 4.2.1 20070719 [FreeBSD] > > As per: http://gcc.gnu.org/gcc-4.2/changes.html > core2 is supported It's not! `core' and `core2' for -mtune/-march introduced since gcc43. $ echo 'int main(){}' | gcc -xc - -o/dev/null -m

Re: intel i5 - core? or core2?

2010-08-21 Thread Olivier Smedts
2010/8/21 Garrett Cooper : > On Fri, Aug 20, 2010 at 5:19 PM, Atom Smasher wrote: >> hardware: >>  MACH:  x86_64 (LENOVO, 4313CTO, ThinkPad T510) >>  CPU:   x86_64 (Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz) >> >> FreeBSD 8.1-RELEASE #0 (amd64) >> >> in "/etc/make.conf" i tried setting "CPUTYPE=cor

Re: intel i5 - core? or core2?

2010-08-21 Thread Domagoj S.
8.1 RELEASE 32bit # gcc --version gcc (GCC) 4.2.1 20070719 [FreeBSD] As per: http://gcc.gnu.org/gcc-4.2/changes.html core2 is supported Setting CPUTYPE(for i386) to: "nocona", "core" or "core2", will at the end, ALWAYS set CPUTYPE to: "prescott", which again results in set: MACHINE_CPU = ss