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 07:01:01 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!ams-newsfeed.speedport.net!newsfeed.speedport.net!zonnet-feed!news-feed1.eu.concert.net!newsfeed01.highway.telekom.at!newsspool01.highway.telekom.at!newsreader02.highway.telekom.at!not-for-mail Message-ID: <3B48658F.4AE24BB5@applied-synergy.com> Date: Sun, 08 Jul 2001 08:52:15 -0500 From: Chris Scheers Organization: Applied Synergy, Inc. X-Mailer: Mozilla 4.77 [en] (WinNT; U) X-Accept-Language: en,pdf MIME-Version: 1.0 Newsgroups: comp.sys.dec To: Larry Kilgallen , Paul DeMone 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> <$KhLsMn0xNNj@eisner.encompasserve.org> <3Organization: LJK Software Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 216.119.161.63 X-Trace: 994600267 newsreader02.highway.telekom.at 32922 216.119.161.63 Xref: archiver1.google.com comp.sys.dec:5386 Larry Kilgallen wrote: > > In article <3B47F374.5F293DE2@igs.net>, Paul DeMone writes: > > > > > > Larry Kilgallen wrote: > >> > >> In article <3B471A6C.EE8715F5@igs.net>, Paul DeMone writes: > >> > > >> > > >> > Jack Patteeuw wrote: > >> >> > >> >> Paul DeMone wrote: > >> >> > > >> >> > SPARC always had 8 and 16 bit loads and stores. > >> >> > > >> >> > >> >> It is interesting that PowerPC does not have a load or store signed byte > >> > > >> > What's the difference between a signed and unsigned store? > >> > >> Storing into an signed byte from something larger should check > >> (in hardware or software) that the top n-7 bits have the same > >> value. Storing into an unsigned byte from something larger should > >> check (in hardware or software) that the top n-8 bits are zero. > > > > And what happens if the check fails? Does the store raise an > > exception? Neither MIPS, Alpha, or PowerPC do this. I am not > > aware of any RISC processor with signed and unsigned stores. > > The Ada standard requires that an exception be raised (by hardware or > software). > > >> Absent hardware support, the Ada compiler has to do it in software. > > > > Can you give an example of a processor family that performs byte > > stores like you described? > > I do not know what, if any, processors, RISC or CISC, have hardware > support for this, but it is a requirement for running code. If it > is always done in software, it seems an opportunity for something > that is readily (easy for me to say) done better in hardware. The VAX CVTxx instructions will do this. If the result will not fit in the destination type without loss of significance, an appropriate exception (integer overflow or floating overflow or underflow) will be raised. This is the CISC (hardware) vs. RISC (software) paradigm. ----------------------------------------------------------------------- Chris Scheers, Applied Synergy, Inc. Voice: 817-237-3360 Internet: chris@applied-synergy.com Fax: 817-237-3074