From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 110292,45b50f14dadfce5b X-Google-Attributes: gid110292,public X-Google-Thread: 1164f8,45b50f14dadfce5b X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,45b50f14dadfce5b X-Google-Attributes: gid102b75,public From: ripley@nostromo.in-berlin.de (H. Eckert) Subject: Re: Final kick at the "Merced Guessing Game" Date: 1997/10/04 Message-ID: #1/1 X-Deja-AN: 278045832 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> Organization: Private access site (FreeBSD 2.2.1), Berlin, Germany, Europe Newsgroups: comp.sys.intel,comp.arch,comp.sys.dec nmm1@cus.cam.ac.uk (Nick Maclaren): > I am, unfortunately, not joking when I say that there are critical paths > in the X Windowing System etc. that need that sort of optimisation for > efficiency. 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... > Most foully, the paths can run ahead at different rates, and you > STILL have to get interruption and recovery right :-( So you need some synchronisation points where you lose some possible CPU cycles in NOPs. Some friction is always present; the task for optimization is to reduce them as much as possible... > 2) EITHER Intel have reinvented the "Model 91 pipe-line drain" > instruction under another name OR I could write a valid C program that > would execute incorrectly. Do you care to elaborate ? IMHO this would be a sign for a broken compile which produces incorrect code. > My point about languages is that it becomes possible to implement reliable > speculative execution relatively easily, IF you can assume that certain > constraints are met. In particular, you know that the operands may be > invalid, but they will not change between the preloading and the final use. > And that is PRECISELY what you do not get with C or any of its derivatives. Ok, so you want to have a language where you can put additional optimization hints into the code. This is fine but pretty useless unless the programmer knows a lot more about performance implications of certain high-level instructions. This is the school of "you need to know how the computer works from inside to produce good code" to which I agree to some extent. This is why assembly language is still a part in a university computer science degree. Greetings, Ripley -- Ach komm, ich denke schon, da� die Raver sehr tolerant sind. Gerade bei dieser Love Parade. Du mu�t dir nur mal ansehen, wer da sein wird: Westbam, Marusha, Bl�mchen, ein Wagen vom Marienhof ... Also, das w�rde meine Toleranzgrenze weit �berschreiten. (M. Friese in bln.termine, <5pq8le$g1s$1@news.cs.tu-berlin.de>)