Path: utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!hpfcdc!hpfcmgw!hpfcse!hpuflfa!ronw
From: ronw@hpuflfa.HP.COM (Ron Williams)
Newsgroups: comp.sys.hp
Subject: Re: 9000/825 integer performance
Message-ID: <140004@hpuflfa.HP.COM>
Date: 16 Aug 89 14:58:47 GMT
References: <3770015@hpcllla.HP.COM>
Organization: Hewlett-Packard, SSR-Ft. Lauderdale
Lines: 12

Note that HP-PA has no integer multiply instruction. Multiplying by a constant
gives fairly good performance since the comiler produces as series of shifts
and adds. Multiplying by variables uses the millicode. For integer division
there are instructions that are used which are primitive instructions which
allow the process to be performed in single cycle steps.



Ron Williams       HP Ft. Lauderdale       ronw@hpfcse
------------       TEL: T-938-2278         {hpfcse}!hpuflfa!ronw
                   FAX: T-938-2293         COMSYS: 3179
                   AREA CODE: 305          HPDESK: Ron Williams / HP3179/07