Expensive bounds checking (was: Unsafe Optimizations

prins@prins.cs.unc.edu (Jan Prins)
Fri, 15 Jun 90 05:20:29 GMT

          From comp.compilers

Related articles
Expensive bounds checking (was: Unsafe Optimizations prins@prins.cs.unc.edu (1990-06-15)
Re: Expensive bounds checking (was: Unsafe Optimizations mccalpin@vax1.udel.edu (1990-06-15)
| List of all articles for this month |
Newsgroups: comp.compilers
From: prins@prins.cs.unc.edu (Jan Prins)
References: <1990Jun13.143951.2129@esegue.segue.boston.ma.us>
Date: Fri, 15 Jun 90 05:20:29 GMT
Organization: University of North Carolina, Chapel Hill
Keywords: superscalar, bounds checking

James Larus writes in <1990Jun14.152939.2578@esegue.segue.boston.ma.us>:


> [discussion of Gupta's Sigplan90 paper] ... After all optimizations were
>applied, programs with bounds checkings [still] ran 0-46% slower than
>programs without bounds checking (down from 78-325% slower). That's a
>pretty large performance degredation ...


Upcoming superscalar architectures offer an opportunity to perform bounds
checking concurrently with other operations. Propagating these checks out
of the critical path of computation (e.g. with techniques such as those
suggested by Gupta) may yield additional safety with little degradation.


It would make a nice change if the next generation of whizbang machines were
not only faster, but "safer" too!


--\-- Jan Prins (prins@cs.unc.edu) "The claim is `always'...
    / Computer Science Dept. ... no, wait, it is `never'..."
--\-- UNC Chapel Hill
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.