Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!hp-ses!hpcuhb!hpcllla!hpclisp!hpclwjm!walter From: walter@hpclwjm.HP.COM (Walter Murray) Newsgroups: comp.lang.c Subject: Re: Re: Short code to determine compiler's number of registers Message-ID: <660044@hpclwjm.HP.COM> Date: 19 Jul 89 16:10:09 GMT References: <18603@mimsy.UUCP> Organization: Hewlett-Packard Calif. Language Lab Lines: 13 > That said, the way to find out how many registers the compiler will > use on your code is to compile your code and count how many registers > were used. This is completely reliable, although not necessarily > repeatable. It is also likely to be a useless statistic. Agreed. Another way to find out the extent to which the register specifier will have effect is to read the manual. When you take delivery of your first ANSI-conforming C compiler, it will come with some sort of a manual. This is one of the items that are required to be documented there. Walter Murray -------------