Article View: comp.arch
Article #13432Re: Optimization vs. the programmer
From: guy
Date: Tue, 07 Apr 1987 18:10
Date: Tue, 07 Apr 1987 18:10
14 lines
1284 bytes
1284 bytes
>Please dear compiler writers, make the compiler do what I >tell it (or at least have the courtesy to warn me about it). >If hardware was perfect then I wouldn't have a gripe, but >it ain't so I do. That's a nice general request, and as such nearly useless. What does "do what I tell it" mean? To what level of detail are you "telling it"? Do you think moving invariant computations out of loops is not "doing what you tell it"? What about strength reductions? What about eliminating assignments to dead variables? Compiler writers simply can't anticipate every single potential hardware problem that may crop up and that may require you to put in code that is in principle redundant.
Technical Details
Message-ID:
<16294@sun.uucp>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!necntc!ames!oliveb!sun!gorodish!guyReferences:
<479@danews.ATT.COM>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!necntc!ames!oliveb!sun!gorodish!guy From: guy@gorodish.UUCP Newsgroups: comp.arch,comp.lang.c Subject: Re: Optimization vs. the programmer Message-ID: <16294@sun.uucp> Date: Tue, 7-Apr-87 13:10:45 EST Article-I.D.: sun.16294 Posted: Tue Apr 7 13:10:45 1987 Date-Received: Sat, 11-Apr-87 00:36:13 EST References: <479@danews.ATT.COM> Sender: news@sun.uucp Reply-To: guy@sun.UUCP (Guy Harris) Organization: Sun Microsystems, Mountain View Lines: 14