Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site dataio.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!ihnp4!houxm!vax135!cornell!uw-beaver!uw-june!entropy!dataio!bright From: bright@dataio.UUCP (Emperor) Newsgroups: net.lang.c Subject: Re: ANSII C, optimization, and "hardware registers" Message-ID: <201@dataio.UUCP> Date: Mon, 15-Oct-84 13:45:18 EDT Article-I.D.: dataio.201 Posted: Mon Oct 15 13:45:18 1984 Date-Received: Wed, 17-Oct-84 06:47:28 EDT References: <1538@wateng.UUCP> Organization: Data I/O, Redmond, WA Lines: 9 If you are using an optimizing compiler, and your code deals with hardware registers and such, it is usually a good idea to turn off all optimizations. Nearly all optimizing transformations applied to a program will cause certain kinds of programs that deal with hardware to fail. Since, however, 99% of code written does not deal directly with hardware, and a good optimizer can double the speed of the resulting code, the optimizer is worth keeping around. Walter Bright