Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "Måns Rullgård" <mru@inprovide.com>
Subject: Re: Alpha Users UNITE!!!
Date: Sat, 04 Jun 2005 22:07:06 +0200	[thread overview]
Message-ID: <yw1x8y1pq42d.fsf@ford.inprovide.com> (raw)
In-Reply-To: 7U4oe.12440$uR4.10081@newsread2.news.atl.earthlink.net

"Brandon J. Van Every" <mylastnameruntogether@mycompanyname.com> writes:

> M�ns Rullg�rd wrote:
>
>>"Brandon J. Van Every" <mylastnameruntogether@mycompanyname.com> writes:
>>
>>>  As an ex-DECcie who was
>>>quite skilled at Alpha ASM, I'm very sad that my favorite processor
>>>bit the commercial dust.  I'm still waiting for industry to catch up
>>>to what we were doing with 64-bit in 1998 when I quit my job.
>>
>>Yes, Alpha assembler makes everything else look like a sendmail
>>configuration file.
>>
> Is there any money in Alpha ASM anywhere anymore?  I wouldn't mind
> dusting off a legacy skill for some $$$$$.

I doubt it.  However, if you want a challenge, here's one.  Optimize
this bit of assembler for size.  It can be assembled and linked to a
functioning, but not very useful, program.

	lda $16, 1($31)
	br $17, 8
	.quad 0x0101010101010101
	ldq $4, 0($17)
	zapnot $4, 0x80, $3
	mulq $4, 0x30, $9
	mulq $4, 0xa, $5
	lda $2, 0($31)
	lda $18, 8($31)
	lda $1, 0x14($31)
1:	lda $0, 4($31)
	addq $2, $9, $10
	stq $10, 0($17)
	callsys
	addq $2, $3, $2
2:	cmpbge $2, $5, $6
	beq $6, 3f
	srl $6, 1, $7
	zapnot $4, $7, $8
	addq $2, $8, $2
	zap $2, $6, $2
	br 2b
3:	lda $1, -1($1)
	bne $1, 1b
	lda $0, 1($31)
	callsys


-- 
M�ns Rullg�rd
mru@inprovide.com


  reply	other threads:[~2005-06-04 20:07 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-17  4:38 Alpha Users UNITE!!!  DiskMan
2005-05-17  7:44 ` Måns Rullgård
2005-05-17 18:45   `  DiskMan
2005-05-17 21:03 ` UNIX pSyChO
2005-05-17 21:59   `  DiskMan
2005-05-17 22:51     ` UNIX pSyChO
2005-05-18  2:28       ` Robert M. Riches Jr.
2005-05-18  3:53         `  DiskMan
2005-06-03 20:39   ` Brandon J. Van Every
2005-06-04  3:07     ` UNIX pSyChO
2005-06-03 20:37 ` Brandon J. Van Every
2005-06-03 20:41   ` Måns Rullgård
2005-06-03 22:32     ` Brandon J. Van Every
2005-06-04 20:07       ` Måns Rullgård [this message]
2005-06-05  8:04         ` Brandon J. Van Every
2005-06-05  8:51           ` Måns Rullgård
2005-06-05  9:13             ` Brandon J. Van Every
2005-06-05 14:22             ` Mathieu Chouquet-Stringer
2005-06-04 10:46   ` huw.davies
2005-06-05 15:15     ` David J Dachtera
2005-06-05 15:08   ` David J Dachtera
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox