Author: Tom Kerrigan
Date: 21:44:13 02/09/03
Go up one level in this thread
On February 09, 2003 at 23:39:04, Matt Taylor wrote: >>Compilers that inline code and do "fastcalls" negate any benefit that register >>windowing gives you. >On an architecture like Sparc or IA-64 that gives you enough registers to do so. >Let's start counting...I have 8 registers on IA-32...1 used as frame pointer...1 >as stack pointer...3 get preserved by convention...hmm. I guess that leaves -3- >registers for "fastcall" convention. This is why IA-32 usually doesn't even >bother with fastcall. Sure, programmer visible registers. Doesn't the P6 have 40 rename registers? Who knows how many the P4 has. >nothing by passing parameters in registers when the called function has to turn >around and put them on the stack again because it needs registers for >computation. Hmm. The computations that my functions do tend to require the arguments that are passed to them. >Not always. Crafty scales with clock speed, and it consistently blows the cache. >I can't explain that, but I haven't thought through it yet. Riiiiiiiiiight. You're going to be thinking for a very long time. What's the name of the program you've been using to read your processor's performance registers? -Tom
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.