From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 110292,45b50f14dadfce5b X-Google-Attributes: gid110292,public X-Google-Thread: 102b75,45b50f14dadfce5b X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,45b50f14dadfce5b X-Google-Attributes: gid1164f8,public From: nmm1@cus.cam.ac.uk (Nick Maclaren) Subject: Re: Final kick at the "Merced Guessing Game" Date: 1997/10/06 Message-ID: <61acb2$r42$1@lyra.csx.cam.ac.uk>#1/1 X-Deja-AN: 278178517 Sender: nmm1@taurus.cus.cam.ac.uk (Nick Maclaren) References: <3431A2DB.4273@EasyInternet.net> <01bcd02b$58e67280$0200000a@kld_mcs> <613p2b$g1r$1@lyra.csx.cam.ac.uk> <6157jp$at5$1@lyra.csx.cam.ac.uk> <3437F16A.C21B0159@cs.wisc.edu> Organization: University of Cambridge, England Newsgroups: comp.sys.intel,comp.arch,comp.sys.dec In article <3437F16A.C21B0159@cs.wisc.edu>, "Andy \"Krazy\" Glew" writes: |> |> The Pentium Pro and Pentium II have a ReOrder Buffer of 40 instructions, a load |> buffer of 16 (?), and a store buffer of 12. The reservation station size is 20. |> |> There is no limit on how many predicted branches may be speculated past. I.e. |> every entry in the reorder buffer, and all the instructions in earlier |> pipestages, may be correctly predicted branches. |> |> Is this "significant" speculative execution? I think that it is under any |> reasonable definition of significant. It is not, of course, eager execution. |> What's left is increasing the size of buffers, and tuning the algorithms to be |> more efficient of resources. The traditional meaning of "speculative" included what people have now separated off as "eager" (assuming that usage is now standard), and is what I was referring to. In the cases that I was referring to, it is essential to execute ahead of BOTH branches, and I was therefore referring to what you call "eager execution". I made this quite clear in the example immediately preceding the first paragraph you quoted. The reason is that the same code is used for two objects, which are likely to need different branch predictions. To get this "right" for single-path speculative execution, you need to do branch prediction on the basis of the DATA location as well as the CODE location. To sidetrack a little, ripley@nostromo.in-berlin.de (H. Eckert) writes: |> If you define "efficiency" as getting the maximum possible data |> throughput from a given machine, you're probably right since a general |> purpose machine cannot suit every task equally well. But what does |> "efficiency" mean to a GUI ? It is certainly nice to have a machine |> that does every graphics operation faster than you can visibly follow |> but that alone doesn't help a lot... Unfortunately, most GUIs (and definitely including anything based on X) make timing assumptions about the responses. There are a very large number of X applications where a 0.01 second delay will cause them to behave incorrectly - and, in fact, I am using one right now (xrn)! These may be bugs in the application, but are actually almost unfixable, as they are really due to design errors in X. I have had similar effects in OS/2, Windows 3.1 and MacOS. I have never used Microsoft's latest utterings, but have reason to believe that the same would apply. |> Is this "significant" speculative execution? I think that it is under any |> reasonable definition of significant. It is not, of course, eager execution. |> What's left is increasing the size of buffers, and tuning the algorithms to be |> more efficient of resources. Yes, it is. But not under any reasonable definition of "speculative"! Using your terminology, consider my posting to refer to "significant eager execution". Nick Maclaren, University of Cambridge Computer Laboratory, New Museums Site, Pembroke Street, Cambridge CB2 3QG, England. Email: nmm1@cam.ac.uk Tel.: +44 1223 334761 Fax: +44 1223 334679