From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b75,85404311f8041f7a X-Google-Attributes: gid102b75,public X-Google-Thread: fa528,85404311f8041f7a X-Google-Attributes: gidfa528,public X-Google-Thread: 1164f8,5747331edea7cbab X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-07-08 15:25:15 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!pln-e!extra.newsguy.com!lotsanews.com!news.ycc.yale.edu!rum.cs.yale.edu!rum.cs.yale.edu From: "Stefan Monnier " Newsgroups: comp.sys.dec,comp.unix.tru64,comp.arch Subject: Re: Compaq kills Alpha Date: 08 Jul 2001 18:19:41 -0400 Organization: Yale University Sender: monnier@rum.cs.yale.edu Message-ID: <5lvgl32hdu.fsf@rum.cs.yale.edu> 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 NNTP-Posting-Host: rum.cs.yale.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 X-Original-NNTP-Posting-Host: rum.cs.yale.edu X-Original-Trace: 8 Jul 2001 18:19:42 -0400, rum.cs.yale.edu Xref: archiver1.google.com comp.sys.dec:5401 comp.unix.tru64:3226 comp.arch:13323 >>>>> "Larry" == Larry Kilgallen writes: > "Getting rid of" a language-required check is difficult (unless the > number being converted from something large to byte is known at > compile time). It's not more difficult than eliminating array bounds checks. > Certainly compilers can interleave computational steps with load-store > steps for CPUs with multiple execution steps. But if they were not > interleaving the checks for "fitting" into a bytes, they could be > doing something else with those CPU resources. But those checks do not impede data-flow, so they can be done in parallel with pretty much anything. Given the amount of unexploited issue-slots in current processors, the few added instructions tend to cost less than it would seem at first. Of course, for embedded systems the situation might be very different. I don't want to sound like all those bounds checks come for free, but that given a good enough optimizer they can often be made cheap enough that it doesn't make much sense to add special-purpose support for it in the ISA. Stefan