Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch > #32360

Re: CLU (clamping logic unit) -- An idea to aid in prefetch operations

From Anonymous <no_email@invalid.invalid>
Newsgroups comp.arch
Subject Re: CLU (clamping logic unit) -- An idea to aid in prefetch operations
Date 2016-01-01 01:00 +0000
Message-ID <dem1e4Fke12U1@mid.individual.net> (permalink)
References <99749576-6d5c-4df7-b5d2-c6836024a787@googlegroups.com> <cd815b09-b95d-484b-9841-e4c762d2a98c@googlegroups.com> <4de964d8-f7ac-4991-ba0a-dc633fd9954b@googlegroups.com>

Show all headers | View raw


Rick C. Hodgin <rick.c.hodgin@gmail.com> wrote:
> On Thursday, December 31, 2015 at 11:08:25 AM UTC-5, MitchAlsup wrote:
>> On Wednesday, December 30, 2015 at 11:21:45 AM UTC-6, Rick C. Hodgin wrote:
>>> I call this "clamping" because it arbitrary clamps its count value at
>>> the indicated maximum, though the concept may already exist and have
>>> a different name.
>> 
>> The real name is "saturation". Saturation can also prevent integer overflows
>> but it has to be attached to the integer operation that would overflow
>> because once overflow has happened, saturation cannot be applied "easily".
>> Floating point saturation can be done "after the fact".
> 
> Saturation is a different concept, in that if a value exceeds its target
> it is saturated to the maximum, or minimum.  Clamping relates to an
> arbitrary maximum range defined within the clamping register, such that
> when the count in that register reaches its clamp value, it wraps to 0,
> or when it reaches 0 it wraps to the clamp value.

type cyclic is mod 19;
a  : cyclic := 18;
b : cyclic  := 0;
...
a := a+1; -- with effect a := 0
b := b-1; -- with effect b:= 18
 
Guess the language!

-- 
Bill Findlay

Back to comp.arch | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

CLU (clamping logic unit) -- An idea to aid in prefetch operations "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-12-30 09:21 -0800
  Re: CLU (clamping logic unit) -- An idea to aid in prefetch operations Quadibloc <jsavard@ecn.ab.ca> - 2015-12-30 09:38 -0800
  Re: CLU (clamping logic unit) -- An idea to aid in prefetch operations EricP <ThatWouldBeTelling@thevillage.com> - 2015-12-30 13:06 -0500
  Re: CLU (clamping logic unit) -- An idea to aid in prefetch operations MitchAlsup <MitchAlsup@aol.com> - 2015-12-31 08:08 -0800
    Re: CLU (clamping logic unit) -- An idea to aid in prefetch operations Quadibloc <jsavard@ecn.ab.ca> - 2015-12-31 08:18 -0800
    Re: CLU (clamping logic unit) -- An idea to aid in prefetch operations "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-12-31 08:19 -0800
      Re: CLU (clamping logic unit) -- An idea to aid in prefetch operations Anonymous <no_email@invalid.invalid> - 2016-01-01 01:00 +0000
        Re: CLU (clamping logic unit) -- An idea to aid in prefetch operations "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-12-31 17:23 -0800
          Re: CLU (clamping logic unit) -- An idea to aid in prefetch operations Anonymous <no_email@invalid.invalid> - 2016-01-01 01:33 +0000
            Re: CLU (clamping logic unit) -- An idea to aid in prefetch operations Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-01 11:30 +0100
    Re: CLU (clamping logic unit) -- An idea to aid in prefetch operations "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-12-31 08:23 -0800
      Re: CLU (clamping logic unit) -- An idea to aid in prefetch operations "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-12-31 08:29 -0800
      Re: CLU (clamping logic unit) -- An idea to aid in prefetch operations Quadibloc <jsavard@ecn.ab.ca> - 2015-12-31 11:33 -0800
    Re: CLU (clamping logic unit) -- An idea to aid in prefetch operations "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-01-02 11:21 -0800
      Re: CLU (clamping logic unit) -- An idea to aid in prefetch operations MitchAlsup <MitchAlsup@aol.com> - 2016-01-02 12:04 -0800
        Re: CLU (clamping logic unit) -- An idea to aid in prefetch operations "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-01-02 12:24 -0800
        Re: CLU (clamping logic unit) -- An idea to aid in prefetch operations anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-03 15:34 +0000
          Re: CLU (clamping logic unit) -- An idea to aid in prefetch operations MitchAlsup <MitchAlsup@aol.com> - 2016-01-03 14:33 -0800

csiph-web