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


Groups > comp.arch > #29292 > unrolled thread

Four significant reasons for a 12X word size

Started byjim.brakefield@ieee.org
First post2015-08-21 20:11 -0700
Last post2015-08-27 20:00 -0700
Articles 20 on this page of 138 — 30 participants

Back to article view | Back to comp.arch


Contents

  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

Page 1 of 7  [1] 2 3 4 5 6 7  Next page →


#29292 — Four significant reasons for a 12X word size

Fromjim.brakefield@ieee.org
Date2015-08-21 20:11 -0700
SubjectFour significant reasons for a 12X word size
Message-ID<95ba0003-95e2-4b06-837a-96b746634836@googlegroups.com>
There are several threads on comp.arch that push for 12X word sizing.
Mostly in the context of floating point.

A list of four categories of 12X advocacy:
1) Floating point
2) Address range
3) UTF-12 in place of UTF-8
4) A migration path for legacy 8X processors

1) Floating-point:
24-bit fltg-pt is much superior to 16-bit floats
     And 12-bit fltg-pt would be a useful storage format for high dynamic range video
36-bit fltg-pt is more useful than 32-bit floats
     32-bit fltg-pt is weak on accuracy
48-bit fltg-pt is a useful alternative to 64-bit floats
     Sufficient mantissa accuracy with less/faster logic

2) Address range:
24-bit addressing is adequate for a large fraction of embedded applications
48-bit addressing is sufficient for all but the largest super-computers
     Tera-bit memory chips may be on the horizon, still it would take 3072 of them to make a full 48-bit memory space.

3) It is time for Unicode to move beyond UTF-8:
A 12-bit character allows a UTF-12 code with 2048 characters in 12 bits and 1M characters in 24 bits.  Many programming languages support Unicode symbols and UTF-12 gathers most of the non-Asian characters.  

See http://www.quadibloc.com/arch/per02.htm  for such an allocation (as well as the 12X floating-point sizing).

4) Many users of 8 and 16-bit legacy processors would welcome an migration alternative to x86 and ARM 32 and 64-bit processors.  For implementation, one simply takes an existing 8X granularity instruction set and migrates it to 12X granularity.  Thus every legacy processor can have its own migration path.  Everyone gets to stay within their comfort zone.


Taken together one has not one reason for 12X, rather four distinct reasons, each solving a significant issue.


Jim Brakefield

[toc] | [next] | [standalone]


#29293

FromMitchAlsup <MitchAlsup@aol.com>
Date2015-08-22 10:18 -0700
Message-ID<12c3738f-a044-4b7c-ab18-2bd0879c0013@googlegroups.com>
In reply to#29292
On Friday, August 21, 2015 at 10:11:36 PM UTC-5, jim.bra...@ieee.org wrote:
> There are several threads on comp.arch that push for 12X word sizing.

Bring on the VLIW PDP-8

[toc] | [prev] | [next] | [standalone]


#29294

FromQuadibloc <jsavard@ecn.ab.ca>
Date2015-08-22 12:16 -0700
Message-ID<42f81d16-a8b4-422f-bd2d-3c4321936203@googlegroups.com>
In reply to#29293
On Saturday, August 22, 2015 at 11:18:09 AM UTC-6, MitchAlsup wrote:

> Bring on the VLIW PDP-8

LOL! I'll heartily agree that such an architecture would not be a particularly 
good way to achieve high performance.

Nor would even something seemingly more reasonable, like a VLIW SDS 9300. A 
memory to accumulator architecture places a needless barrier to effective 
pipelining in place.

John Savard

[toc] | [prev] | [next] | [standalone]


#29295

FromIvan Godard <ivan@millcomputing.com>
Date2015-08-22 12:49 -0700
Message-ID<mrajlc$3kb$1@dont-email.me>
In reply to#29294
On 8/22/2015 12:16 PM, Quadibloc wrote:
> On Saturday, August 22, 2015 at 11:18:09 AM UTC-6, MitchAlsup wrote:
>
>> Bring on the VLIW PDP-8
>
> LOL! I'll heartily agree that such an architecture would not be a particularly
> good way to achieve high performance.
>
> Nor would even something seemingly more reasonable, like a VLIW SDS 9300. A
> memory to accumulator architecture places a needless barrier to effective
> pipelining in place.
>
> John Savard
>

It would be a reasonably compact encoding for a microcoded GR machine. 
Once the accumulator model was converted to lots of rename registers 
then it should do as well as e.g. x86. You would miss the ability to 
hold persistent data in architected registers, but if you defined a 
region of memory with one-cycle access (and encoded a compact way to 
reach it, e.g. zero page) then that problem goes away too.

These days few machines are intended for native execution; everybody 
renames/translates. The Mill is iconoclastic in this, as in other things :-)

[toc] | [prev] | [next] | [standalone]


#29605

Fromjim.brakefield@ieee.org
Date2015-09-01 12:34 -0700
Message-ID<01a1537f-9692-4de4-a967-61ac6ec23fd1@googlegroups.com>
In reply to#29295
On Saturday, August 22, 2015 at 2:49:43 PM UTC-5, Ivan Godard wrote:
> On 8/22/2015 12:16 PM, Quadibloc wrote:
> > On Saturday, August 22, 2015 at 11:18:09 AM UTC-6, MitchAlsup wrote:
> >
> >> Bring on the VLIW PDP-8
> >
> > LOL! I'll heartily agree that such an architecture would not be a particularly
> > good way to achieve high performance.
> >
> > Nor would even something seemingly more reasonable, like a VLIW SDS 9300. A
> > memory to accumulator architecture places a needless barrier to effective
> > pipelining in place.
> >
> > John Savard
> >
> 
> It would be a reasonably compact encoding for a microcoded GR machine. 
> Once the accumulator model was converted to lots of rename registers 
> then it should do as well as e.g. x86. You would miss the ability to 
> hold persistent data in architected registers, but if you defined a 
> region of memory with one-cycle access (and encoded a compact way to 
> reach it, e.g. zero page) then that problem goes away too.
> 
> These days few machines are intended for native execution; everybody 
> renames/translates. The Mill is iconoclastic in this, as in other things :-)

A "zero" or "direct" page could be 4096 locations.  This much space would be enough for global and local variables for embedded applications (arrays and strings located elsewhere).  For larger applications one would want a sliding direct page (sliding at least a cache or DRAM line at a time).

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.

Jim Brakefield

[toc] | [prev] | [next] | [standalone]


#29607

FromIvan Godard <ivan@millcomputing.com>
Date2015-09-01 12:59 -0700
Message-ID<ms500c$qmm$1@dont-email.me>
In reply to#29605
On 9/1/2015 12:34 PM, jim.brakefield@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?

[toc] | [prev] | [next] | [standalone]


#29608

Fromjim.brakefield@ieee.org
Date2015-09-01 13:29 -0700
Message-ID<aa26b7f9-3128-46e2-862a-a2beb3b25802@googlegroups.com>
In reply to#29607
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.

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.

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).

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

Jim Brakefield

[toc] | [prev] | [next] | [standalone]


#29610

FromIvan Godard <ivan@millcomputing.com>
Date2015-09-01 15:36 -0700
Message-ID<ms595c$2q2$1@dont-email.me>
In reply to#29608
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.

[toc] | [prev] | [next] | [standalone]


#29611

Fromjim.brakefield@ieee.org
Date2015-09-01 17:07 -0700
Message-ID<8d8d20c3-fb88-470e-8e0e-3ebee934925e@googlegroups.com>
In reply to#29610
On Tuesday, September 1, 2015 at 5:36:10 PM UTC-5, Ivan Godard wrote:
> On 9/1/2015 1:29 PM, jim.brak...@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.

Rename logic: looks like the Mill has taken renaming to a new level: stack frames (subroutine entry & exit) and loop buffers (are the buffers renamed rather than the individual contents?) and belt contents.  With so much renaming, wonder if there is a general mechanism (e.g., a separate mapping table from "names" to RAM locations)?  And is data fetch from RAM a two clock cycle process (am not sure if the clock is a major cycle clock or a minor cycle clock)?

Of course with sufficient memory organization and page address adders, loop buffers can be mapped to direct page memory.  However, a highly parallel Mill is likely to need more than a single direct page of RAM, so direct page memory layout would likely to be modified for each increment of instruction dispatch bandwidth (which could be handled by the compiler, however keeping the instruction format consistent across dispatch width is likely to be difficult).

Spill/fill bandwidth: looks like the Mill design trade-offs have been thoroughly vetted by simulations and performance studies.  Looks like a portion or all of one of the caches is dedicated to spill/fill.  So can one consider this cache equivalent to a large "direct page"?  And the belt and scratch pad similar in function to RISC registers?

Ugh, RE: "few machines (today) are intended for native execution": my interests seem to be trying to maintain a bridge between the "small" and cost constrained embedded computer and the "large" performance oriented GP computer.  This is what IBM did with the 360.  Compiler technology has advanced since the 360 and it appears that "C" like languages can now be compiled to 8, 16, 32 or 64-bit register size machines with equal facility (and thus instruction set compatibility no longer matters).

Jim Brakefield

[toc] | [prev] | [next] | [standalone]


#29612

FromIvan Godard <ivan@millcomputing.com>
Date2015-09-01 18:12 -0700
Message-ID<ms5iar$seg$1@dont-email.me>
In reply to#29611
On 9/1/2015 5:07 PM, jim.brakefield@ieee.org wrote:

> Rename logic: looks like the Mill has taken renaming to a new level:
> stack frames (subroutine entry & exit) and loop buffers (are the
> buffers renamed rather than the individual contents?) and belt
> contents.

Renaming applies only to the belt; on a conventional it applies only to 
the registers, an analogous choice. Similarly only the belt and 
scratchpad are transparently saved/restored at call or iteration. Stack 
frame (memory) contents persist normally. Belt, scatchpad, and frame are 
different mechanisms for different purposes: short-lived transient 
operands; long-lived transient operands; and persistent data referenced 
by address, respectively.

> With so much renaming, wonder if there is a general
> mechanism (e.g., a separate mapping table from "names" to RAM
> locations)?  And is data fetch from RAM a two clock cycle process (am
> not sure if the clock is a major cycle clock or a minor cycle
> clock)?

There is mapping from logical belt numbers to internal (non-memory) 
physical locations, such as ALU output latches. In this the hardware 
structure is essentially identical to the bypass circuitry of a 
conventional. Memory is not renamed, but rather little data is in 
memory. For example, most functions have no frame, because no declared 
local data ever has its address taken.

> Of course with sufficient memory organization and page address
> adders, loop buffers can be mapped to direct page memory.  However, a
> highly parallel Mill is likely to need more than a single direct page
> of RAM, so direct page memory layout would likely to be modified for
> each increment of instruction dispatch bandwidth (which could be
> handled by the compiler, however keeping the instruction format
> consistent across dispatch width is likely to be difficult).


That's why the scratchpad has a tapeout-time configurable size.

> Spill/fill bandwidth: looks like the Mill design trade-offs have been
> thoroughly vetted by simulations and performance studies.  Looks like
> a portion or all of one of the caches is dedicated to spill/fill.

Scratchpad is not cache, and is not part of memory; you cannot take its 
address nor index into it. It is purely a place to put transient data 
whose lifetime is longer than its belt residence. It is a store of 
operands, not a store of bytes; you say "take this" and later say "I 
want it back".

> So
> can one consider this cache equivalent to a large "direct page"?  And
> the belt and scratch pad similar in function to RISC registers?

Scratchpad is not equivalent to a direct page, because you can do things 
with a direct page that scratchpad does not support: access data at 
arbitrary byte addresses and sizes; construct and use pointers to it; 
use general effective address forms, such as indexing; and cache the 
data. Conversely, scratchpad can do some things that direct pages 
cannot: hold metadata for an object as well as its data; address by 
object as opposed to by byte; use much more compact encodings (10-12 
bits/operation typical) for references; and be much faster and lower 
power than memory references.

 > And
 > the belt and scratch pad similar in function to RISC registers?

The belt has one similar purpose to RISC registers, in that it is a 
place to keep transient operands temporarily until their final use. 
However, RISC registers have other purposes not shared by the belt, 
namely to hold persistent and pervasive data across function calls (for 
speed of access), and to hold administrative data such as program 
counters or stack pointers, which are not on the belt on a Mill.


> Ugh, RE: "few machines (today) are intended for native execution": my
> interests seem to be trying to maintain a bridge between the "small"
> and cost constrained embedded computer and the "large" performance
> oriented GP computer.  This is what IBM did with the 360.  Compiler
> technology has advanced since the 360 and it appears that "C" like
> languages can now be compiled to 8, 16, 32 or 64-bit register size
> machines with equal facility (and thus instruction set compatibility
> no longer matters).

Compatibility no longer matters at the source level for 
standard-conforming programs that do not use implementation-defined 
features. Such programs are hard to find; I doubt you have ever written 
one :-) Compatibility also matters when third party binaries must be 
part of the program. The Mill provides a family-compatible binary 
format, which is then specialized to the particular target at load or 
install time. This approach provides native execution for power and 
performance, while binaries are compatible across a very large model family.


[toc] | [prev] | [next] | [standalone]


#29615

FromQuadibloc <jsavard@ecn.ab.ca>
Date2015-09-01 20:39 -0700
Message-ID<1bf955ad-eb21-4a39-9824-ba71a172adf2@googlegroups.com>
In reply to#29612
On Tuesday, September 1, 2015 at 7:12:42 PM UTC-6, Ivan Godard wrote:
> On 9/1/2015 5:07 PM, jim.brakefield@ieee.org wrote:

> > Rename logic: looks like the Mill has taken renaming to a new level:
> > stack frames (subroutine entry & exit) and loop buffers (are the
> > buffers renamed rather than the individual contents?) and belt
> > contents.

> Renaming applies only to the belt; on a conventional it applies only to 
> the registers, an analogous choice.

The way I understood it was that the Belt was intended to be superior to the 
kind of register renaming done in an out-of-order processor for two reasons:

1) It's explicit in the code the processor executes; the processor doesn't have 
to figure out, on-the-fly, what it can and should rename; and

2) It's intended to make the Mill operate about as efficiently as a *dataflow* 
machine, which is considerably better performance than even OoO designs hope to 
achieve.

I may not have understood it correctly, and I'm not fully confident the Mill 
will actually achieve goal (2), as it's a rather ambitious one, but I think 
that the Belt is definitely different from register renaming in significant 
ways, even if there are some similarities.

John Savard

[toc] | [prev] | [next] | [standalone]


#29617

FromIvan Godard <ivan@millcomputing.com>
Date2015-09-01 21:30 -0700
Message-ID<ms5tta$kpc$1@dont-email.me>
In reply to#29615
On 9/1/2015 8:39 PM, Quadibloc wrote:
> On Tuesday, September 1, 2015 at 7:12:42 PM UTC-6, Ivan Godard wrote:
>> On 9/1/2015 5:07 PM, jim.brakefield@ieee.org wrote:
>
>>> Rename logic: looks like the Mill has taken renaming to a new level:
>>> stack frames (subroutine entry & exit) and loop buffers (are the
>>> buffers renamed rather than the individual contents?) and belt
>>> contents.
>
>> Renaming applies only to the belt; on a conventional it applies only to
>> the registers, an analogous choice.
>
> The way I understood it was that the Belt was intended to be superior to the
> kind of register renaming done in an out-of-order processor for two reasons:
>
> 1) It's explicit in the code the processor executes; the processor doesn't have
> to figure out, on-the-fly, what it can and should rename; and

Renaming on the Mill is not explicit in the code; the hardware maintains 
the rename map from logical names (belt numbers) in the code to physical 
names (data paths, mux control signals etc.) of the bypass. The program 
model seen by the application is a whopping big shift register 
containing all recent outputs, but that is not the actual implementation.

> 2) It's intended to make the Mill operate about as efficiently as a *dataflow*
> machine, which is considerably better performance than even OoO designs hope to
> achieve.

The Mill is internally a dataflow machine, as is an OOO machine 
internally too. For both the operations are matched with their operands 
by a symbolic mapper from logical to physical location. In both the 
performance limit, as in any dataflow machine, is bound by the number of 
pending operations and operands that can be in flight. The Mill 
advantage is that it can maintain a larger number of useful in-flights 
than an OOO, at lower cost in area, power, and logical complexity.


> I may not have understood it correctly, and I'm not fully confident the Mill
> will actually achieve goal (2), as it's a rather ambitious one, but I think
> that the Belt is definitely different from register renaming in significant
> ways, even if there are some similarities.
>
> John Savard
>

The belt is at the level of the architected registers of an OOO, in that 
they are both logical models, not a physical implementations. They 
differ in the way they determine operand lifetimes: the belt by being 
pushed into inaccessibility by new results, the OOO by being overwritten 
by a new result. Internally their handling of bypass data is near 
identical, while the handling of persistent data is very different: an 
OOO renames into a register file, and when necessary writes back to 
architected registers, while the Mill has no register file and when 
necessary explicitly spills to a scratchpad that does not exist on an OOO.

[toc] | [prev] | [next] | [standalone]


#29628 — Permute registers (was: Four significant reasons for a 12X word size)

FromStefan Monnier <monnier@iro.umontreal.ca>
Date2015-09-04 15:36 -0400
SubjectPermute registers (was: Four significant reasons for a 12X word size)
Message-ID<jwvio7qq9dz.fsf-monnier+comp.arch@gnu.org>
In reply to#29617
> The belt is at the level of the architected registers of an OOO, in that
> they are both logical models, not a physical implementations.  They differ in
> the way they determine operand lifetimes: the belt by being pushed into
> inaccessibility by new results, the OOO by being overwritten by a new
> result.  Internally their handling of bypass data is near identical, while
> the handling of persistent data is very different: an OOO renames
> into a register file, and when necessary writes back to architected
> registers, while the Mill has no register file and when necessary explicitly
> spills to a scratchpad that does not exist on an OOO.

I think another important difference is that the Mill can permute
registers efficiently (this is used for function calls/returns, IIUC,
and can be used "by hand" as well, basically implementing SSA's phi
functions).

IIUC the Mill can execute one such permutation every cycle and it seems
that these permutations can be very (arbitrarily?) complex.

Not sure if they have to be actual permutations (can two belt slots be
made to refer to the same result?).

I'm still unclear how this is meant to be implemented efficiently.
I guess the "permutation operation" installs a new "renaming table" from
belt slots to physical slots, but how this renaming table is created by
merging the previous one with the one provided by the instruction?

And how does the hardware figure out which physical slots to (re)use
(which ones are available)?  Maybe this can be done by looking at the
belt slots that just became inaccessible (so their corresponding
physical slots can go back to a pool of "free physical slot").
This presumes that either the renaming table is injective, or those belt
slots that share physical slots would need to be specially marked.


        Stefan

[toc] | [prev] | [next] | [standalone]


#29629 — Re: Permute registers (was: Four significant reasons for a 12X word size)

Fromjim.brakefield@ieee.org
Date2015-09-04 13:18 -0700
SubjectRe: Permute registers (was: Four significant reasons for a 12X word size)
Message-ID<a9784772-354c-4068-a864-f2dbea37e462@googlegroups.com>
In reply to#29628
On Friday, September 4, 2015 at 2:36:20 PM UTC-5, Stefan Monnier wrote:
> > The belt is at the level of the architected registers of an OOO, in that
> > they are both logical models, not a physical implementations.  They differ in
> > the way they determine operand lifetimes: the belt by being pushed into
> > inaccessibility by new results, the OOO by being overwritten by a new
> > result.  Internally their handling of bypass data is near identical, while
> > the handling of persistent data is very different: an OOO renames
> > into a register file, and when necessary writes back to architected
> > registers, while the Mill has no register file and when necessary explicitly
> > spills to a scratchpad that does not exist on an OOO.
> 
> I think another important difference is that the Mill can permute
> registers efficiently (this is used for function calls/returns, IIUC,
> and can be used "by hand" as well, basically implementing SSA's phi
> functions).
> 
> IIUC the Mill can execute one such permutation every cycle and it seems
> that these permutations can be very (arbitrarily?) complex.
> 
> Not sure if they have to be actual permutations (can two belt slots be
> made to refer to the same result?).
> 
> I'm still unclear how this is meant to be implemented efficiently.
> I guess the "permutation operation" installs a new "renaming table" from
> belt slots to physical slots, but how this renaming table is created by
> merging the previous one with the one provided by the instruction?
> 
> And how does the hardware figure out which physical slots to (re)use
> (which ones are available)?  Maybe this can be done by looking at the
> belt slots that just became inaccessible (so their corresponding
> physical slots can go back to a pool of "free physical slot").
> This presumes that either the renaming table is injective, or those belt
> slots that share physical slots would need to be specially marked.
> 
> 
>         Stefan

Wonder if the "belt" is just a concept used to make life easier for the assembly level programmer: What if each functional unit has a circular buffer for results.  And that the memory load and the scratch pad are also functional units.  An operand would be found in particular buffer at a particular location.  Each circular buffer would have a single write port and many read ports.  As such it can be prototyped in an FPGA.

Jim Brakefield

[toc] | [prev] | [next] | [standalone]


#29631 — Re: Permute registers

FromIvan Godard <ivan@millcomputing.com>
Date2015-09-04 13:41 -0700
SubjectRe: Permute registers
Message-ID<mscvi2$mto$1@dont-email.me>
In reply to#29629
On 9/4/2015 1:18 PM, jim.brakefield@ieee.org wrote:

> Wonder if the "belt" is just a concept used to make life easier for
> the assembly level programmer:

It is. We have emphasized that the belt is a program model, not a 
whopping shift register, built on top of a conventional bypass.

> What if each functional unit has a
> circular buffer for results.  And that the memory load and the
> scratch pad are also functional units.  An operand would be found in
> particular buffer at a particular location.  Each circular buffer
> would have a single write port and many read ports.  As such it can
> be prototyped in an FPGA.

No per-pipe circular buffer, or we'd need a belt-long buffer for each 
FU. The physical locations do not have an address in the sense of a 
refister file address; they are reached by signals point-to-point. 
Because each physical location can be a source for every argument of 
every op in an instruction, the locations have large read fanout, just 
like any other bypass network. The locations themselves are just result 
latches from the producing pipes, so they don't really have a write port 
per se.

Besides the mux fans from each location to each consumer input, there is 
a different network associated with each location that saves the content 
if it is about to be overwritten. Any single slot can have multiple 
result locations, one for each latency that the slot supports. If the 
lat-n location is about to be overwritten then the lat-n+1 location must 
be free so a direct copy can be used with no muxing. When a value needs 
to be moved from the highest-latency location then it is moved to 
locations in the spiller, which does involve muxing, but ony of one 
value from each slot rather than one location for each latch.

[toc] | [prev] | [next] | [standalone]


#29630 — Re: Permute registers

FromIvan Godard <ivan@millcomputing.com>
Date2015-09-04 13:27 -0700
SubjectRe: Permute registers
Message-ID<mscuot$jrf$1@dont-email.me>
In reply to#29628
On 9/4/2015 12:36 PM, Stefan Monnier wrote:
>> The belt is at the level of the architected registers of an OOO, in that
>> they are both logical models, not a physical implementations.  They differ in
>> the way they determine operand lifetimes: the belt by being pushed into
>> inaccessibility by new results, the OOO by being overwritten by a new
>> result.  Internally their handling of bypass data is near identical, while
>> the handling of persistent data is very different: an OOO renames
>> into a register file, and when necessary writes back to architected
>> registers, while the Mill has no register file and when necessary explicitly
>> spills to a scratchpad that does not exist on an OOO.
>
> I think another important difference is that the Mill can permute
> registers efficiently (this is used for function calls/returns, IIUC,
> and can be used "by hand" as well, basically implementing SSA's phi
> functions).
>
> IIUC the Mill can execute one such permutation every cycle and it seems
> that these permutations can be very (arbitrarily?) complex.

One per cycle; the belt contents can be arbitrarily reordered in each.

> Not sure if they have to be actual permutations (can two belt slots be
> made to refer to the same result?).

The hardware admits that possibility in one of the several possible 
implementations of the belt mapper logic, but not in others. At present 
the software complains if you try that with the "conform" op, pending 
more experience. However, function arguments have much the same effect 
if you pass the same actual argument to several formal arguments, which 
is supported.

> I'm still unclear how this is meant to be implemented efficiently.
> I guess the "permutation operation" installs a new "renaming table" from
> belt slots to physical slots, but how this renaming table is created by
> merging the previous one with the one provided by the instruction?

There's no merge at present; unspecified positions become empty. Merge 
could be done, at the cost of more complex logic and possible clock 
pressure, and in some cases would have better encoding entropy, but we 
do not know yet whether the difference would be noticable in real code.

> And how does the hardware figure out which physical slots to (re)use
> (which ones are available)?  Maybe this can be done by looking at the
> belt slots that just became inaccessible (so their corresponding
> physical slots can go back to a pool of "free physical slot").
> This presumes that either the renaming table is injective, or those belt
> slots that share physical slots would need to be specially marked.

Somewhat simpler than that. There is no pool of physical slots; they are 
actually result latches of the various pipes, and are not "general" in 
the sense of a register file. Each operand location (physical slot in 
your terms) knows whether its contents are live, and the pipeline knows 
whether it well be dumping something into that location in the next 
cycle. If both are true then the live value is moved to the next (in 
latency) latch in the same pipe, and if that is the highest latency 
latch then to a spiller buffer. The move-to-spiller is implemented as a 
null pipeline; the spiller take inputs just like an ALU, and those 
"buffers" are its output latches just like the ALU's. The structure is 
very regular. Once moved, the original latch content is simply overwritten.

That's for the CAM-like belt implementation. The rename-map-like 
implementation does the same, but under central direction of the mapper 
(which runs two cycles ahead of the belt drops) rather than being 
distributed to each latch. The hardware is not far enough along to weigh 
the two approaches (and some others that are NYF), but a WAG suggests 
that CAM/distributed will work better for high end members and 
rename-map better for the low end.

[toc] | [prev] | [next] | [standalone]


#29613

FromIvan Godard <ivan@millcomputing.com>
Date2015-09-01 18:15 -0700
Message-ID<ms5igs$seg$2@dont-email.me>
In reply to#29611
On 9/1/2015 5:07 PM, jim.brakefield@ieee.org wrote:

> Jim Brakefield
>

p.s. You might find this to be of interest:

http://millcomputing.com/topic/introduction-to-the-mill-cpu-programming-model-2/

[toc] | [prev] | [next] | [standalone]


#29614 — A good Mill intro (external)

FromIvan Godard <ivan@millcomputing.com>
Date2015-09-01 18:43 -0700
SubjectA good Mill intro (external)
Message-ID<ms5k4p$qsv$1@dont-email.me>
In reply to#29611
http://liberomnia.org/wiki/Computer/The_Mill.en.html

[toc] | [prev] | [next] | [standalone]


#29616

FromQuadibloc <jsavard@ecn.ab.ca>
Date2015-09-01 20:52 -0700
Message-ID<ac0e722a-2f54-4ea9-9f6b-e198c457e87d@googlegroups.com>
In reply to#29611
On Tuesday, September 1, 2015 at 6:07:50 PM UTC-6, jim.bra...@ieee.org wrote:

> Ugh, RE: "few machines (today) are intended for native execution": my interests 
> seem to be trying to maintain a bridge between the "small" and cost constrained 
> embedded computer and the "large" performance oriented GP computer.  This is 
> what IBM did with the 360.

I couldn't find the comment by Ivan Godard which you were quoting here, but it 
may have been in another post.

Few of today's machines are as little intended for by-hand assembler coding as 
the Itanium: with SPARC, the PowerPC, ARM, and so on, it's not that difficult - 
although interleaving instructions to reduce the need for an out-of-order 
implementation does not come naturally.

I admire the IBM 360 design.

However, it's not that good a model today, I have to admit. The range of 
systems for which that architecture was designed does not exist today.

Even the *smallest* general-purpose processors for direct use - as opposed to 
small embedded systems - have more in common with the top-end Model 195 than 
anything else in the 360 lineup. (One could think of the 386 as a Model 65 
(microprogrammed) and the 486 as a Model 75 (hardwired).)

So while I have a preference for the classic CISC design - last cleanly 
implemented in the now defunct 680x0 lineup - I have to realistically accept 
that there is little hope for that kind of chip obtaining acceptance. (Of 
course, the x86 is CISC, but to compete with it, given that it has the 
advantage of running Windows, requires one to be significantly better, not just 
about the same, except for not having the advantage of its world-leading 
process technology.)

I accept that 8/16/32/64 bits have "won", but I do not at all like the fact 
that the x86 has won. I want diversity and flexibility - despite acknowledging 
that the ISA is a natural monopoly. Which is why I latched on to a broad 
ability to run legacy software as a possible sales point... however, who would 
buy some exotic CPU simply because QEMU would run faster on it?

John Savard

[toc] | [prev] | [next] | [standalone]


#29618

FromBruce Hoult <bruce.hoult@gmail.com>
Date2015-09-02 04:03 -0700
Message-ID<7a465d18-55f5-4867-90f0-c38c9fd52236@googlegroups.com>
In reply to#29616
On Wednesday, September 2, 2015 at 6:52:39 AM UTC+3, Quadibloc wrote:
> So while I have a preference for the classic CISC design - last cleanly 
> implemented in the now defunct 680x0 lineup - I have to realistically accept 
> that there is little hope for that kind of chip obtaining acceptance.

Do you include the 68020/30 in that?

> I accept that 8/16/32/64 bits have "won", but I do not at all like the fact 
> that the x86 has won. I want diversity and flexibility - despite acknowledging 
> that the ISA is a natural monopoly.

Doesn't ARM ship more CPUs than Intel?

I don't know how to most fairly compare them financially. It's certainly not fair to compare revenues as ARM gets only a fraction of revenues as licence fee. The companies building ARM CPUs keep a lot of the revenue and profits. However in 2014 ARM Holdings' revenue was $1.2b, about 10% of Intel's operating income. That suggests that the total revenues from the ARM ecosystem may not be all that far off Intel's revenues.

[toc] | [prev] | [next] | [standalone]


Page 1 of 7  [1] 2 3 4 5 6 7  Next page →

Back to top | Article view | comp.arch


csiph-web