From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,5747331edea7cbab X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-07-08 13:14:34 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!dispose.news.demon.net!demon!btnet-peer0!btnet!news5-gui.server.ntli.net!ntli.net!news11-gui.server.ntli.net.POSTED!not-for-mail Message-ID: <3B48BECE.B236FCF6@dtn.ntl.com> From: ChrisQ Organization: Man (The) X-Mailer: Mozilla 4.75 [en] (X11; U; OSF1 V4.0 alpha) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.sys.dec Subject: Re: Compaq kills Alpha References: <3B37351D.5080503@cli.de> <4495ef1f.0106281109.4b460a70@posting.google.com> <8PS_6.265783$p33.5339568@news1.sttls1.wa.home.com> <9hhtur$1oj9$2@info.cs.uofs.edu> <9hi2q1$hbs@augusta.math.psu.edu> <9hj3ch$qmi$1@pyrite.mv.net> <_Ay07.62$G_1.10702@newsread2.prod.itd.earthlink.net> <3B462723.8938B09B@peoplepc.com> <3B469F39.618E0ADE@igs.net> <3B46C8C7.E2AFF889@peoplepc.com> <3B471A6C.EE8715F5@igs.net> <1yI17.850$6c1.158549@newsread2.prod.itd.eOrganization: LJK Software Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 08 Jul 2001 21:13:02 +0100 NNTP-Posting-Host: 62.254.132.186 X-Complaints-To: abuse@ntlworld.com X-Trace: news11-gui.server.ntli.net 994622966 62.254.132.186 (Sun, 08 Jul 2001 21:09:26 BST) NNTP-Posting-Date: Sun, 08 Jul 2001 21:09:26 BST Xref: archiver1.google.com comp.sys.dec:5394 Larry Kilgallen wrote: > > In article , andrew@gurney.reilly.home (Andrew Reilly) writes: > > On Sat, 07 Jul 2001 18:29:17 GMT, mulp wrote: > >> Sign extended byte loads doesn't eliminate the requirement for byte > >> arithmetic operations, so its necessary to have byte to other type > >> conversions even with load signed byte. > > > > Would you elaborate on this point? What arithmetic operations > > are required for byte operations, beyond the regular integer > > set, once you have signed (i.e., sign extension) byte loads? > > Certainly multiply, is one such operation, since the overflow point > is different from that for longer elements. Of course that can be > faked in software, but so can signed byte loads. It is a matter of > deciding how much is to be done in hardware and how much in software. Seem to be looking at the it backwards here - it's not the load or store that is or needs to be signed, it only deals with an array of bits. What is significant is what flags get set on a load or store. For example, in 68k or PDP11, various flags get set for the mov instruction, something sadly lacking (for asm programmers) in x86. In 68k or PDP11, you can do something like: mov r0, (R1) beq ... bmi ... whatever, and get various flags (minus, equal, overflow etc) set, while with x86, you need an extra (tedious) tst instruction to determine the state of the flags. Most of the cisc cpu designs include a full set of signed and unsigned branch instructions, which effectively gives you the signed load store capability. Chris