atom feed18 messages in org.freebsd.freebsd-currentRe: Pentium optimizations
FromSent OnAttachments
AlexDec 16, 1997 6:59 pm 
Tim LiddelowDec 16, 1997 8:05 pm 
John S. DysonDec 16, 1997 8:37 pm 
AlexDec 16, 1997 9:17 pm 
Tim LiddelowDec 16, 1997 9:36 pm 
Scott MichelDec 16, 1997 10:02 pm 
John S. DysonDec 16, 1997 10:23 pm 
Brian HandyDec 16, 1997 10:47 pm 
John S. DysonDec 16, 1997 11:04 pm 
Warner LoshDec 16, 1997 11:49 pm 
John S. DysonDec 17, 1997 12:04 am 
Poul-Henning KampDec 17, 1997 2:55 am 
Warner LoshDec 17, 1997 7:09 am 
Russell L. CarterDec 17, 1997 7:42 am 
Eivind EklundDec 17, 1997 10:13 am 
Tim LiddelowDec 17, 1997 2:26 pm 
Doug RabsonDec 18, 1997 12:35 pm 
John PolstraDec 21, 1997 1:35 pm 
Subject:Re: Pentium optimizations
From:Eivind Eklund (perh@yes.no)
Date:Dec 17, 1997 10:13:03 am
List:org.freebsd.freebsd-current

"John S. Dyson" <dys@FreeBSD.ORG> writes:

I do have some PPro mods, and they appear to help performance on average. The PPro is a really wierd creature (like the K6.) The darned processor does so much optimization, it appears to be insensitive to code mods. There are areas of reasonable payoffs, and lots of "obvious" optimizations that end up being neutral.

I was working with optimizing assembly code for the PPro a year ago. My experience was that modifying code seldom mattered, except for alignement. Making the tight loops hit 16-byte boundaries roughly doubled the speed.

No other approach made a significant difference, AFAIR (I just supplied ideas and had another programmer implement them). All pairing happened automatically, and touching the cache to make it pre-fetch etc didn't help at all.

Eivind.