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


Groups > comp.arch > #32659 > unrolled thread

Intel's Skylake Prime Number Bug.

Started by"Skybuck Flying" <skybuck2000@hotmail.com>
First post2016-01-11 16:44 +0100
Last post2016-01-11 23:46 -0800
Articles 20 on this page of 192 — 45 participants

Back to article view | Back to comp.arch


Contents

  Intel's Skylake Prime Number Bug. "Skybuck Flying" <skybuck2000@hotmail.com> - 2016-01-11 16:44 +0100
    Re: Intel's Skylake Prime Number Bug. Larc <larc@notmyaddress.com> - 2016-01-11 11:10 -0500
      Re: Intel's Skylake Prime Number Bug. "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-01-11 10:16 -0800
        Re: Intel's Skylake Prime Number Bug. "Skybuck Flying" <skybuck2000@hotmail.com> - 2016-01-11 21:44 +0100
          Re: Intel's Skylake Prime Number Bug. "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-01-11 13:06 -0800
            Re: Intel's Skylake Prime Number Bug. "Skybuck Flying" <skybuck2000@hotmail.com> - 2016-01-12 16:35 +0100
              Re: Intel's Skylake Prime Number Bug. DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-01-12 12:53 -0500
                Re: Intel's Skylake Prime Number Bug. Mark - <nonemail@spamspamapam.net> - 2016-01-12 20:00 +0000
                  Re: Intel's Skylake Prime Number Bug. Larc <larc@notmyaddress.com> - 2016-01-12 16:54 -0500
                    Re: Intel's Skylake Prime Number Bug. Mark - <nonemail@spamspamapam.net> - 2016-01-12 22:14 +0000
              Re: Intel's Skylake Prime Number Bug. "wolfgang kern" <nowhere@never.at> - 2016-01-12 19:53 +0100
          Re: Intel's Skylake Prime Number Bug. Paul <nospam@needed.com> - 2016-01-11 16:55 -0500
            Re: Intel's Skylake Prime Number Bug. B00ze <B00ze64@hotmail.com> - 2016-01-11 23:48 -0500
      Re: Intel's Skylake Prime Number Bug. John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-11 10:22 -0800
        Re: Intel's Skylake Prime Number Bug. Jerry Stuckle <jstucklex@attglobal.net> - 2016-01-11 13:42 -0500
          Re: Intel's Skylake Prime Number Bug. John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-11 11:12 -0800
            Re: Intel's Skylake Prime Number Bug. David Brown <david.brown@hesbynett.no> - 2016-01-12 11:06 +0100
              Re: Intel's Skylake Prime Number Bug. Richard Heathfield <rjh@cpax.org.uk> - 2016-01-12 10:21 +0000
                Re: Intel's Skylake Prime Number Bug. David Brown <david.brown@hesbynett.no> - 2016-01-12 11:42 +0100
              t cluttered John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-12 09:25 -0800
                Re: t cluttered David Brown <david.brown@hesbynett.no> - 2016-01-12 22:05 +0100
                  Re: t cluttered Ivan Godard <ivan@millcomputing.com> - 2016-01-12 14:03 -0800
                    Re: t cluttered Stephen Fuld <SFuld@alumni.cmu.edu.invalid> - 2016-01-12 21:44 -0800
                      Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-13 15:41 +0800
                        Re: t cluttered krw <krw@nowhere.com> - 2016-01-13 21:39 -0500
                    Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-13 00:52 -0800
                      Re: t cluttered already5chosen@yahoo.com - 2016-01-13 02:39 -0800
                  Re: t cluttered Rick Jones <rick.jones2@hpe.com> - 2016-01-12 22:41 +0000
                    Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-12 23:01 +0000
                      Re: t cluttered Ivan Godard <ivan@millcomputing.com> - 2016-01-12 16:16 -0800
                        Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-13 10:35 +0000
                          Re: t cluttered Anonymous <no_email@invalid.invalid> - 2016-01-13 14:36 +0000
                            Re: t cluttered Robert Wessel <robertwessel2@yahoo.com> - 2016-01-14 02:48 -0600
                              Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-14 10:50 +0000
                                Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-14 05:25 -0800
                                  Re: t cluttered Bruce Hoult <bruce.hoult@gmail.com> - 2016-01-14 07:23 -0800
                                    Re: t cluttered "James Van Buskirk" <not_valid@comcast.net> - 2016-01-14 09:17 -0700
                                      Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-14 16:30 +0000
                                        Re: t cluttered Bruce Hoult <bruce.hoult@gmail.com> - 2016-01-14 12:02 -0800
                                          Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-14 21:22 +0000
                                          Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-15 10:06 +0800
                                        Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-15 09:48 +0800
                                      Re: t cluttered Bruce Hoult <bruce.hoult@gmail.com> - 2016-01-14 11:57 -0800
                                        Re: t cluttered "James Van Buskirk" <not_valid@comcast.net> - 2016-01-14 19:16 -0700
                                    Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-14 08:29 -0800
                                      Re: t cluttered Bruce Hoult <bruce.hoult@gmail.com> - 2016-01-14 12:13 -0800
                                        Re: t cluttered Stephen Fuld <SFuld@alumni.cmu.edu.invalid> - 2016-01-14 12:24 -0800
                                          Re: t cluttered Bruce Hoult <bruce.hoult@gmail.com> - 2016-01-14 12:48 -0800
                                            Re: t cluttered Stephen Fuld <SFuld@alumni.cmu.edu.invalid> - 2016-01-14 13:06 -0800
                                            Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-15 10:14 +0800
                                        Re: t cluttered anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-15 14:33 +0000
                                          Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-16 09:39 +0000
                                            Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-17 00:15 +0800
                                              Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-16 19:24 +0000
                                              Re: t cluttered Ivan Godard <ivan@millcomputing.com> - 2016-01-16 12:18 -0800
                                                Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-17 17:46 +0800
                                                  Re: t cluttered Ivan Godard <ivan@millcomputing.com> - 2016-01-17 02:53 -0800
                                              Re: t cluttered Stefan Monnier <monnier@iro.umontreal.ca> - 2016-01-18 12:20 -0500
                                                Re: t cluttered paul wallich <pw@panix.com> - 2016-01-18 14:42 -0500
                                                Re: t cluttered Erik Trulsson <erikt@Update.UU.SE> - 2016-01-19 13:05 +0000
                                                  Re: t cluttered paul wallich <pw@panix.com> - 2016-01-19 08:29 -0500
                                                  Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-19 13:48 +0000
                                                  Re: t cluttered anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-19 17:04 +0000
                                                    Re: t cluttered already5chosen@yahoo.com - 2016-01-19 10:27 -0800
                                                      Re: t cluttered David Brown <david.brown@hesbynett.no> - 2016-01-20 11:30 +0100
                                                        Re: t cluttered already5chosen@yahoo.com - 2016-01-20 03:55 -0800
                                                          Re: t cluttered David Brown <david.brown@hesbynett.no> - 2016-01-20 15:17 +0100
                                                            Re: t cluttered already5chosen@yahoo.com - 2016-01-20 07:15 -0800
                                                      Re: t cluttered anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-20 16:17 +0000
                                                  Re: t cluttered EricP <ThatWouldBeTelling@thevillage.com> - 2016-01-19 15:37 -0500
                                            Re: t cluttered anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-16 16:46 +0000
                                              Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-16 10:10 -0800
                                              Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-16 10:11 -0800
                                                Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-16 19:42 +0000
                                                  Re: t cluttered anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-17 17:51 +0000
                                              Re: t cluttered rpw3@rpw3.org (Rob Warnock) - 2016-01-17 08:21 +0000
                                                Re: t cluttered anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-17 17:41 +0000
                                                  Re: t cluttered Melzzzzz <mel@zzzzz.com> - 2016-01-17 20:03 +0100
                                                  Re: t cluttered rpw3@rpw3.org (Rob Warnock) - 2016-01-18 12:13 +0000
                                                    Re: t cluttered anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-18 14:24 +0000
                                                    Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-18 14:40 +0000
                                          Re: t cluttered Megol <golem960@gmail.com> - 2016-01-16 06:25 -0800
                                            Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-16 15:09 +0000
                                              Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-17 00:21 +0800
                                            Re: t cluttered anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-16 16:34 +0000
                                    Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-14 08:33 -0800
                                    Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-15 09:38 +0800
                                    Re: t cluttered jgk@panix.com (Joe keane) - 2016-01-17 19:25 +0000
                                      Re: t cluttered already5chosen@yahoo.com - 2016-01-17 11:38 -0800
                                      Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-17 14:21 -0800
                                        Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-17 23:21 +0000
                                  Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-14 16:29 +0000
                                    Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-14 08:39 -0800
                                      Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-14 16:45 +0000
                                        Re: t cluttered already5chosen@yahoo.com - 2016-01-14 11:35 -0800
                                          Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-14 21:32 +0000
                                            Re: t cluttered MitchAlsup <MitchAlsup@aol.com> - 2016-01-14 15:08 -0800
                                              Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-14 20:21 -0800
                                            Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-14 20:20 -0800
                                    Re: t cluttered anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-14 16:48 +0000
                                      Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-14 18:05 +0000
                                        Re: t cluttered anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-15 10:17 +0000
                          Re: t cluttered Ivan Godard <ivan@millcomputing.com> - 2016-01-13 11:54 -0800
                            Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-13 20:41 +0000
                              Re: t cluttered MitchAlsup <MitchAlsup@aol.com> - 2016-01-13 17:57 -0800
                            Re: t cluttered mrs@kithrup.com (Mike Stump) - 2016-01-18 13:37 +0000
                              Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-19 00:06 +0800
                              Re: t cluttered Ivan Godard <ivan@millcomputing.com> - 2016-01-18 15:27 -0800
                                Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-19 09:43 +0000
                                  Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-19 18:00 +0800
                                    Re: t cluttered already5chosen@yahoo.com - 2016-01-19 02:47 -0800
                                      Re: t cluttered Bruce Hoult <bruce.hoult@gmail.com> - 2016-01-19 03:01 -0800
                                        Re: t cluttered already5chosen@yahoo.com - 2016-01-19 04:43 -0800
                                        Re: t cluttered jgk@panix.com (Joe keane) - 2016-01-21 17:35 +0000
                                          Re: t cluttered Stefan Monnier <monnier@iro.umontreal.ca> - 2016-01-21 14:45 -0500
                                            Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-22 09:49 +0000
                                              Re: hashes and b-trees, was't cluttered John Levine <johnl@iecc.com> - 2016-01-22 16:53 +0000
                                                Re: hashes and b-trees, was't cluttered "James Van Buskirk" <not_valid@comcast.net> - 2016-01-22 10:34 -0700
                                                  Re: hashes and b-trees, was't cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-22 18:00 +0000
                                              Re: t cluttered Stefan Monnier <monnier@iro.umontreal.ca> - 2016-01-25 14:03 -0500
                                                Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-25 19:57 +0000
                                                  Re: t cluttered Bruce Hoult <bruce.hoult@gmail.com> - 2016-01-26 00:17 -0800
                                                    Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-26 10:00 +0000
                                            Re: t cluttered jgk@panix.com (Joe keane) - 2016-01-23 18:59 +0000
                                      Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-19 19:28 +0700
                                        Re: t cluttered already5chosen@yahoo.com - 2016-01-19 15:41 -0800
                                          Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-20 15:20 +0100
                                    Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-19 11:25 +0000
                                      Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-19 19:48 +0700
                                        Re: t cluttered Walter Banks <walter@bytecraft.com> - 2016-01-19 09:54 -0500
                                          Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-19 16:49 +0000
                                    Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-19 17:25 -0800
                                      Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-19 17:43 -0800
                                      Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-20 14:52 +0100
                                  Re: t cluttered already5chosen@yahoo.com - 2016-01-19 02:14 -0800
                                    Re: t cluttered Ivan Godard <ivan@millcomputing.com> - 2016-01-19 02:33 -0800
                                      Re: t cluttered already5chosen@yahoo.com - 2016-01-19 02:57 -0800
                                    Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-19 11:34 +0000
                                      Re: t cluttered already5chosen@yahoo.com - 2016-01-19 05:24 -0800
                                        Re: t cluttered "James Van Buskirk" <not_valid@comcast.net> - 2016-01-19 15:46 -0700
                                          Re: t cluttered already5chosen@yahoo.com - 2016-01-19 16:14 -0800
                                            Re: t cluttered "James Van Buskirk" <not_valid@comcast.net> - 2016-01-19 18:37 -0700
                                              Re: t cluttered already5chosen@yahoo.com - 2016-01-20 03:32 -0800
                                                Re: t cluttered "James Van Buskirk" <not_valid@comcast.net> - 2016-01-20 11:04 -0700
                                          Re: t cluttered Melzzzzz <mel@zzzzz.com> - 2016-01-20 06:56 +0100
                                            Re: t cluttered "James Van Buskirk" <not_valid@comcast.net> - 2016-01-20 00:55 -0700
                                              Re: t cluttered "James Van Buskirk" <not_valid@comcast.net> - 2016-01-20 01:27 -0700
                                              Re: t cluttered Melzzzzz <mel@zzzzz.com> - 2016-01-20 13:55 +0100
                                          Re: t cluttered already5chosen@yahoo.com - 2016-01-20 08:50 -0800
                                            Re: t cluttered "James Van Buskirk" <not_valid@comcast.net> - 2016-01-20 11:34 -0700
                                              Re: t cluttered already5chosen@yahoo.com - 2016-01-20 11:13 -0800
                                                Re: t cluttered already5chosen@yahoo.com - 2016-01-20 15:15 -0800
                                                  Re: t cluttered "James Van Buskirk" <not_valid@comcast.net> - 2016-01-20 17:29 -0700
                                                    Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-21 08:42 +0100
                                                      Re: t cluttered already5chosen@yahoo.com - 2016-01-21 03:15 -0800
                                                        Re: t cluttered already5chosen@yahoo.com - 2016-01-21 05:03 -0800
                                                        Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-21 06:42 -0800
                                                          Re: t cluttered already5chosen@yahoo.com - 2016-01-21 07:45 -0800
                                                            Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-21 21:30 +0100
                                                            Re: t cluttered MitchAlsup <MitchAlsup@aol.com> - 2016-01-21 16:17 -0800
                                                              Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-22 07:57 +0100
                                                                Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-22 13:18 +0000
                                                                  Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-22 14:51 +0100
                                                                    Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-22 14:14 +0000
                                                                Re: t cluttered already5chosen@yahoo.com - 2016-01-22 05:52 -0800
                                                                  Re: t cluttered already5chosen@yahoo.com - 2016-01-22 06:33 -0800
                                                                  Re: t cluttered "James Van Buskirk" <not_valid@comcast.net> - 2016-01-22 10:48 -0700
                                                                    Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-22 19:30 +0100
                                                    Re: t cluttered already5chosen@yahoo.com - 2016-01-21 02:18 -0800
                                    Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-19 19:10 +0700
                                Re: t cluttered MitchAlsup <MitchAlsup@aol.com> - 2016-01-19 06:35 -0800
                                  Re: t cluttered Ivan Godard <ivan@millcomputing.com> - 2016-01-19 10:49 -0800
                  Re: t cluttered krw <krw@nowhere.com> - 2016-01-12 20:53 -0500
                    Re: t cluttered Dennis <dennis@none.none> - 2016-01-13 14:56 -0600
                      Re: t cluttered krw <krw@nowhere.com> - 2016-01-13 21:43 -0500
                  Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-13 13:24 +0800
                Re: t cluttered upsidedown@downunder.com - 2016-01-13 10:15 +0200
          Re: Intel's Skylake Prime Number Bug. JJ <jj4public@vfemail.net> - 2016-01-12 13:11 +0700
          Re: Intel's Skylake Prime Number Bug. "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2016-01-12 02:45 -0500
            Re: Intel's Skylake Prime Number Bug. Paul <nospam@needed.com> - 2016-01-12 04:38 -0500
            Re: Intel's Skylake Prime Number Bug. MitchAlsup <MitchAlsup@aol.com> - 2016-01-12 06:33 -0800
            Re: Intel's Skylake Prime Number Bug. krw <krw@nowhere.com> - 2016-01-12 12:35 -0500
        Re: Intel's Skylake Prime Number Bug. EricP <ThatWouldBeTelling@thevillage.com> - 2016-01-11 14:33 -0500
          Re: Intel's Skylake Prime Number Bug. Casper H.S. Dik <Casper.Dik@OrSPaMcle.COM> - 2016-01-12 17:27 +0000
        Re: Intel's Skylake Prime Number Bug. Quadibloc <jsavard@ecn.ab.ca> - 2016-01-11 13:54 -0800
        Re: Intel's Skylake Prime Number Bug. Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2016-01-11 22:21 +0000
          Re: Intel's Skylake Prime Number Bug. krw <krw@nowhere.com> - 2016-01-11 21:38 -0500
        Re: Intel's Skylake Prime Number Bug. krw <krw@nowhere.com> - 2016-01-11 21:37 -0500
        Re: Intel's Skylake Prime Number Bug. Robert Baer <robertbaer@localnet.com> - 2016-01-12 20:23 -0800
        Re: Intel's Skylake Prime Number Bug. John Levine <johnl@iecc.com> - 2016-01-13 05:19 +0000
          Re: Intel's Skylake Prime Number Bug. already5chosen@yahoo.com - 2016-01-13 01:55 -0800
    Re: Intel's Skylake Prime Number Bug. Keith Thompson <kst-u@mib.org> - 2016-01-11 23:46 -0800

Page 4 of 10 — ← Prev page 1 2 3 [4] 5 6 … 10  Next page →


#32890 — Re: t cluttered

Frompaul wallich <pw@panix.com>
Date2016-01-19 08:29 -0500
SubjectRe: t cluttered
Message-ID<n7ldn5$abj$2@reader1.panix.com>
In reply to#32886
On 1/19/16 8:05 AM, Erik Trulsson wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>>>> the CISC/RISC distinction ever was useful - some architectures are
>> [...]
>>> Right, the future simply belongs to the pragmatists; whatever works,
>>> works.
>>
>> Actually, in my world, both CISC and RISC are the result of pragmatic
>> design.  They just happened to take place in different contexts:
>>
>> - CISC, in a context where caches and pipelining were not the norm and
>>   where assembly programming was standard, so you wanted to provide
>>   a flexible machine language and maximize the amount of time spent in
>>   the "execute" phase.
>>
>> - RISC in a context where technology made it possible to have pipelining
>>   in a single-chip processor, and where assembly programming was
>>   less prevalent, so being convenient for the compiler was more
>>   important, and so was the fact that every instruction could fit in the
>>   same pipeline mold (i.e., same amount of time spent in "execute").
>>   And throwing out some machine language flexibility made up for itself
>>   by making a single-chip implementation possible.
>
> You left out one important part:
>
> RISC was created at a time when transistor count was limited, and it
> mattered what you used them on.  RISC is based on the principle that it is
> generally better to spend transistors on making commonly used instructions
> fast and to add cache (which was beginning to be needed at that time) than
> to implement some rarely-used instructions that could be replaced by a
> sequence of simpler instructions.  A.k.a. "make the common case fast".
>
> Today transistor count is not much of a limitation, so now you often do not
> have to choose - you can have common instructions execute fast and having
> some rarely-used, or more complicated, instructions.

Or even: executing instructions is not the limitation. Arranging the 
instructions and the data in the most efficient way seems to account for 
much more of the transistor budget.

paul

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


#32893 — Re: t cluttered

Fromnmm@wheeler.UUCP (Nick Maclaren)
Date2016-01-19 13:48 +0000
SubjectRe: t cluttered
Message-ID<n7lero$sdm$1@dont-email.me>
In reply to#32886
In article <n7lcb7$mt4$1@Iltempo.Update.UU.SE>,
Erik Trulsson  <erikt@Update.UU.SE> wrote:
>
>You left out one important part:
>
>RISC was created at a time when transistor count was limited, and it
>mattered what you used them on.  ...

What you posted was all very true, but was even more so for CISC.
The System/360 series and small scale integration were contemporaneous.


Regards,
Nick Maclaren.

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


#32902 — Re: t cluttered

Fromanton@mips.complang.tuwien.ac.at (Anton Ertl)
Date2016-01-19 17:04 +0000
SubjectRe: t cluttered
Message-ID<2016Jan19.180443@mips.complang.tuwien.ac.at>
In reply to#32886
Erik Trulsson <erikt@Update.UU.SE> writes:
>RISC was created at a time when transistor count was limited, and it
>mattered what you used them on.  RISC is based on the principle that it is
>generally better to spend transistors on making commonly used instructions
>fast and to add cache (which was beginning to be needed at that time) than
>to implement some rarely-used instructions that could be replaced by a
>sequence of simpler instructions.  A.k.a. "make the common case fast".
>
>Today transistor count is not much of a limitation, so now you often do not
>have to choose - you can have common instructions execute fast and having
>some rarely-used, or more complicated, instructions.

I have read that "transistor count is not much of a limitation" many
years (decades?) ago, and shortly after some CPU designer wrote stuff
like: "We started our design as 4-wide superscalar, with x reorder
buffers, and y KB L2 cache etc., but we had to cut it down to 3-way
superscalar, fewer reorder buffers, and less L2 cache due to area
constraints".

Chip area always costs, so you don't waste it.  It seems to me that
the typical "x is now plentiful" argument usually leads up to spending
x in a way with a particularly bad cost/benefit ratio.

More concretely, despite the plentifulness of transistors, ARM has a
variety of very small cores, starting from the Cortex-M0, and these
are being designed into chips.

Back to RISCs, one could think that we had a RISC decade from about
1985 (when ARM came out) to 1995 (when the Pentium Pro came out), and
since then, RISC is just a legacy thing, just like the surviving CISC
architectures. 

But then a few years ago, ARM came out with Aarch64, which has a
surprisingly large number of differences from the old ARM instruction
sets, and is clearly RISC.  If they thought that load-op or RMW
instructions or multiple instruction lengths were a winner, I guess
they would have included them into the instruction set, but they
didn't; the thing about multiple instruction lengths is quite
surprising given that they put heavy emphasis on Thumb in the 32-bit
instruction set.  So, at least in the minds of the AArch64 designers,
RISC principles still have value.

- anton
-- 
M. Anton Ertl                    Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html

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


#32904 — Re: t cluttered

Fromalready5chosen@yahoo.com
Date2016-01-19 10:27 -0800
SubjectRe: t cluttered
Message-ID<43e4c2f9-2bd8-4cba-b5fa-6742b1abf8d6@googlegroups.com>
In reply to#32902
On Tuesday, January 19, 2016 at 7:37:58 PM UTC+2, Anton Ertl wrote:
> Erik Trulsson <erikt@Update.UU.SE> writes:
> >RISC was created at a time when transistor count was limited, and it
> >mattered what you used them on.  RISC is based on the principle that it is
> >generally better to spend transistors on making commonly used instructions
> >fast and to add cache (which was beginning to be needed at that time) than
> >to implement some rarely-used instructions that could be replaced by a
> >sequence of simpler instructions.  A.k.a. "make the common case fast".
> >
> >Today transistor count is not much of a limitation, so now you often do not
> >have to choose - you can have common instructions execute fast and having
> >some rarely-used, or more complicated, instructions.
> 
> I have read that "transistor count is not much of a limitation" many
> years (decades?) ago, and shortly after some CPU designer wrote stuff
> like: "We started our design as 4-wide superscalar, with x reorder
> buffers, and y KB L2 cache etc., but we had to cut it down to 3-way
> superscalar, fewer reorder buffers, and less L2 cache due to area
> constraints".
> 
> Chip area always costs, so you don't waste it.  It seems to me that
> the typical "x is now plentiful" argument usually leads up to spending
> x in a way with a particularly bad cost/benefit ratio.
> 
> More concretely, despite the plentifulness of transistors, ARM has a
> variety of very small cores, starting from the Cortex-M0, and these
> are being designed into chips.

Yes, they are. And I can't understand why.
The difference in size between Cortex-M0 and Cortex-M3 is so small relatively to the die area of even very small MCU and M3 performance is so much more robust than M0... And despite that Cortex-M0-based MCUs are definitely made and sold.
I can somehow understand it when MCUs in question have 4-8KB of SRAM, but some of M0-based MCUs have 32KB of SRAM in addition to 256KB of flash. Look, for example, at STM32F091VC. It is neither very small chip nor very cheap, but it still based on anemic M0 core.
If it was Intel I would suspect artificial market segmentation as reason, but Cortex-M MCU market is too competitive to play segmentation games.

It is interesting that for slightly bigger MCUs there is an opposite trend - Cortex-M3 is gradually replaced by Cortex-M4.

> 
> Back to RISCs, one could think that we had a RISC decade from about
> 1985 (when ARM came out) to 1995 (when the Pentium Pro came out), and
> since then, RISC is just a legacy thing, just like the surviving CISC
> architectures. 
> 
> But then a few years ago, ARM came out with Aarch64, which has a
> surprisingly large number of differences from the old ARM instruction
> sets, and is clearly RISC.  If they thought that load-op or RMW
> instructions or multiple instruction lengths were a winner, I guess
> they would have included them into the instruction set, but they
> didn't; the thing about multiple instruction lengths is quite
> surprising given that they put heavy emphasis on Thumb in the 32-bit
> instruction set.  So, at least in the minds of the AArch64 designers,
> RISC principles still have value.

If ARM wants Aarch64 to filter down to MCUs then some day they will have to re-introduce VL encoding. Look at MIPS, they already have MIPS16e encoding for MIPS64.

> 
> - anton
> -- 
> M. Anton Ertl                    Some things have to be seen to be believed
> anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
> http://www.complang.tuwien.ac.at/anton/home.html

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


#32939 — Re: t cluttered

FromDavid Brown <david.brown@hesbynett.no>
Date2016-01-20 11:30 +0100
SubjectRe: t cluttered
Message-ID<n7nnfo$lbu$1@dont-email.me>
In reply to#32904
On 19/01/16 19:27, already5chosen@yahoo.com wrote:
> On Tuesday, January 19, 2016 at 7:37:58 PM UTC+2, Anton Ertl wrote:
<snip>
>> More concretely, despite the plentifulness of transistors, ARM has
>> a variety of very small cores, starting from the Cortex-M0, and
>> these are being designed into chips.
> 
> Yes, they are. And I can't understand why. The difference in size
> between Cortex-M0 and Cortex-M3 is so small relatively to the die
> area of even very small MCU and M3 performance is so much more robust
> than M0... And despite that Cortex-M0-based MCUs are definitely made
> and sold. I can somehow understand it when MCUs in question have
> 4-8KB of SRAM, but some of M0-based MCUs have 32KB of SRAM in
> addition to 256KB of flash. Look, for example, at STM32F091VC. It is
> neither very small chip nor very cheap, but it still based on anemic
> M0 core. If it was Intel I would suspect artificial market
> segmentation as reason, but Cortex-M MCU market is too competitive to
> play segmentation games.
> 
> It is interesting that for slightly bigger MCUs there is an opposite
> trend - Cortex-M3 is gradually replaced by Cortex-M4.

The M0 core has several technical advantages over an M3, and some
non-technical ones.  It is somewhat smaller than an M3.  It is also
lower power.  For the small chips, this makes a significant difference.

Once a supplier first has a chip with an M0, 4K SRAM and 32K Flash, it
is an easy matter to make new versions with 16K SRAM and 128K Flash, and
so on - even if changing to an M3 would make little percentage
difference in the die size and cost, everything else involved
(documentation, testing, datasheets, toolchains, production environment,
die layout, etc.) is easier and cheaper if you stick to the same core
for the device family.

For non-technical reasons, the M0 is perceived by some as a simple
replacement for 8-bit devices, while the M3/M4 is a powerful and complex
core for bigger embedded systems.  In reality, of course, using the M0
is much the same as using the M3 except for the speed.  Is that
"artificial market segmentation", or merely "giving customers what they
ask for" ?


> 
>> 
>> Back to RISCs, one could think that we had a RISC decade from
>> about 1985 (when ARM came out) to 1995 (when the Pentium Pro came
>> out), and since then, RISC is just a legacy thing, just like the
>> surviving CISC architectures.
>> 
>> But then a few years ago, ARM came out with Aarch64, which has a 
>> surprisingly large number of differences from the old ARM
>> instruction sets, and is clearly RISC.  If they thought that
>> load-op or RMW instructions or multiple instruction lengths were a
>> winner, I guess they would have included them into the instruction
>> set, but they didn't; the thing about multiple instruction lengths
>> is quite surprising given that they put heavy emphasis on Thumb in
>> the 32-bit instruction set.  So, at least in the minds of the
>> AArch64 designers, RISC principles still have value.
> 
> If ARM wants Aarch64 to filter down to MCUs then some day they will
> have to re-introduce VL encoding. Look at MIPS, they already have
> MIPS16e encoding for MIPS64.
> 

I don't imagine that ARM are aiming AArch64 at microcontrollers - what
would be the point?  The Cortex M line is for microcontrollers, and it
has a /long/ way to go before address space considerations give any
reason for moving to 64 bits.

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


#32942 — Re: t cluttered

Fromalready5chosen@yahoo.com
Date2016-01-20 03:55 -0800
SubjectRe: t cluttered
Message-ID<37f99e25-f564-4324-91db-3a68a7a8ec71@googlegroups.com>
In reply to#32939
On Wednesday, January 20, 2016 at 12:30:56 PM UTC+2, David Brown wrote:
> On 19/01/16 19:27, already5chosen@yahoo.com wrote:
> > On Tuesday, January 19, 2016 at 7:37:58 PM UTC+2, Anton Ertl wrote:
> <snip>
> >> More concretely, despite the plentifulness of transistors, ARM has
> >> a variety of very small cores, starting from the Cortex-M0, and
> >> these are being designed into chips.
> > 
> > Yes, they are. And I can't understand why. The difference in size
> > between Cortex-M0 and Cortex-M3 is so small relatively to the die
> > area of even very small MCU and M3 performance is so much more robust
> > than M0... And despite that Cortex-M0-based MCUs are definitely made
> > and sold. I can somehow understand it when MCUs in question have
> > 4-8KB of SRAM, but some of M0-based MCUs have 32KB of SRAM in
> > addition to 256KB of flash. Look, for example, at STM32F091VC. It is
> > neither very small chip nor very cheap, but it still based on anemic
> > M0 core. If it was Intel I would suspect artificial market
> > segmentation as reason, but Cortex-M MCU market is too competitive to
> > play segmentation games.
> > 
> > It is interesting that for slightly bigger MCUs there is an opposite
> > trend - Cortex-M3 is gradually replaced by Cortex-M4.
> 
> The M0 core has several technical advantages over an M3, and some
> non-technical ones.  It is somewhat smaller than an M3.  It is also
> lower power. 

Is "lower power" claim proven by measurements on real silicon? Me thinks not.
In fact, for the apps that have idle loop that enter low power mode I'd expect that M3 will consume less power. It appears to be the same "race to idle" argument as in phones/tablets/PCs

> For the small chips, this makes a significant difference.
> 
> Once a supplier first has a chip with an M0, 4K SRAM and 32K Flash, it
> is an easy matter to make new versions with 16K SRAM and 128K Flash, and
> so on - even if changing to an M3 would make little percentage
> difference in the die size and cost, everything else involved
> (documentation, testing, datasheets, toolchains, production environment,
> die layout, etc.) is easier and cheaper if you stick to the same core
> for the device family.
> 
> For non-technical reasons, the M0 is perceived by some as a simple
> replacement for 8-bit devices, while the M3/M4 is a powerful and complex
> core for bigger embedded systems. In reality, of course, using the M0
> is much the same as using the M3 except for the speed. 

So, may be, those "some" have to be educated?

> Is that
> "artificial market segmentation", or merely "giving customers what they
> ask for" ?
> 
> 
> > 
> >> 
> >> Back to RISCs, one could think that we had a RISC decade from
> >> about 1985 (when ARM came out) to 1995 (when the Pentium Pro came
> >> out), and since then, RISC is just a legacy thing, just like the
> >> surviving CISC architectures.
> >> 
> >> But then a few years ago, ARM came out with Aarch64, which has a 
> >> surprisingly large number of differences from the old ARM
> >> instruction sets, and is clearly RISC.  If they thought that
> >> load-op or RMW instructions or multiple instruction lengths were a
> >> winner, I guess they would have included them into the instruction
> >> set, but they didn't; the thing about multiple instruction lengths
> >> is quite surprising given that they put heavy emphasis on Thumb in
> >> the 32-bit instruction set.  So, at least in the minds of the
> >> AArch64 designers, RISC principles still have value.
> > 
> > If ARM wants Aarch64 to filter down to MCUs then some day they will
> > have to re-introduce VL encoding. Look at MIPS, they already have
> > MIPS16e encoding for MIPS64.
> > 
> 
> I don't imagine that ARM are aiming AArch64 at microcontrollers - what
> would be the point?  The Cortex M line is for microcontrollers, and it
> has a /long/ way to go before address space considerations give any
> reason for moving to 64 bits.

Yes, for Cortex M0/M3/M4 and even for M7 32 bit look like plenty.
But there is one "forgotten" Cortex-M - M1. 
For M1 64-bittenes look useful and can give it a real (and badly needed) advantage over Nios2 and Microblaze. 
Personally, in recent years I had at least two applications where availability of small 64-bit soft core would made my life as designer significantly simpler.

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


#32949 — Re: t cluttered

FromDavid Brown <david.brown@hesbynett.no>
Date2016-01-20 15:17 +0100
SubjectRe: t cluttered
Message-ID<n7o4ol$6q4$1@dont-email.me>
In reply to#32942
On 20/01/16 12:55, already5chosen@yahoo.com wrote:
> On Wednesday, January 20, 2016 at 12:30:56 PM UTC+2, David Brown
> wrote:
>> On 19/01/16 19:27, already5chosen@yahoo.com wrote:
>>> On Tuesday, January 19, 2016 at 7:37:58 PM UTC+2, Anton Ertl
>>> wrote:
>> <snip>
>>>> More concretely, despite the plentifulness of transistors, ARM
>>>> has a variety of very small cores, starting from the Cortex-M0,
>>>> and these are being designed into chips.
>>> 
>>> Yes, they are. And I can't understand why. The difference in
>>> size between Cortex-M0 and Cortex-M3 is so small relatively to
>>> the die area of even very small MCU and M3 performance is so much
>>> more robust than M0... And despite that Cortex-M0-based MCUs are
>>> definitely made and sold. I can somehow understand it when MCUs
>>> in question have 4-8KB of SRAM, but some of M0-based MCUs have
>>> 32KB of SRAM in addition to 256KB of flash. Look, for example, at
>>> STM32F091VC. It is neither very small chip nor very cheap, but it
>>> still based on anemic M0 core. If it was Intel I would suspect
>>> artificial market segmentation as reason, but Cortex-M MCU market
>>> is too competitive to play segmentation games.
>>> 
>>> It is interesting that for slightly bigger MCUs there is an
>>> opposite trend - Cortex-M3 is gradually replaced by Cortex-M4.
>> 
>> The M0 core has several technical advantages over an M3, and some 
>> non-technical ones.  It is somewhat smaller than an M3.  It is
>> also lower power.
> 
> Is "lower power" claim proven by measurements on real silicon? Me
> thinks not. In fact, for the apps that have idle loop that enter low
> power mode I'd expect that M3 will consume less power. It appears to
> be the same "race to idle" argument as in phones/tablets/PCs

I suspect the answer is "it depends".  Often you can get the lowest
average energy use by running fast for a short time, then idling - but
sometimes that is not possible, or perhaps you want to minimise peak
power.  Then you have to consider leakage or idle current, as well as
the energy used for particular calculations.

Without proof or references, I would expect that the M0 has lower idle
current, while the M3 or M4 will give lower energy for doing
calculations (especially if they involve a bit more maths).

> 
>> For the small chips, this makes a significant difference.
>> 
>> Once a supplier first has a chip with an M0, 4K SRAM and 32K Flash,
>> it is an easy matter to make new versions with 16K SRAM and 128K
>> Flash, and so on - even if changing to an M3 would make little
>> percentage difference in the die size and cost, everything else
>> involved (documentation, testing, datasheets, toolchains,
>> production environment, die layout, etc.) is easier and cheaper if
>> you stick to the same core for the device family.
>> 
>> For non-technical reasons, the M0 is perceived by some as a simple 
>> replacement for 8-bit devices, while the M3/M4 is a powerful and
>> complex core for bigger embedded systems. In reality, of course,
>> using the M0 is much the same as using the M3 except for the speed.
>> 
> 
> So, may be, those "some" have to be educated?

In the embedded world, it can be an extraordinarily slow process.  There
are "some" who believe that the PIC is the right choice for every
application, and "some" who believe that embedded systems should be
programmed in assembly for efficiency.

> 
>> Is that "artificial market segmentation", or merely "giving
>> customers what they ask for" ?
>> 
>> 
>>> 
>>>> 
>>>> Back to RISCs, one could think that we had a RISC decade from 
>>>> about 1985 (when ARM came out) to 1995 (when the Pentium Pro
>>>> came out), and since then, RISC is just a legacy thing, just
>>>> like the surviving CISC architectures.
>>>> 
>>>> But then a few years ago, ARM came out with Aarch64, which has
>>>> a surprisingly large number of differences from the old ARM 
>>>> instruction sets, and is clearly RISC.  If they thought that 
>>>> load-op or RMW instructions or multiple instruction lengths
>>>> were a winner, I guess they would have included them into the
>>>> instruction set, but they didn't; the thing about multiple
>>>> instruction lengths is quite surprising given that they put
>>>> heavy emphasis on Thumb in the 32-bit instruction set.  So, at
>>>> least in the minds of the AArch64 designers, RISC principles
>>>> still have value.
>>> 
>>> If ARM wants Aarch64 to filter down to MCUs then some day they
>>> will have to re-introduce VL encoding. Look at MIPS, they already
>>> have MIPS16e encoding for MIPS64.
>>> 
>> 
>> I don't imagine that ARM are aiming AArch64 at microcontrollers -
>> what would be the point?  The Cortex M line is for
>> microcontrollers, and it has a /long/ way to go before address
>> space considerations give any reason for moving to 64 bits.
> 
> Yes, for Cortex M0/M3/M4 and even for M7 32 bit look like plenty. But
> there is one "forgotten" Cortex-M - M1. For M1 64-bittenes look
> useful and can give it a real (and badly needed) advantage over Nios2
> and Microblaze. Personally, in recent years I had at least two
> applications where availability of small 64-bit soft core would made
> my life as designer significantly simpler.
> 

It surprises me that there would be much need for a 64-bit soft core,
but if you say you would have found it useful, then obviously I believe
you.  I would expect that we will gradually see hard AArch64 cores in
big FPGAs, replacing the 32-bit Cortex A cores that some have now.
Those are not soft cores, of course, but may do the job.

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


#32953 — Re: t cluttered

Fromalready5chosen@yahoo.com
Date2016-01-20 07:15 -0800
SubjectRe: t cluttered
Message-ID<56ef37ae-b83f-4adb-b037-3e02aa4f5185@googlegroups.com>
In reply to#32949
On Wednesday, January 20, 2016 at 4:17:33 PM UTC+2, David Brown wrote:
> On 20/01/16 12:55, already5chosen@yahoo.com wrote:
> > On Wednesday, January 20, 2016 at 12:30:56 PM UTC+2, David Brown
> > wrote:
> >> On 19/01/16 19:27, already5chosen@yahoo.com wrote:
> >>> On Tuesday, January 19, 2016 at 7:37:58 PM UTC+2, Anton Ertl
> >>> wrote:
> >> <snip>
> >>>> More concretely, despite the plentifulness of transistors, ARM
> >>>> has a variety of very small cores, starting from the Cortex-M0,
> >>>> and these are being designed into chips.
> >>> 
> >>> Yes, they are. And I can't understand why. The difference in
> >>> size between Cortex-M0 and Cortex-M3 is so small relatively to
> >>> the die area of even very small MCU and M3 performance is so much
> >>> more robust than M0... And despite that Cortex-M0-based MCUs are
> >>> definitely made and sold. I can somehow understand it when MCUs
> >>> in question have 4-8KB of SRAM, but some of M0-based MCUs have
> >>> 32KB of SRAM in addition to 256KB of flash. Look, for example, at
> >>> STM32F091VC. It is neither very small chip nor very cheap, but it
> >>> still based on anemic M0 core. If it was Intel I would suspect
> >>> artificial market segmentation as reason, but Cortex-M MCU market
> >>> is too competitive to play segmentation games.
> >>> 
> >>> It is interesting that for slightly bigger MCUs there is an
> >>> opposite trend - Cortex-M3 is gradually replaced by Cortex-M4.
> >> 
> >> The M0 core has several technical advantages over an M3, and some 
> >> non-technical ones.  It is somewhat smaller than an M3.  It is
> >> also lower power.
> > 
> > Is "lower power" claim proven by measurements on real silicon? Me
> > thinks not. In fact, for the apps that have idle loop that enter low
> > power mode I'd expect that M3 will consume less power. It appears to
> > be the same "race to idle" argument as in phones/tablets/PCs
> 
> I suspect the answer is "it depends".  Often you can get the lowest
> average energy use by running fast for a short time, then idling - but
> sometimes that is not possible, or perhaps you want to minimise peak
> power.  Then you have to consider leakage or idle current, as well as
> the energy used for particular calculations.
> 
> Without proof or references, I would expect that the M0 has lower idle
> current, while the M3 or M4 will give lower energy for doing
> calculations (especially if they involve a bit more maths).
>

I expect the same, but would take into account that majority of MCUs not only made on old silicon processes, but specifically on LP variant of old processes. Both factors (old process and LP) contribute to relative insignificance of the leakage power comparatively to switching power. So, yes, I accept that M0 does nothing better than M3/M4, but under above mentioned circumstances M3/M4 are doing nothing good enough. 

> > 
> >> For the small chips, this makes a significant difference.
> >> 
> >> Once a supplier first has a chip with an M0, 4K SRAM and 32K Flash,
> >> it is an easy matter to make new versions with 16K SRAM and 128K
> >> Flash, and so on - even if changing to an M3 would make little
> >> percentage difference in the die size and cost, everything else
> >> involved (documentation, testing, datasheets, toolchains,
> >> production environment, die layout, etc.) is easier and cheaper if
> >> you stick to the same core for the device family.
> >> 
> >> For non-technical reasons, the M0 is perceived by some as a simple 
> >> replacement for 8-bit devices, while the M3/M4 is a powerful and
> >> complex core for bigger embedded systems. In reality, of course,
> >> using the M0 is much the same as using the M3 except for the speed.
> >> 
> > 
> > So, may be, those "some" have to be educated?
> 
> In the embedded world, it can be an extraordinarily slow process.  There
> are "some" who believe that the PIC is the right choice for every
> application, and "some" who believe that embedded systems should be
> programmed in assembly for efficiency.
> 
> > 
> >> Is that "artificial market segmentation", or merely "giving
> >> customers what they ask for" ?
> >> 
> >> 
> >>> 
> >>>> 
> >>>> Back to RISCs, one could think that we had a RISC decade from 
> >>>> about 1985 (when ARM came out) to 1995 (when the Pentium Pro
> >>>> came out), and since then, RISC is just a legacy thing, just
> >>>> like the surviving CISC architectures.
> >>>> 
> >>>> But then a few years ago, ARM came out with Aarch64, which has
> >>>> a surprisingly large number of differences from the old ARM 
> >>>> instruction sets, and is clearly RISC.  If they thought that 
> >>>> load-op or RMW instructions or multiple instruction lengths
> >>>> were a winner, I guess they would have included them into the
> >>>> instruction set, but they didn't; the thing about multiple
> >>>> instruction lengths is quite surprising given that they put
> >>>> heavy emphasis on Thumb in the 32-bit instruction set.  So, at
> >>>> least in the minds of the AArch64 designers, RISC principles
> >>>> still have value.
> >>> 
> >>> If ARM wants Aarch64 to filter down to MCUs then some day they
> >>> will have to re-introduce VL encoding. Look at MIPS, they already
> >>> have MIPS16e encoding for MIPS64.
> >>> 
> >> 
> >> I don't imagine that ARM are aiming AArch64 at microcontrollers -
> >> what would be the point?  The Cortex M line is for
> >> microcontrollers, and it has a /long/ way to go before address
> >> space considerations give any reason for moving to 64 bits.
> > 
> > Yes, for Cortex M0/M3/M4 and even for M7 32 bit look like plenty. But
> > there is one "forgotten" Cortex-M - M1. For M1 64-bittenes look
> > useful and can give it a real (and badly needed) advantage over Nios2
> > and Microblaze. Personally, in recent years I had at least two
> > applications where availability of small 64-bit soft core would made
> > my life as designer significantly simpler.
> > 
> 
> It surprises me that there would be much need for a 64-bit soft core,
> but if you say you would have found it useful, then obviously I believe
> you.  I would expect that we will gradually see hard AArch64 cores in
> big FPGAs, replacing the 32-bit Cortex A cores that some have now.

Altera announced 4x Cortex-A53 in (Intel-fabbed) Stratix-10 series looong time ago. I stopped paying attention where it stands now.

> Those are not soft cores, of course, but may do the job.

The purposes of hard Cortex-A cores and of soft cores in FPGAs obviously overlap (for last 8-9 years we run DHTML web server on Nios2 in one of our long lasting projects. Of course, it can be run on Cortex-A instead of Nios, although most of Cortex-A performance would be of no use) but only overlap. There are areas where soft cores serve same functions that in traditional SOC would be offloaded to Cortex-Ms. There are other areas where soft cores are preferable due to their close coupling with FPGA fabric. If ARM was playing their cards right then they could dominate soft cores with M1 to the same extend they dominate many other markets. But they played their cards in nearly worst possible way, so, by now, M1 exists only in niche-player FPGAs and pretty much invisible in Xilinx and Altera. The outcome has nothing at all to do with technical qualities of M1 core.

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


#32958 — Re: t cluttered

Fromanton@mips.complang.tuwien.ac.at (Anton Ertl)
Date2016-01-20 16:17 +0000
SubjectRe: t cluttered
Message-ID<2016Jan20.171717@mips.complang.tuwien.ac.at>
In reply to#32904
already5chosen@yahoo.com writes:
>If ARM wants Aarch64 to filter down to MCUs then some day they will have to=
> re-introduce VL encoding.

Probably.  I expect that the Aarch64 designers have taken that into
consideration, but decided to cross that bridge when they come to it,
just as they did with Thumb.

- anton
-- 
M. Anton Ertl                    Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html

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


#32919 — Re: t cluttered

FromEricP <ThatWouldBeTelling@thevillage.com>
Date2016-01-19 15:37 -0500
SubjectRe: t cluttered
Message-ID<09xny.91787$Bz5.183@fx04.iad>
In reply to#32886
Erik Trulsson wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>>>> the CISC/RISC distinction ever was useful - some architectures are
>> [...]
>>> Right, the future simply belongs to the pragmatists; whatever works,
>>> works.
>> Actually, in my world, both CISC and RISC are the result of pragmatic
>> design.  They just happened to take place in different contexts:
>>
>> - CISC, in a context where caches and pipelining were not the norm and
>>  where assembly programming was standard, so you wanted to provide
>>  a flexible machine language and maximize the amount of time spent in
>>  the "execute" phase.
>>
>> - RISC in a context where technology made it possible to have pipelining
>>  in a single-chip processor, and where assembly programming was
>>  less prevalent, so being convenient for the compiler was more
>>  important, and so was the fact that every instruction could fit in the
>>  same pipeline mold (i.e., same amount of time spent in "execute").
>>  And throwing out some machine language flexibility made up for itself
>>  by making a single-chip implementation possible.
> 
> You left out one important part:
> 
> RISC was created at a time when transistor count was limited, and it
> mattered what you used them on.  RISC is based on the principle that it is
> generally better to spend transistors on making commonly used instructions
> fast and to add cache (which was beginning to be needed at that time) than
> to implement some rarely-used instructions that could be replaced by a
> sequence of simpler instructions.  A.k.a. "make the common case fast".
> 
> Today transistor count is not much of a limitation, so now you often do not
> have to choose - you can have common instructions execute fast and having
> some rarely-used, or more complicated, instructions.

Other factors originally cited are design cost and time.
I read once that RISC was tongue-in-cheek defined as the largest
processor core that can be designed by two grad students in one term.

I also saw an Intel president, I don't remember which,
describe how it takes 3 years to design an x86 so they
have 3 complete design teams working in a pipeline
to turn out a new design each year.

Anyway, some measured results.
This first paper from 1991 compares a VAX 8700 to MIPS 2000.

"... this paper shows that the resulting [MIPS] advantage in cycles per
program ranges from slightly under a factor of 2 to almost a factor of 4,
with a geometric mean of 2.7. It also demonstrates the correlation between
cycles per instruction and relative instruction count. Various
reasons for this correlation, and for the consistent net advantage
of RISC, are discussed."

Performance from architecture: comparing a RISC and a CISC
with similar hardware organization 1991
http://ctho.org/toread/forclass/18-741/1/RISCandCISC_Bhandarkar.pdf

However a 2013 paper compares ARM and x86 finds:

"... We analyze measurements on the ARM Cortex-A8 and Cortex-A9 and
Intel Atom and Sandybridge i7 microprocessors over workloads spanning
mobile, desktop, and server computing. Our methodical investigation
demonstrates the role of ISA in modern microprocessors’ performance
and energy efficiency. We find that ARM and x86 processors are simply
engineering design points optimized for different levels of performance,
and there is nothing fundamentally more energy efficient in one ISA
class or the other. The ISA being RISC or CISC seems irrelevant."

Power struggles: Revisiting the RISC vs. CISC debate on
contemporary ARM and x86 architectures 2013
http://green-rabbit.sakura.ne.jp/note/wp-content/uploads/2013/04/Power-Struggles-Revisiting-the-RISC-vs.-CISC-Debate.pdf

They also note related work:

"Bhandarkar compared the Pentium-Pro to the Alpha 21164 [6],
again focused exclusively on performance and concluded:
“...the Pentium Pro processor achieves 80% to 90% of the
performance of the Alpha 21164... It uses an aggressive
out-of-order design to overcome the instruction set level
limitations of a CISC architecture. On floating-point intensive
benchmarks, the Alpha 21164 does achieve over twice the performance
of the Pentium Pro processor.” Consensus had grown that
RISC and CISC ISAs had fundamental differences that led
to performance gaps that required aggressive microarchitecture
optimization for CISC which only partially bridged the gap.
Isen et al. [22] compared the performance of Power5+ to Intel
Woodcrest considering SPEC benchmarks and concluded x86
matches the POWER ISA. The consensus was that “with aggressive
microarchitectural techniques for ILP, CISC and RISC
ISAs can be implemented to yield very similar performance.”
"

So without considering design cost or time, RISC had a real performance
advantage over CISC at one point, but that was temporary.

Eric




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


#32808 — Re: t cluttered

Fromanton@mips.complang.tuwien.ac.at (Anton Ertl)
Date2016-01-16 16:46 +0000
SubjectRe: t cluttered
Message-ID<2016Jan16.174623@mips.complang.tuwien.ac.at>
In reply to#32796
nmm@wheeler.UUCP (Nick Maclaren) writes:
>In article <2016Jan15.153335@mips.complang.tuwien.ac.at>,
>Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
>>Bruce Hoult <bruce.hoult@gmail.com> writes:
>>>On Thursday, January 14, 2016 at 7:29:39 PM UTC+3, Quadibloc wrote:
>>>> What about System z? Now there's a survivor for you!
>>>
>>>I don't think it's proudly CISC! A good number of registers, but a very
>>constrained number of instruction sizes. Not load/store, but only one
>>memory operand (except strings?). And, if I recall correctly (and more
>>importantly), only one TLB hit per operand.
>>
>>While CISCs are not as close to each other as RISCs are to each other,
>>the S/360 is relatively close to the PDP-11, the 386, and somewhat to
>>the 68000.  All except 68000 are register machines (machines that
>>mostly use general-purpose registers); all are two-address machines
>>with load-op and read-modify-write instructions.  The VAX is further
>>away, with three addresses that all could reference memory (with
>>indirect addressing modes), and the 68020 moved a bit in the direction
>>of the VAX.
>
>The mind boggles.  The System/370 and PDP-11 addressing models are
>wildly different, and the addressing model is one of the most
>important parts of an architecture.

It's so important that I have never heard of it.  When I google for
"adressing model computer architecture", it gives me pages about
memeory models and about addressing modes, so apparently Google has
never heard about "addressing model", either.  Maybe you can elucidate
us about what you mean with that term.

>I didn't respond to your nonsense earlier, because your fanaticism is
>clearly making debate impossible,

Do you really have so few arguments that you need to resort to
insults?

> but I happened to notice that even
>ARM say that their architecture is only SIMILAR to RISC :-)
>
>http://www.arm.com/products/processors/instruction-set-architectures/

In particular, that page says:

|The ARM architecture is similar to a Reduced Instruction Set Computer
|(RISC) architecture, as it incorporates these typical RISC
|architecture features:
|
|    A uniform register file load/store architecture, where data
|    processing operates only on register contents, not directly on
|    memory contents.
|
|    Simple addressing modes, with all load/store addresses determined
|    from register contents and instruction fields only.
|
|Enhancements to a basic RISC architecture enable ARM processors to
|achieve a good balance of high performance, small code size, low power
|consumption and small silicon area.

Not really a claim that ARM is not RISC.  And given that the R in ARM
stands for RISC, the designers of the architecture certainly
considered the ARM to be a RISC.

As for enhancements, one could discuss whether Thumb is a RISC.
Interestingly, among the early research RISCs there were also 16-bit
instructions (IBM 801) or putting two instructions in one 32-bit word
(Stanford MIPS).

>And, on another matter, no, accessing data beyond the end of an
>object is never harmless, not even if the value is never inspected.
>The main fundamental risk is that the object is at the end of an
>authorisation domain.

Yes, I mentioned that.

>Page faults can be ignored, but that is
>really, really bad news for RDMA and memory-mapped I/O.

If by memory-mapped I/O you mean I/O hardware accessed with memory
access instructions, normal user applications do not have this
hardware mapped into their address space.  If you mean memory-mapped
files (i.e., the mmap() system call), I don't see any real harm.  I am
not familier with RDMA, but from what I read, it emulates a memory
access; might be a performance bug, but is it a correctness bug?

As for ignoring page faults, that's not what I suggest.  So if such an
access hits a page fault, ok, the programmer notices the out-of-bounds
access, and can work on fixing it.  But "optimizing" a bounded loop
into an endless loop and "optimizing" away everything inside the loop,
including the memory access, is not that helpful.

- anton
-- 
M. Anton Ertl                    Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html

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


#32809 — Re: t cluttered

FromQuadibloc <jsavard@ecn.ab.ca>
Date2016-01-16 10:10 -0800
SubjectRe: t cluttered
Message-ID<bae9fa76-f25e-4ad3-a483-099129cfe292@googlegroups.com>
In reply to#32808
On Saturday, January 16, 2016 at 10:37:27 AM UTC-7, Anton Ertl wrote:
> nmm@wheeler.UUCP (Nick Maclaren) writes:

> >The mind boggles.  The System/370 and PDP-11 addressing models are
> >wildly different, and the addressing model is one of the most
> >important parts of an architecture.
> 
> It's so important that I have never heard of it.  When I google for
> "adressing model computer architecture", it gives me pages about
> memeory models and about addressing modes, so apparently Google has
> never heard about "addressing model", either.  Maybe you can elucidate
> us about what you mean with that term.

Well, there's the _memory_ model, which is something familiar to any x86 
programmer: the x86 has more than one of them.

With a PDP-11, and with a System/360, you can have a register-to-register 
instruction that's 16 bits long, and a potentially indexed memory-to-register 
instruction that's 32 bits long.

But on the PDP-11, the address is just a 16-bit field that references the whole 
64K byte address space of the PDP-11.

On a System/360, the address space is all of 16 megabytes. So the address 
consists of a four-bit field identifying a base register, and a 12-bit 
displacement. One has to first load a register with the starting address of a 
4K byte area in memory, and then use that register as a base register for 
instructions that access that portion of memory.

That definitely is a significant architectural difference between the 
System/360 and the PDP-11.

John Savard

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


#32810 — Re: t cluttered

FromQuadibloc <jsavard@ecn.ab.ca>
Date2016-01-16 10:11 -0800
SubjectRe: t cluttered
Message-ID<2ed39f3a-5fb5-4cf6-a49d-41f23bb3d3fa@googlegroups.com>
In reply to#32808
On Saturday, January 16, 2016 at 10:37:27 AM UTC-7, Anton Ertl wrote:
> nmm@wheeler.UUCP (Nick Maclaren) writes:

> >The mind boggles.  The System/370 and PDP-11 addressing models are
> >wildly different, and the addressing model is one of the most
> >important parts of an architecture.
> 
> It's so important that I have never heard of it.  When I google for
> "adressing model computer architecture", it gives me pages about
> memeory models and about addressing modes, so apparently Google has
> never heard about "addressing model", either.  Maybe you can elucidate
> us about what you mean with that term.

Well, there's the _memory_ model, which is something familiar to any x86 
programmer: the x86 has more than one of them.

With a PDP-11, and with a System/360, you can have a register-to-register 
instruction that's 16 bits long, and a potentially indexed memory-to-register 
instruction that's 32 bits long.

But on the PDP-11, the address is just a 16-bit field that references the whole 
64K byte address space of the PDP-11.

On a System/360, the address space is all of 16 megabytes. So the address 
consists of a four-bit field identifying a base register, and a 12-bit 
displacement. One has to first load a register with the starting address of a 
4K byte area in memory, and then use that register as a base register for 
instructions that access that portion of memory.

That definitely is a significant architectural difference between the 
System/360 and the PDP-11.

John Savard

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


#32816 — Re: t cluttered

Fromnmm@wheeler.UUCP (Nick Maclaren)
Date2016-01-16 19:42 +0000
SubjectRe: t cluttered
Message-ID<n7e6fu$1n9$1@dont-email.me>
In reply to#32810
In article <2ed39f3a-5fb5-4cf6-a49d-41f23bb3d3fa@googlegroups.com>,
Quadibloc  <jsavard@ecn.ab.ca> wrote:
>On Saturday, January 16, 2016 at 10:37:27 AM UTC-7, Anton Ertl wrote:
>
>> >The mind boggles.  The System/370 and PDP-11 addressing models are
>> >wildly different, and the addressing model is one of the most
>> >important parts of an architecture.
>> 
>> It's so important that I have never heard of it.  When I google for
>> "adressing model computer architecture", it gives me pages about
>> memeory models and about addressing modes, so apparently Google has
>> never heard about "addressing model", either.  Maybe you can elucidate
>> us about what you mean with that term.
>
>Well, there's the _memory_ model, which is something familiar to any x86 
>programmer: the x86 has more than one of them.

I deliberately used a nonce term, because I was also including whether
the architecture has autoincrement and, to a lesser extent, memory
protection and other mapping mechanisms.  Let's skip virtualisation,
on the grounds that it wasn't there originally in either case.

>That definitely is a significant architectural difference between the 
>System/360 and the PDP-11.

As was the absence of autoincrement in the former - even in the
System/370, it was there only in MVCL/CLCL and BXH/BXLE.  BCT can't
reasonably be called an autoincrement feature.

I can't be bothered to chase up the details of the memory protection
mechanisms at comparable times, but they were wildly different, too.

Oh, and the PDP 11 had memory-mapped devices, but the System/360/etc.
used an entirely different mechanism (which was usable directly from
applications).


Regards,
Nick Maclaren.

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


#32828 — Re: t cluttered

Fromanton@mips.complang.tuwien.ac.at (Anton Ertl)
Date2016-01-17 17:51 +0000
SubjectRe: t cluttered
Message-ID<2016Jan17.185145@mips.complang.tuwien.ac.at>
In reply to#32816
nmm@wheeler.UUCP (Nick Maclaren) writes:
[addressing model]
>I deliberately used a nonce term, because I was also including whether
>the architecture has autoincrement and, to a lesser extent, memory
>protection and other mapping mechanisms.  Let's skip virtualisation,
>on the grounds that it wasn't there originally in either case.

So you wanted to conflate "addressing modes" and "memory management".

Looking at various RISCs, we see a variety of addressing modes.
Several have only one: the 29K has a simple register-indirect mode,
MIPS and Alpha have reg+offset, all others have reg+offset and more:
ARM, HPPA, and PowerPC also have post-increment, SPARC had reg+reg,
the 88K had reg+reg*1/2/4/8, and ARM has all of that, pre-increment,
and (because the PC is a GPR) PC-relative.

It may be more enlightening to look at what's missing: memory-indirect
addressing, and more than two summands (the latter maybe due to
encoding space limitations).

If you are interested in addressing modes, then indeed, you cannot put
architectures into CISC and RISC bins based on the addressing modes
they provide.

Concerning memory management, RISCs don't have segment registers and
somesuch (at least as far as user mode is concerned).  Does this
follow from RISC principles?  From a hardware POV, not necessarily;
however, it seems to me that using segment registers would have
resulted in slower code generated by compilers at least in the first
RISC implementations.  So the segmentation that some RISCs (IIRC
Power, HPPA) have works by dividing the big address space into
segments.  Anyway, many CISCs also don't use segmentation, so if you
are interested in that, RISC/CISC does not make a difference to you,
either.

And yes, RISC does not say anything about I/O, either.

- anton
-- 
M. Anton Ertl                    Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html

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


#32820 — Re: t cluttered

Fromrpw3@rpw3.org (Rob Warnock)
Date2016-01-17 08:21 +0000
SubjectRe: t cluttered
Message-ID<569b4f21$0$92880$742ec2ed@news.sonic.net>
In reply to#32808
Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
+---------------
| nmm@wheeler.UUCP (Nick Maclaren) writes:
| >Page faults can be ignored, but that is
| >really, really bad news for RDMA and memory-mapped I/O.
| 
| If by memory-mapped I/O you mean I/O hardware accessed with memory
| access instructions, normal user applications do not have this
| hardware mapped into their address space.
+---------------

Actually, there are quite a number of historical examples --
including commercial systems -- of "normal user applications"
having "hardware mapped into their address space". A few
examples I'm personally familiar with:

- The original SGI GL graphics pipeline hardware was mapped 
  into low address space of the user program which was
  currently drawing [via the Geometry Engine] into the
  frame buffer. The "Irix" operating system did lazy
  switching of that permission between multiple processes
  doing graphics at the same time. That is, when another
  process ran which didn't touch the magic graphic virtual
  address, it remained mapped in the previous process's
  address space. But if the switched-to process tried to
  access the graphics pipeline, it got a non-fatal page fault,
  the O/S flushed the GL pipeline, unmapped the pipeline
  from the previous process, mapped it into the process
  that just got the fault, and restarted the faulting
  process, which now accessed the pipeline wihtout error.

  It provided *very*-low-latency access from graphics
  programs to the hardware for the many fairly-small
  transactions that early GL used, e.g., "<start polygon>
  <vertex> <vertex>...<vertex> <end polygon> <fill color>
  <fill>", that sort of stuff. Those were stuffed into
  the mmap-ed pipeline with ordinary STORE instructions.

  [Later versions played games with packing multiple STOREs
  into the write buffers of the later MIPS CPUs to lower
  the number of hardware bus cycles needed to push a given
  set of GL transactions.]

- SGI's "GSN" [Gigabyte System Network, an implementation
  of ANSI HIPPI-6400] used the same trick to accelerate
  small RPC/MPI/STP/etc. transactions, with some modifications,
  tha main one being that the hardware was provided with
  multiple sets of identical registers in its physical
  address space, one set per page. This allowed multiple
  user processes to be mapped to the hardware simultaneously,
  each with its own private set of hardware registers in
  an mmap-ed page. [The O/S still did the same sort of lazy 
  juggling of the mappings, IIRC, but much less frequently.]
  Which hardware page got accessed implicitly told the hardware
  which user process was doing the access, so the right
  per-process data -- network connections, permissions,
  data buffer mappings, etc. -- could be used.

- A number of X server implementations have done mmap-ing of
  frame buffers and/or control registers into the user address
  space of the X server, Of course, you may well not consider
  an X server to be a "normal user application"... ;-}

Anyway, it is quite possible for non-root user programs to be
given direct access to hardware via mmap-ing, and it can even
be made (relatively) "safe" if one pays some careful attention
to the design of the hardware and the O/S interfaces to it.

+---------------
| I am not familier with RDMA, but from what I read, it emulates
| a memory access...
+---------------

Not necessarily. RDMA simply means "Remote DMA", and means that
an action at the requestor end of the link causes DMA access to
the responder end of the link... *without* any software intervention
at the responder end. [Obviously, for security there must have
been an initial exchange of authentication, etc. to set up such
an association, but once that's done, remote DMA reads/writes
can proceed without either local or remote systems software
action.]

What kind of local action triggers the remote DMA can vary
based on type of system, O/S, type of link, type of NIC, etc.
It *can* emulate a memory access on the local end, and in fact
a lot of the initial hype for Infiniband promoted that mode,
but these days it's more on a transaction/block/page/buffer-
at-a-time basis. Think of treating some portion of remote user
address space as a "disk" or a "frame buffer", then apply the
tricks mentioned above to lower latency.

For example, the GSN link mentioned above supported RDMA for
STP [Scheduled Transfer Protocol] connections between hosts.
Once the connection was open, a local user process could
directly poke an RDMA transaction request into the mmap-ed
GSN hardware control registers, and the GSN device would
do a local DMA Read, wrap the data in STP, ship it to the
remote host, unwrap the STP protocol, and (R)DMA Write it
into the remote host's user program buffer that was previously
authenticated for it to write into. [And similarly for
remote Reads.] Lots of careful protocol & O/S work is needed
to make this all both efficient *and* safe, but it can be done...


-Rob

-----
Rob Warnock		<rpw3@rpw3.org>
627 26th Avenue		<http://rpw3.org/>
San Mateo, CA 94403

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


#32827 — Re: t cluttered

Fromanton@mips.complang.tuwien.ac.at (Anton Ertl)
Date2016-01-17 17:41 +0000
SubjectRe: t cluttered
Message-ID<2016Jan17.184159@mips.complang.tuwien.ac.at>
In reply to#32820
rpw3@rpw3.org (Rob Warnock) writes:
>Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
>+---------------
>| nmm@wheeler.UUCP (Nick Maclaren) writes:
>| >Page faults can be ignored, but that is
>| >really, really bad news for RDMA and memory-mapped I/O.
>| 
>| If by memory-mapped I/O you mean I/O hardware accessed with memory
>| access instructions, normal user applications do not have this
>| hardware mapped into their address space.
>+---------------
>
>Actually, there are quite a number of historical examples --
>including commercial systems -- of "normal user applications"
>having "hardware mapped into their address space". A few
>examples I'm personally familiar with:

Thanks, interesting examples.  Now getting back to the question of
what happens on a superfluous read from that memory area, would it be
"bad news" (as in "worse than getting a SIGSEGV")?

And no, an X server is not a normal user application, its a suid root
program.

- anton
-- 
M. Anton Ertl                    Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html

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


#32830 — Re: t cluttered

FromMelzzzzz <mel@zzzzz.com>
Date2016-01-17 20:03 +0100
SubjectRe: t cluttered
Message-ID<20160117200331.3850e288@maxa-pc>
In reply to#32827
On Sun, 17 Jan 2016 17:41:59 GMT
anton@mips.complang.tuwien.ac.at (Anton Ertl) wrote:

> rpw3@rpw3.org (Rob Warnock) writes:
> >Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
> >+---------------
> >| nmm@wheeler.UUCP (Nick Maclaren) writes:
> >| >Page faults can be ignored, but that is
> >| >really, really bad news for RDMA and memory-mapped I/O.
> >| 
> >| If by memory-mapped I/O you mean I/O hardware accessed with memory
> >| access instructions, normal user applications do not have this
> >| hardware mapped into their address space.
> >+---------------
> >
> >Actually, there are quite a number of historical examples --
> >including commercial systems -- of "normal user applications"
> >having "hardware mapped into their address space". A few
> >examples I'm personally familiar with:  
> 
> Thanks, interesting examples.  Now getting back to the question of
> what happens on a superfluous read from that memory area, would it be
> "bad news" (as in "worse than getting a SIGSEGV")?
> 
> And no, an X server is not a normal user application, its a suid root
> program.
> 
> - anton
"
As of version 1.16 [3], Xorg may run with standard user privileges with
the help of logind
"

https://wiki.archlinux.org/index.php/xorg#Rootless_Xorg_.28v1.16.29

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


#32841 — Re: t cluttered

Fromrpw3@rpw3.org (Rob Warnock)
Date2016-01-18 12:13 +0000
SubjectRe: t cluttered
Message-ID<569cd6f9$0$92851$742ec2ed@news.sonic.net>
In reply to#32827
Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
+---------------
| rpw3@rpw3.org (Rob Warnock) writes:
| >Actually, there are quite a number of historical examples --
| >including commercial systems -- of "normal user applications"
| >having "hardware mapped into their address space". A few
| >examples I'm personally familiar with:
| 
| Thanks, interesting examples.  Now getting back to the question of
| what happens on a superfluous read from that memory area, would it be
| "bad news" (as in "worse than getting a SIGSEGV")?
+---------------

As far as I know, at least on the SGI graphics & networking
devices I recall, accesses to undefined areas within such
a hardware register page were either SIGSEGVs or SIGBUSes
[depending on where exactly]. And, sorry, I don't recall 
whether a SGIBUS is "worse" than a SIGSEGV in Irix; it was
at least as bad.

Note that the implementation of hardware registers intended
to be mapped into user pages was typically implemented
with partial address decoding, so that if there were,
say, 32 bytes of registers, that block of registers
would appear to be replicated 128 times in a 4 KB page.
That usually got rid of the SIGBUS possibility. [Usually.]

+---------------
| And no, an X server is not a normal user application,
| its a suid root program.
+---------------

Yeah, that's why I put the disclainer/qualifier on that case. ;-}


-Rob

-----
Rob Warnock		<rpw3@rpw3.org>
627 26th Avenue		<http://rpw3.org/>
San Mateo, CA 94403

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


#32849 — Re: t cluttered

Fromanton@mips.complang.tuwien.ac.at (Anton Ertl)
Date2016-01-18 14:24 +0000
SubjectRe: t cluttered
Message-ID<2016Jan18.152412@mips.complang.tuwien.ac.at>
In reply to#32841
rpw3@rpw3.org (Rob Warnock) writes:
>Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
>+---------------
>| rpw3@rpw3.org (Rob Warnock) writes:
>| >Actually, there are quite a number of historical examples --
>| >including commercial systems -- of "normal user applications"
>| >having "hardware mapped into their address space". A few
>| >examples I'm personally familiar with:
>| 
>| Thanks, interesting examples.  Now getting back to the question of
>| what happens on a superfluous read from that memory area, would it be
>| "bad news" (as in "worse than getting a SIGSEGV")?
>+---------------
>
>As far as I know, at least on the SGI graphics & networking
>devices I recall, accesses to undefined areas within such
>a hardware register page were either SIGSEGVs or SIGBUSes
>[depending on where exactly]. And, sorry, I don't recall 
>whether a SGIBUS is "worse" than a SIGSEGV in Irix; it was
>at least as bad.

I would say it's equally bad.  In the normal case, both lead to the
termination of the program.

My guess is that Nick McLaren was thinking about I/O devices where,
e.g., a read consumes one input, so the next read gets the next byte
or word.  If a read beyond array bounds without using the value hits
such an I/O register would have an effect on the result of the program
despite not using the value, and that is probably worse than
terminating the program.  However, I doubt that ordinary user programs
running on protected OSs have such I/O registers in their address
space.

- anton
-- 
M. Anton Ertl                    Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html

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


Page 4 of 10 — ← Prev page 1 2 3 [4] 5 6 … 10  Next page →

Back to top | Article view | comp.arch


csiph-web