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


Groups > comp.arch > #29610

Re: Four significant reasons for a 12X word size

From Ivan Godard <ivan@millcomputing.com>
Newsgroups comp.arch
Subject Re: Four significant reasons for a 12X word size
Date 2015-09-01 15:36 -0700
Organization A noiseless patient Spider
Message-ID <ms595c$2q2$1@dont-email.me> (permalink)
References (2 earlier) <42f81d16-a8b4-422f-bd2d-3c4321936203@googlegroups.com> <mrajlc$3kb$1@dont-email.me> <01a1537f-9692-4de4-a967-61ac6ec23fd1@googlegroups.com> <ms500c$qmm$1@dont-email.me> <aa26b7f9-3128-46e2-862a-a2beb3b25802@googlegroups.com>

Show all headers | View raw


On 9/1/2015 1:29 PM, jim.brakefield@ieee.org wrote:
> On Tuesday, September 1, 2015 at 2:59:54 PM UTC-5, Ivan Godard
> wrote:
>> On 9/1/2015 12:34 PM, jim.brak...@ieee.org wrote:
>>
>>> A coding discipline alternative to rename registers is single
>>> use allocation of locals: No multiple writes to same location.
>>> A location either has a computed value or it doesn't.  Only
>>> difference from normal stack frame discipline is no reuse of
>>> locations in the stack frame.
>>>
>>> Haven't figured out how to handle loops other than treating each
>>> loop as a separate "subroutine call".
>>>
>>> The Sparc has some of this character, albeit, limited to eight
>>> words of parameters/results and eight words of locals, not enough
>>> locals I think.
>> How is this different from the Mill belt?
>
> Well, the Mill has a mechanism for moving items from the belt to a
> scratch pad.  Here, the "scratch pad" is part of the direct page
> rather than separate.

The scratchpad offers the encoding density of a direct page, with a few 
advantages. First, the size is member specific rather than being fixed 
in the architecture, so more complex and powerful chips can have more of 
it. Second, because the scratchpad is private and local to the frame, 
there is no question about sharing (in muticore), access rights, or page 
faults. Third, because the scratchpad is automatically and transparently 
saved (in background) with each call and restored with each return there 
is no possibility of stack overflow as in the direct page. Lastly, 
because the spill and fill operations are distinct from the store and 
load operations it is slightly easier (and quicker) to decode and issue 
scratchpad operations than direct page operations that must range-check 
the address and perhaps do an address-add if the direct page is being 
used as a stack. This matters in a phased architecture like the Mill, or 
in a skewed pipe architecture which would have similar concerns.

> Haven't studied the Mill documentation enough to figure out the
> implementation mechanisms for subroutine call and return.  Here it is
> "straight forward" stack frame creation and erasure.

It's done in the rename logic on a Mill, with lazy save/restore of 
values belonging to non-current frames. Of course, there is also a 
conventional user data stack in memory too, but only values whose 
address is taken wind up there so it is little used.

> Am not able to visualize how the "write once" "direct page" would map
> to multiple instruction per clock issue?  All though interleaved
> direct page to match multi-instruction parcels (basically "n" direct
> pages where "n" instructions can be issued per clock) is simple to
> visualize (at the ASIC level static RAMs are possible with multiple
> write ports and many read port, here am only considering static RAM
> with single write port and multiple read ports).

We saw that issue, and realized that spill/fill to memory (direct page 
or not) would clog up the caches and memory pathways. That led us to the 
scratchpad, which is SRAM and can have enough ports to handle the spill 
traffic, so long as the real memory traffic is out of the act.

> So there are many similarities between "write once stack frame
> locations" and the Mill's Belt.  Possibly they are very similar?

In your earlier post you identified the major difference: that loop 
bodies are similar to frames so you must provide some mechanism for some 
region that is per body iteration; per frame then is a degenerate case 
of that. The legacy approach is rotating registers a la SPARC or 
Itanium, but that is not write once. As loop counts are unbounded, 
rotation without overwrite implies unbounded storage needed for the 
bodies, a problem you apparently have not yet addressed to your 
satisfaction. On the Mill the belt is simply of fixed length, the code 
must deal with spill, and loop iterations have their own private space 
the same way that frames do. There are other possible solutions, some of 
which may be more apt for your intended target that the one we adopted.

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


Thread

Four significant reasons for a 12X word size jim.brakefield@ieee.org - 2015-08-21 20:11 -0700
  Re: Four significant reasons for a 12X word size MitchAlsup <MitchAlsup@aol.com> - 2015-08-22 10:18 -0700
    Re: Four significant reasons for a 12X word size Quadibloc <jsavard@ecn.ab.ca> - 2015-08-22 12:16 -0700
      Re: Four significant reasons for a 12X word size Ivan Godard <ivan@millcomputing.com> - 2015-08-22 12:49 -0700
        Re: Four significant reasons for a 12X word size jim.brakefield@ieee.org - 2015-09-01 12:34 -0700
          Re: Four significant reasons for a 12X word size Ivan Godard <ivan@millcomputing.com> - 2015-09-01 12:59 -0700
            Re: Four significant reasons for a 12X word size jim.brakefield@ieee.org - 2015-09-01 13:29 -0700
              Re: Four significant reasons for a 12X word size Ivan Godard <ivan@millcomputing.com> - 2015-09-01 15:36 -0700
                Re: Four significant reasons for a 12X word size jim.brakefield@ieee.org - 2015-09-01 17:07 -0700
                Re: Four significant reasons for a 12X word size Ivan Godard <ivan@millcomputing.com> - 2015-09-01 18:12 -0700
                Re: Four significant reasons for a 12X word size Quadibloc <jsavard@ecn.ab.ca> - 2015-09-01 20:39 -0700
                Re: Four significant reasons for a 12X word size Ivan Godard <ivan@millcomputing.com> - 2015-09-01 21:30 -0700
                Permute registers (was: Four significant reasons for a 12X word size) Stefan Monnier <monnier@iro.umontreal.ca> - 2015-09-04 15:36 -0400
                Re: Permute registers (was: Four significant reasons for a 12X word size) jim.brakefield@ieee.org - 2015-09-04 13:18 -0700
                Re: Permute registers Ivan Godard <ivan@millcomputing.com> - 2015-09-04 13:41 -0700
                Re: Permute registers Ivan Godard <ivan@millcomputing.com> - 2015-09-04 13:27 -0700
                Re: Four significant reasons for a 12X word size Ivan Godard <ivan@millcomputing.com> - 2015-09-01 18:15 -0700
                A good Mill intro (external) Ivan Godard <ivan@millcomputing.com> - 2015-09-01 18:43 -0700
                Re: Four significant reasons for a 12X word size Quadibloc <jsavard@ecn.ab.ca> - 2015-09-01 20:52 -0700
                Re: Four significant reasons for a 12X word size Bruce Hoult <bruce.hoult@gmail.com> - 2015-09-02 04:03 -0700
                Re: Four significant reasons for a 12X word size Quadibloc <jsavard@ecn.ab.ca> - 2015-09-02 05:59 -0700
                Re: Four significant reasons for a 12X word size Quadibloc <jsavard@ecn.ab.ca> - 2015-09-02 06:11 -0700
                Re: Four significant reasons for a 12X word size Bruce Hoult <bruce.hoult@gmail.com> - 2015-09-02 07:15 -0700
                Re: Four significant reasons for a 12X word size Chris Gray <cg@GraySage.COM> - 2015-09-02 10:42 -0600
                Re: Four significant reasons for a 12X word size Anssi Saari <as@sci.fi> - 2015-09-03 11:32 +0300
                Re: Four significant reasons for a 12X word size Quadibloc <jsavard@ecn.ab.ca> - 2015-09-02 10:03 -0700
                Re: Four significant reasons for a 12X word size Bruce Hoult <bruce.hoult@gmail.com> - 2015-09-02 11:54 -0700
                Re: Four significant reasons for a 12X word size Chris Gray <cg@GraySage.COM> - 2015-09-03 11:00 -0600
                Re: Four significant reasons for a 12X word size Bruce Hoult <bruce.hoult@gmail.com> - 2015-09-03 10:11 -0700
                Re: Four significant reasons for a 12X word size Jan Coombs <Jan-54 <jenfhaomndgfwutc@murmic.plus.com>> - 2015-09-04 09:35 +0100
      Re: Four significant reasons for a 12X word size jim.brakefield@ieee.org - 2015-08-22 12:51 -0700
        Re: Four significant reasons for a 12X word size Quadibloc <jsavard@ecn.ab.ca> - 2015-08-22 13:11 -0700
          Re: Four significant reasons for a 12X word size BGB <cr88192@hotmail.com> - 2015-08-23 11:14 -0500
            Re: Four significant reasons for a 12X word size jim.brakefield@ieee.org - 2015-08-23 11:13 -0700
              Re: Four significant reasons for a 12X word size BGB <cr88192@hotmail.com> - 2015-08-23 14:33 -0500
                Re: Four significant reasons for a 12X word size thomas.entner99@gmail.com - 2015-08-23 16:23 -0700
                Re: Four significant reasons for a 12X word size Quadibloc <jsavard@ecn.ab.ca> - 2015-08-23 17:43 -0700
                Re: Four significant reasons for a 12X word size thomas.entner99@gmail.com - 2015-08-23 18:00 -0700
                Re: Four significant reasons for a 12X word size jim.brakefield@ieee.org - 2015-08-23 19:14 -0700
                Re: Four significant reasons for a 12X word size BGB <cr88192@hotmail.com> - 2015-08-23 20:00 -0500
                Re: Four significant reasons for a 12X word size Bruce Hoult <bruce.hoult@gmail.com> - 2015-08-24 04:59 -0700
                Re: Four significant reasons for a 12X word size Terje Mathisen <terje.mathisen@tmsw.no> - 2015-08-24 18:45 +0200
                Re: Four significant reasons for a 12X word size nmm@needham.csi.cam.ac.uk (Nick Maclaren) - 2015-08-24 19:09 +0100
                Re: Four significant reasons for a 12X word size jim.brakefield@ieee.org - 2015-08-24 13:31 -0700
                Re: Four significant reasons for a 12X word size Quadibloc <jsavard@ecn.ab.ca> - 2015-08-24 14:09 -0700
                Re: Four significant reasons for a 12X word size jgd@cix.co.uk (John Dallman) - 2015-08-24 22:26 +0100
                Re: Four significant reasons for a 12X word size anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-08-25 10:29 +0000
                Re: Four significant reasons for a 12X word size Quadibloc <jsavard@ecn.ab.ca> - 2015-08-24 16:22 -0700
                Re: Four significant reasons for a 12X word size MitchAlsup <MitchAlsup@aol.com> - 2015-08-24 16:58 -0700
                Re: Four significant reasons for a 12X word size Quadibloc <jsavard@ecn.ab.ca> - 2015-08-24 18:48 -0700
                Re: Four significant reasons for a 12X word size anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-08-25 09:04 +0000
                Re: Four significant reasons for a 12X word size BGB <cr88192@hotmail.com> - 2015-08-25 09:32 -0500
                Re: Four significant reasons for a 12X word size Bruce Hoult <bruce.hoult@gmail.com> - 2015-08-25 10:30 -0700
                Re: Four significant reasons for a 12X word size Terje Mathisen <terje.mathisen@tmsw.no> - 2015-08-25 21:27 +0200
                Re: Four significant reasons for a 12X word size Bruce Hoult <bruce.hoult@gmail.com> - 2015-08-25 13:51 -0700
                Re: Four significant reasons for a 12X word size Terje Mathisen <terje.mathisen@tmsw.no> - 2015-08-26 08:31 +0200
                Re: Four significant reasons for a 12X word size MitchAlsup <MitchAlsup@aol.com> - 2015-08-25 16:56 -0700
                Re: Four significant reasons for a 12X word size Ivan Godard <ivan@millcomputing.com> - 2015-08-25 17:36 -0700
                Re: Four significant reasons for a 12X word size BGB <cr88192@hotmail.com> - 2015-08-25 20:10 -0500
                Re: Four significant reasons for a 12X word size Bruce Hoult <bruce.hoult@gmail.com> - 2015-08-26 02:41 -0700
                Re: Four significant reasons for a 12X word size BGB <cr88192@hotmail.com> - 2015-08-26 09:28 -0500
                Re: Four significant reasons for a 12X word size Waldek Hebisch <hebisch@antispam.uni.wroc.pl> - 2015-08-27 00:53 +0000
                Re: Four significant reasons for a 12X word size jgk@panix.com (Joe keane) - 2015-08-25 18:30 +0000
                Re: Four significant reasons for a 12X word size Terje Mathisen <terje.mathisen@tmsw.no> - 2015-08-25 21:31 +0200
                Re: Four significant reasons for a 12X word size BGB <cr88192@hotmail.com> - 2015-08-25 20:40 -0500
                Re: Four significant reasons for a 12X word size anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-08-26 09:24 +0000
                Re: Four significant reasons for a 12X word size BGB <cr88192@hotmail.com> - 2015-08-26 08:09 -0500
                Re: Four significant reasons for a 12X word size anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-08-26 14:35 +0000
                Re: Four significant reasons for a 12X word size BGB <cr88192@hotmail.com> - 2015-08-26 10:29 -0500
                Re: Four significant reasons for a 12X word size anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-08-26 16:17 +0000
                Re: Four significant reasons for a 12X word size BGB <cr88192@hotmail.com> - 2015-08-26 17:42 -0500
                Re: Four significant reasons for a 12X word size anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-08-27 13:51 +0000
                Re: Four significant reasons for a 12X word size BGB <cr88192@hotmail.com> - 2015-08-27 10:50 -0500
                Re: Four significant reasons for a 12X word size Michael S <already5chosen@yahoo.com> - 2015-08-28 04:44 -0700
                Re: Four significant reasons for a 12X word size BGB <cr88192@hotmail.com> - 2015-08-28 08:22 -0500
                Re: Four significant reasons for a 12X word size Terje Mathisen <terje.mathisen@tmsw.no> - 2015-08-26 22:32 +0200
                Re: Four significant reasons for a 12X word size BGB <cr88192@hotmail.com> - 2015-08-26 18:25 -0500
                Re: Four significant reasons for a 12X word size anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-08-26 09:15 +0000
                Re: Four significant reasons for a 12X word size Quadibloc <jsavard@ecn.ab.ca> - 2015-08-26 06:28 -0700
                Re: Four significant reasons for a 12X word size anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-08-26 13:54 +0000
                Re: Four significant reasons for a 12X word size BGB <cr88192@hotmail.com> - 2015-08-26 09:53 -0500
                Re: Four significant reasons for a 12X word size Stefan Monnier <monnier@iro.umontreal.ca> - 2015-08-28 11:22 -0400
                Re: Four significant reasons for a 12X word size BGB <cr88192@hotmail.com> - 2015-08-28 16:09 -0500
                Re: Four significant reasons for a 12X word size Terje Mathisen <terje.mathisen@tmsw.no> - 2015-08-29 14:54 +0200
                character encoding (was: Four significant reasons for a 12X word size) anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-08-29 14:05 +0000
                Re: character encoding Terje Mathisen <terje.mathisen@tmsw.no> - 2015-08-29 19:10 +0200
                Re: character encoding nmm@needham.csi.cam.ac.uk (Nick Maclaren) - 2015-08-29 18:25 +0100
                Re: character encoding Terje Mathisen <terje.mathisen@tmsw.no> - 2015-08-29 21:03 +0200
                Re: character encoding Ivan Godard <ivan@millcomputing.com> - 2015-08-29 10:32 -0700
                Re: character encoding nmm@needham.csi.cam.ac.uk (Nick Maclaren) - 2015-08-29 18:37 +0100
                Re: character encoding Ivan Godard <ivan@millcomputing.com> - 2015-08-29 10:53 -0700
                Re: character encoding nmm@needham.csi.cam.ac.uk (Nick Maclaren) - 2015-08-29 19:12 +0100
                Re: character encoding anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-08-29 17:35 +0000
                Re: character encoding Ivan Godard <ivan@millcomputing.com> - 2015-08-29 10:44 -0700
                Re: character encoding anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-08-29 17:55 +0000
                Re: character encoding anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-08-31 11:23 +0000
                Re: character encoding Terje Mathisen <terje.mathisen@tmsw.no> - 2015-08-31 14:18 +0200
                Re: character encoding Terje Mathisen <terje.mathisen@tmsw.no> - 2015-08-29 21:20 +0200
                Re: character encoding Terje Mathisen <terje.mathisen@tmsw.no> - 2015-08-29 21:11 +0200
                Re: Four significant reasons for a 12X word size BGB <cr88192@hotmail.com> - 2015-08-29 12:19 -0500
                Re: Four significant reasons for a 12X word size Quadibloc <jsavard@ecn.ab.ca> - 2015-08-29 07:41 -0700
                Re: Four significant reasons for a 12X word size Terje Mathisen <terje.mathisen@tmsw.no> - 2015-08-29 19:12 +0200
                Re: Four significant reasons for a 12X word size nmm@needham.csi.cam.ac.uk (Nick Maclaren) - 2015-08-29 18:23 +0100
                Re: Four significant reasons for a 12X word size BGB <cr88192@hotmail.com> - 2015-08-29 17:17 -0500
                Re: Four significant reasons for a 12X word size George Neuner <gneuner2@comcast.net> - 2015-08-29 14:57 -0400
                Re: Four significant reasons for a 12X word size jim.brakefield@ieee.org - 2015-08-29 12:40 -0700
                Re: Four significant reasons for a 12X word size Terje Mathisen <terje.mathisen@tmsw.no> - 2015-08-30 00:05 +0200
                Re: Four significant reasons for a 12X word size EricP <ThatWouldBeTelling@thevillage.com> - 2015-08-24 13:16 -0400
                Re: Four significant reasons for a 12X word size EricP <ThatWouldBeTelling@thevillage.com> - 2015-08-24 13:29 -0400
                Re: Four significant reasons for a 12X word size mrs@kithrup.com (Mike Stump) - 2015-08-24 21:32 +0000
                Re: Four significant reasons for a 12X word size Terje Mathisen <terje.mathisen@tmsw.no> - 2015-08-25 08:49 +0200
                Re: Four significant reasons for a 12X word size mrs@kithrup.com (Mike Stump) - 2015-08-25 22:43 +0000
                Re: Four significant reasons for a 12X word size EricP <ThatWouldBeTelling@thevillage.com> - 2015-08-25 21:55 -0400
                Re: Four significant reasons for a 12X word size paul wallich <pw@panix.com> - 2015-08-25 22:12 -0400
                Re: Four significant reasons for a 12X word size EricP <ThatWouldBeTelling@thevillage.com> - 2015-08-26 13:54 -0400
                Re: Four significant reasons for a 12X word size Stephen Fuld <SFuld@alumni.cmu.edu.invalid> - 2015-08-26 11:47 -0700
                Re: Four significant reasons for a 12X word size mac <acolvin@efunct.com> - 2015-08-27 16:15 +0000
                Re: Four significant reasons for a 12X word size Stephen Fuld <SFuld@alumni.cmu.edu.invalid> - 2015-08-27 10:44 -0700
                Re: Four significant reasons for a 12X word size rpw3@rpw3.org (Rob Warnock) - 2015-08-28 06:09 +0000
                Re: Four significant reasons for a 12X word size EricP <ThatWouldBeTelling@thevillage.com> - 2015-08-28 12:23 -0400
                Re: Four significant reasons for a 12X word size Terje Mathisen <terje.mathisen@tmsw.no> - 2015-08-26 08:37 +0200
                Re: Four significant reasons for a 12X word size mrs@kithrup.com (Mike Stump) - 2015-08-26 22:54 +0000
                Re: Four significant reasons for a 12X word size Terje Mathisen <terje.mathisen@tmsw.no> - 2015-08-27 07:48 +0200
                Re: Four significant reasons for a 12X word size mrs@kithrup.com (Mike Stump) - 2015-08-27 16:30 +0000
                Re: Four significant reasons for a 12X word size jim.brakefield@ieee.org - 2015-08-23 19:09 -0700
                Re: Four significant reasons for a 12X word size Megol <golem960@gmail.com> - 2015-08-24 04:32 -0700
                Re: Four significant reasons for a 12X word size R Kym Horsell <kym@kymhorsell.com> - 2015-08-24 11:37 +0000
  Re: Four significant reasons for a 12X word size Quadibloc <jsavard@ecn.ab.ca> - 2015-08-22 12:56 -0700
    Re: Four significant reasons for a 12X word size Quadibloc <jsavard@ecn.ab.ca> - 2015-08-22 13:10 -0700
    Re: Four significant reasons for a 12X word size Quadibloc <jsavard@ecn.ab.ca> - 2015-08-22 17:17 -0700
    Re: Four significant reasons for a 12X word size jim.brakefield@ieee.org - 2015-08-22 19:59 -0700
      Re: Four significant reasons for a 12X word size jim.brakefield@ieee.org - 2015-09-01 12:47 -0700
  Re: Four significant reasons for a 12X word size jim.brakefield@ieee.org - 2015-08-22 20:10 -0700
  Re: Four significant reasons for a 12X word size Robert Wessel <robertwessel2@yahoo.com> - 2015-08-23 21:41 -0500
    Re: Four significant reasons for a 12X word size BGB <cr88192@hotmail.com> - 2015-08-24 10:53 -0500
  Re: Four significant reasons for a 12X word size Robert Miles <robertmilesxyz@gmail.com> - 2015-08-26 17:39 -0700
    Re: Four significant reasons for a 12X word size Terje Mathisen <terje.mathisen@tmsw.no> - 2015-08-27 07:52 +0200
      Re: Four significant reasons for a 12X word size spamkiller539@gmail.com - 2015-08-27 20:00 -0700

csiph-web