[comp.sys.hp] New PA-RISC gcc distribution

moore%cdr.utah.edu@cs.utah.edu (Tim Moore) (08/08/90)

A new version of the gcc distribution for the HP PA-RISC is available
via anonymous ftp from jaguar.utah.edu in pub/gcc-1.37.9.hp9k8.tar.Z.
This includes a missing file (ffs.s) and fixes some bugs in the
machine description and constant multiplication code inspired by
conversations with Tor Lillqvist. For those who don't want to tar
again right now here's the missing file in its entirety:

;ffs for hp9k8.
	
	.SPACE $TEXT$

ffs
	comclr,<> arg0,0,ret0	; Load count with 0.
	bv,n 0(rp)		; If arg0 is 0 we are done.
again
	ldo 1(ret0),ret0	; increment count
	bb,>=  arg0,31,again	; if lsb is 1, fall through. Otherwise shift..
	extrs arg0,30,31,arg0	; ... in delay slot.

done
	bv,n 0(rp)

	.EXPORT ffs, code

Tim Moore                     moore@cs.utah.edu {bellcore,hplabs}!utah-cs!moore
"Ah, youth. Ah, statute of limitations."
		-John Waters