Path: utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!usc!snorkelwacker!paperboy!meissner From: meissner@osf.org (Michael Meissner) Newsgroups: comp.sys.mips Subject: Re: Desperately Seeking Bltzal and Bgezal. Message-ID: Date: 6 Sep 90 16:31:17 GMT References: <1179@cluster.cs.su.oz> Sender: news@OSF.ORG Organization: Open Software Foundation Lines: 26 In-reply-to: bruce@cs.su.oz's message of 6 Sep 90 00:38:01 GMT In article <1179@cluster.cs.su.oz> bruce@cs.su.oz (Bruce Janson) writes: | Use of dis on large numbers of executables on our MIPSCo | machines has revealed no instances of the instructions | bltzal or bgezal. | It was my understanding that instructions were included | in the MIPS instruction set only if their addition | could be justified on the basis of an X% performance | increase (where X is some randomly chosen number like maybe 1). | So, how do bltzal and bgezal increase performance without | ever being executed? | | Cheers, | bruce. I can't answer the question, but I recently found a use for bgezal. I'm doing pic support for GCC on OSF/1 (Decstation platform), and currently use bgezal $0,func to call functions within the same module that are within 128K rather than using the normal method of loading a pointer from the data table and doing a jalr on it. -- Michael Meissner email: meissner@osf.org phone: 617-621-8861 Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142 Do apple growers tell their kids money doesn't grow on bushes?