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 6 of 10 — ← Prev page 1 … 4 5 [6] 7 8 … 10  Next page →


#32759 — Re: t cluttered

Fromnmm@wheeler.UUCP (Nick Maclaren)
Date2016-01-14 18:05 +0000
SubjectRe: t cluttered
Message-ID<n78o1k$pq9$1@dont-email.me>
In reply to#32756
In article <2016Jan14.174803@mips.complang.tuwien.ac.at>,
Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
>nmm@wheeler.UUCP (Nick Maclaren) writes:
>>I remember what it was claimed to do, and its claimed objectives,
>>and virtually all of those have not been delivered or have been
>>abandoned.
>
>Such as?

See my other postings.  And please pay attention.

>>No, I am NOT saying that all RISC designs have failed - ARM hasn't,
>>though the original RISC proponents asserted that it wasn't RISC.
>
>Citation needed.

Look at most of the early papers.  An immediate search gives:

http://home.gwu.edu/~mlancast/CS6461Reference/RISC/patterson85.RISComputers.pd.pdf

>>  Inter alia, it was claimed
>>to deliver a lot more performance,
>
>It did, for a while.

Only for carefully selected benchmarks.  I helped several people with
hand tuning to get their new, wonderful, five times faster RISC system
to achieve merely faster results than their old 68K ones.  That was
a fairly typical experience on real-life workloads.


Regards,
Nick Maclaren.

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


#32785 — Re: t cluttered

Fromanton@mips.complang.tuwien.ac.at (Anton Ertl)
Date2016-01-15 10:17 +0000
SubjectRe: t cluttered
Message-ID<2016Jan15.111729@mips.complang.tuwien.ac.at>
In reply to#32759
nmm@wheeler.UUCP (Nick Maclaren) writes:
>In article <2016Jan14.174803@mips.complang.tuwien.ac.at>,
>Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
>>nmm@wheeler.UUCP (Nick Maclaren) writes:
>>>I remember what it was claimed to do, and its claimed objectives,
>>>and virtually all of those have not been delivered or have been
>>>abandoned.
>>
>>Such as?
>
>See my other postings.  And please pay attention.

I called your bluff and you have nothing to show.

>>>No, I am NOT saying that all RISC designs have failed - ARM hasn't,
>>>though the original RISC proponents asserted that it wasn't RISC.
>>
>>Citation needed.
>
>Look at most of the early papers.  An immediate search gives:
>
>http://home.gwu.edu/~mlancast/CS6461Reference/RISC/patterson85.RISComputers.pd.pdf

This paper does not even mention ARM, which is not surprising given
that the paper came out in January 1985, while the first samples of
ARM silicon were only received and tested by Acorn in April 1985.
They look at three CPUs (IBM 801, RISC II, and Stanford MIPS) that
have 4 traits in common, and looking at ARM (or Thumb) it has three of
the same characteristics; the characteristic it does not have is
branch delay slots; Power and Alpha also don't have that
characteristic.

>>>  Inter alia, it was claimed
>>>to deliver a lot more performance,
>>
>>It did, for a while.
>
>Only for carefully selected benchmarks.  I helped several people with
>hand tuning to get their new, wonderful, five times faster RISC system
>to achieve merely faster results than their old 68K ones.  That was
>a fairly typical experience on real-life workloads.

My experience was that on those things I did, HPPA-based HP machines
were a lot faster than 68030-based machines, MIPS-based DecStations
were faster than 68k-based Apollos, the 88K-based Aviions were faster
then the 386 box we also had.  The difference became smaller with the
486 and the Pentium; for
<https://www.complang.tuwien.ac.at/franz/latex-bench>, it vanished
already with the Pentium, for SPEC with the Pentium Pro.

From what you write, it seems that your performance problem was with
codes that used lots of integer multiplies, and many early RISCs did
not have multiply instructions, based on the observation that most
code does not do much integer multiplication.

Of course, if your code does not fit the pattern that they optimize
for, their CPUs are probably not a good fit for you.  Then you need to
benchmark the machines with your code rather than the standard
benchmarks (at the time Dhrystone and Whetstone).  Did you benchmark
MIPS-based machines?  MIPS did have a multiply instruction already in
MIPS I.

- 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]


#32733 — Re: t cluttered

FromIvan Godard <ivan@millcomputing.com>
Date2016-01-13 11:54 -0800
SubjectRe: t cluttered
Message-ID<n769th$n5o$1@dont-email.me>
In reply to#32729
On 1/13/2016 2:35 AM, Nick Maclaren wrote:
> In article <n744s9$lhb$1@dont-email.me>,
> Ivan Godard  <ivan@millcomputing.com> wrote:
>>
>>> It has been known for half a century that integer multiply is a
>>> critical addressing operation for a significant proportion of
>>> important codes, though 'computer scientists' often refuse to
>>> admit it.
>>
>> Nick - mul for scaling by stride, when you can't strength-reduce to an
>> add, or when there are more disjoint addresses than you have registers
>> to use for control variables.
>>
>> However, with modern high-reg-count architectures (or long belt-count)
>> and a general choice of natural alignment in arrays (leading to the mul
>> being a manifest power-of-two and hence implementable with a shift) it's
>> much less an issue. And where neither strength reduction nor shift work,
>> most compilers are fairly clever about doing immediate multiplies as
>> shift-and-add combinations.
>
> Not in my experience :-(  The sort of algorithms that critically need
> such code are not typically ones where you can control the sizes or
> strides.  I would be interested in which compilers, because I have
> observed the converse - i.e. that trick is less common than it used
> to be.  But see below: dynamic sizes and strides are the ones of
> interest.
>
>> We looked hard at this, and concluded that we needed to support stride
>> scaling in addressing for all scalar strides. Pending measurement we
>> have not yet settled on whether to extend that to 2*scalar stride,
>> primarily for complex. Actually the bits are there to encode strides up
>> to 128, although the utility of that is questionable :-)
>
> Grrk.  That's a CATASTROPHIC solution!  I am not arguing about whether
> to be able to address in terms of simple, fixed object sizes - that's
> a separate issue and the one that actually resolves.  But, once you
> start thinking of array sizes and strides as fixed at compile-time,
> you end up with (original) Pascal/C/C++ - ghastly languages for array
> algorithms, all.

You are clearly thinking Fortran, in which the second dimension often 
has a runtime stride, while I'm thinking C where there is no second 
dimension, just a first dimension done twice :-)

However, I really don't think that Fortran matrix code will be run on 
the lowest-end Mills, so lacking a multiplier shouldn't be much of an 
issue. They don't have floating point either.

>> However, an integer multiplier is not that much of a monster these days,
>> for any but the extreme low end of our range, and so at least one is
>> configured in to nearly all of the anticipated Mill family members.
>
> My point is that at least one needs to be part of the addressing
> pipeline, in designs which separate that from the floating-point one.
> It doesn't matter if it is fairly slow (e.g. 3x addition is fine,
> and 5x is OK) and restricted to 'addressing size' results, but the
> classic mistake is to allow it to force the addressing pipeline to
> be halted and restarted.  That's why PA-RISC ran like a drain on
> such codes.

Not applicable here. Mill is RISC-like in much of its addressing, and 
there is no multiplier in the addressing pipes; if you need a stride, 
you use an integer mul instruction and then compose your address from 
the result. Where we are less RISCy is that we optimize the common case 
of static *2/4/8/16 by muxing in the address adders, so those cases 
don't need a multiply. And the Mill is statically scheduled/exposed 
pipeline, so there's no issue of "stopping the pipeline" for any ops, 
addressing included.

> If I were doing it, and was inflicted with a two pipeline model, I
> would have 'addressing only' operations in the addressing pipeline,
> and a complete set of integer ones in the 'floating-point' one.
> It would be only the latter that would have single*single=>double
> and double/single=>(single,single), of course.

By and large that's the way it works, with the division between flow and 
exu sides, although all but the smallest Mill has several copies of each 
side. The flow-side address adders are *not* ALU's - they are 3-input 
mixed length summers that know about Mill pointers (which are *not* 
integers, despite the llvm assumptions that cause us so much 
trouble).There is no flow-side mul. The exu side has regular ALU amd MUL 
FUs (and FPUs if configured). And there's some doubt whether we will 
ever have hardware division.

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


#32734 — Re: t cluttered

Fromnmm@wheeler.UUCP (Nick Maclaren)
Date2016-01-13 20:41 +0000
SubjectRe: t cluttered
Message-ID<n76cpp$3ue$1@dont-email.me>
In reply to#32733
In article <n769th$n5o$1@dont-email.me>,
Ivan Godard  <ivan@millcomputing.com> wrote:
>>
>> Grrk.  That's a CATASTROPHIC solution!  I am not arguing about whether
>> to be able to address in terms of simple, fixed object sizes - that's
>> a separate issue and the one that actually resolves.  But, once you
>> start thinking of array sizes and strides as fixed at compile-time,
>> you end up with (original) Pascal/C/C++ - ghastly languages for array
>> algorithms, all.
>
>You are clearly thinking Fortran, in which the second dimension often 
>has a runtime stride, while I'm thinking C where there is no second 
>dimension, just a first dimension done twice :-)

Actually, it applies equally well to a multidimensional array class
in C++.  But you are right that C does not support multidimensional
arrays - that was precisely my point!  Damn the languages, I am 
talking about the algorithms and languages.

>However, I really don't think that Fortran matrix code will be run on 
>the lowest-end Mills, so lacking a multiplier shouldn't be much of an 
>issue. They don't have floating point either.

Don't bet on it.  There are lots of matrix algorithms used in graph
theory, often using Boolean arithmetic, and those are important in
even some embedded codes.

>Not applicable here. Mill is RISC-like in much of its addressing, and 
>there is no multiplier in the addressing pipes; if you need a stride, 
>you use an integer mul instruction and then compose your address from 
>the result. Where we are less RISCy is that we optimize the common case 
>of static *2/4/8/16 by muxing in the address adders, so those cases 
>don't need a multiply. And the Mill is statically scheduled/exposed 
>pipeline, so there's no issue of "stopping the pipeline" for any ops, 
>addressing included.

That's fine by me.  It doesn't matter HOW it is done, provided that
integer multiplication in the addressing pipeline is only a minor
performance problem.  It's only a few codes, but those often depend
on it very heavily.

>And there's some doubt whether we will ever have hardware division.

Again, provided that it performs acceptably, so what?


Regards,
Nick Maclaren.

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


#32737 — Re: t cluttered

FromMitchAlsup <MitchAlsup@aol.com>
Date2016-01-13 17:57 -0800
SubjectRe: t cluttered
Message-ID<e0b80270-ea7d-4617-b589-e0ad75cc3152@googlegroups.com>
In reply to#32734
On Wednesday, January 13, 2016 at 2:44:14 PM UTC-6, Nick Maclaren wrote:
> In article <n769th$n5o$1@dont-email.me>,
> Ivan Godard  <ivan@millcomputing.com> wrote:
> 
> That's fine by me.  It doesn't matter HOW it is done, provided that
> integer multiplication in the addressing pipeline is only a minor
> performance problem.  It's only a few codes, but those often depend
> on it very heavily.

Given 48-bits as the fairly standard virtual address space these days:
adding a multiplier to the address generation path is akin to adding
the better part of a floating point multiplier in area and adding at
least 2 cycles of delay to the minimum data cache hit access. In addition
there is no obvious way to add the multiplicand to the address generation
operand specification at the instruction set level.

I suggest that 3-input addition is the best you are going to see for any
machine with high performance goals or low power goals or low chip area
goals.

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


#32846 — Re: t cluttered

Frommrs@kithrup.com (Mike Stump)
Date2016-01-18 13:37 +0000
SubjectRe: t cluttered
Message-ID<o15HuC.pJC@kithrup.com>
In reply to#32733
In article <n769th$n5o$1@dont-email.me>,
Ivan Godard  <ivan@millcomputing.com> wrote:
>Mill is RISC-like in much of its addressing, and 
>there is no multiplier in the addressing pipes

Hey, I was wondering, does anybody (or did anybody) have an integer
divider (or recip *) in the address pipe?

>And there's some doubt whether we will ever have hardware division.

Curious.  Not even a slow one?

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


#32852 — Re: t cluttered

FromTerje Mathisen <terje.mathisen@tmsw.no>
Date2016-01-19 00:06 +0800
SubjectRe: t cluttered
Message-ID<n7j2id$e8m$1@gioia.aioe.org>
In reply to#32846
Mike Stump wrote:
> In article <n769th$n5o$1@dont-email.me>,
> Ivan Godard  <ivan@millcomputing.com> wrote:
>> Mill is RISC-like in much of its addressing, and
>> there is no multiplier in the addressing pipes
>
> Hey, I was wondering, does anybody (or did anybody) have an integer
> divider (or recip *) in the address pipe?

There was a 17-way banked memory system once, does that count?

Terje
>
>> And there's some doubt whether we will ever have hardware division.
>
> Curious.  Not even a slow one?
>


-- 
- <Terje.Mathisen at tmsw.no>
"almost all programming can be viewed as an exercise in caching"

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


#32866 — Re: t cluttered

FromIvan Godard <ivan@millcomputing.com>
Date2016-01-18 15:27 -0800
SubjectRe: t cluttered
Message-ID<n7js7n$qb$1@dont-email.me>
In reply to#32846
On 1/18/2016 5:37 AM, Mike Stump wrote:
> In article <n769th$n5o$1@dont-email.me>,
> Ivan Godard  <ivan@millcomputing.com> wrote:

>> And there's some doubt whether we will ever have hardware division.
>
> Curious.  Not even a slow one?
>

Nope. It is very hard to pipeline a division, and non-pipelined FUs 
really gum up a fast machine. There's a hardware recip approximation, 
but the subsequent NR stages are much better done as separate ops. 
Likewise for sqrt and the transcendentals.

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


#32870 — Re: t cluttered

Fromnmm@wheeler.UUCP (Nick Maclaren)
Date2016-01-19 09:43 +0000
SubjectRe: t cluttered
Message-ID<n7l0g3$743$1@dont-email.me>
In reply to#32866
In article <n7js7n$qb$1@dont-email.me>,
Ivan Godard  <ivan@millcomputing.com> wrote:
>On 1/18/2016 5:37 AM, Mike Stump wrote:
>
>>> And there's some doubt whether we will ever have hardware division.
>>
>> Curious.  Not even a slow one?
>
>Nope. It is very hard to pipeline a division, and non-pipelined FUs 
>really gum up a fast machine. There's a hardware recip approximation, 
>but the subsequent NR stages are much better done as separate ops. 
>Likewise for sqrt and the transcendentals.

And there is very little point in a slow hardware division, anyway.
As we have discussed before, Newton-Raphson can be pipelined to a
limited extent and, provided that those stages are integrated in
the numeric instruction stream, that's about as fast as hardware
division on almost all existing systems.  As you say, doing better
has been an intractable problem for six decades.

Another possibility is a (mainly integer) division by a smallish
constant.  That's almost common enough to be justifiable, and could
easily be implemented as a multiplication plus fiddling.  But, if you
have a good single*single=>double operation, the compiler can damn
well do that itself!  Converting float/15.0 to float*(1.0/15.0) has
been done from time immemorial.

I don't know why so few compilers do that for integers, though; it
has always struck me as being one of their many blind spots.


Regards,
Nick Maclaren.

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


#32871 — Re: t cluttered

FromTerje Mathisen <terje.mathisen@tmsw.no>
Date2016-01-19 18:00 +0800
SubjectRe: t cluttered
Message-ID<n7l1gu$1fsq$1@gioia.aioe.org>
In reply to#32870
Nick Maclaren wrote:
> Another possibility is a (mainly integer) division by a smallish
> constant.  That's almost common enough to be justifiable, and could
> easily be implemented as a multiplication plus fiddling.  But, if you
> have a good single*single=>double operation, the compiler can damn
> well do that itself!  Converting float/15.0 to float*(1.0/15.0) has
> been done from time immemorial.
>
> I don't know why so few compilers do that for integers, though; it
> has always struck me as being one of their many blind spots.

Oh, but they do!

15-20 years ago I had the great pleasure of rediscovering how to do 
exact integer division using reciprocal muls, at that time almost no 
compilers did the same.

Now however I haven't seen a compiler which doesn't do this in a long time.

I.e. convert N / const into a reciprocal mul, possibly an adjustment if 
the reciprocal needs an extra bit to be accurate enough,and then a shift.

What I haven't seen any compiler do automatically is a dynamic 
conversion, i.e. where you have a loop dividing many numbers by the same 
integer value: As long as the loop count is 2-3 or higher it is faster 
to calculate the reciprocal and then use that inside the loop.

Terje

-- 
- <Terje.Mathisen at tmsw.no>
"almost all programming can be viewed as an exercise in caching"

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


#32875 — Re: t cluttered

Fromalready5chosen@yahoo.com
Date2016-01-19 02:47 -0800
SubjectRe: t cluttered
Message-ID<d7b5838e-813f-4335-87c9-0b9ea7ae5197@googlegroups.com>
In reply to#32871
On Tuesday, January 19, 2016 at 12:01:12 PM UTC+2, Terje Mathisen wrote:
> Nick Maclaren wrote:
> > Another possibility is a (mainly integer) division by a smallish
> > constant.  That's almost common enough to be justifiable, and could
> > easily be implemented as a multiplication plus fiddling.  But, if you
> > have a good single*single=>double operation, the compiler can damn
> > well do that itself!  Converting float/15.0 to float*(1.0/15.0) has
> > been done from time immemorial.
> >
> > I don't know why so few compilers do that for integers, though; it
> > has always struck me as being one of their many blind spots.
> 
> Oh, but they do!
> 
> 15-20 years ago I had the great pleasure of rediscovering how to do 
> exact integer division using reciprocal muls, at that time almost no 
> compilers did the same.
> 
> Now however I haven't seen a compiler which doesn't do this in a long time.
> 
> I.e. convert N / const into a reciprocal mul, possibly an adjustment if 
> the reciprocal needs an extra bit to be accurate enough,and then a shift.
> 
> What I haven't seen any compiler do automatically is a dynamic 
> conversion, i.e. where you have a loop dividing many numbers by the same 
> integer value: As long as the loop count is 2-3 or higher it is faster 
> to calculate the reciprocal and then use that inside the loop.
>

How would compiler know that the value of divider is small?


> Terje
> 
> -- 
> - <Terje.Mathisen at tmsw.no>
> "almost all programming can be viewed as an exercise in caching"

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


#32877 — Re: t cluttered

FromBruce Hoult <bruce.hoult@gmail.com>
Date2016-01-19 03:01 -0800
SubjectRe: t cluttered
Message-ID<fcae5e87-4ac3-4108-afc8-a1d994af122b@googlegroups.com>
In reply to#32875
On Tuesday, January 19, 2016 at 1:47:06 PM UTC+3, already...@yahoo.com wrote:
> On Tuesday, January 19, 2016 at 12:01:12 PM UTC+2, Terje Mathisen wrote:
> > Nick Maclaren wrote:
> > > Another possibility is a (mainly integer) division by a smallish
> > > constant.  That's almost common enough to be justifiable, and could
> > > easily be implemented as a multiplication plus fiddling.  But, if you
> > > have a good single*single=>double operation, the compiler can damn
> > > well do that itself!  Converting float/15.0 to float*(1.0/15.0) has
> > > been done from time immemorial.
> > >
> > > I don't know why so few compilers do that for integers, though; it
> > > has always struck me as being one of their many blind spots.
> > 
> > Oh, but they do!
> > 
> > 15-20 years ago I had the great pleasure of rediscovering how to do 
> > exact integer division using reciprocal muls, at that time almost no 
> > compilers did the same.
> > 
> > Now however I haven't seen a compiler which doesn't do this in a long time.
> > 
> > I.e. convert N / const into a reciprocal mul, possibly an adjustment if 
> > the reciprocal needs an extra bit to be accurate enough,and then a shift.
> > 
> > What I haven't seen any compiler do automatically is a dynamic 
> > conversion, i.e. where you have a loop dividing many numbers by the same 
> > integer value: As long as the loop count is 2-3 or higher it is faster 
> > to calculate the reciprocal and then use that inside the loop.
> >
> 
> How would compiler know that the value of divider is small?

Because it's a literal.

But I'm not aware of any requirement for the divisor to be small. I've used this technique with dynamic divisors in hash tables with a prime number of buckets. Whenever you resize the hash table, calculate the integer reciprocal of the new number of buckets and store it in the hash table descriptor.

This is not necessary now that fast hash functions have been found that use e.g. two multiplies sandwiching a rotate to hash a 32 or 64 bit quantity very nearly as well as SHA (plenty well enough for non-hostile environments). Or, indeed, CPUs that have SHA built in. Given that, power of two hash table sizes work fine.

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


#32883 — Re: t cluttered

Fromalready5chosen@yahoo.com
Date2016-01-19 04:43 -0800
SubjectRe: t cluttered
Message-ID<d4ac5223-9c50-485e-885e-a02d97f28591@googlegroups.com>
In reply to#32877
On Tuesday, January 19, 2016 at 1:01:29 PM UTC+2, Bruce Hoult wrote:
> On Tuesday, January 19, 2016 at 1:47:06 PM UTC+3, already...@yahoo.com wrote:
> > On Tuesday, January 19, 2016 at 12:01:12 PM UTC+2, Terje Mathisen wrote:
> > > Nick Maclaren wrote:
> > > > Another possibility is a (mainly integer) division by a smallish
> > > > constant.  That's almost common enough to be justifiable, and could
> > > > easily be implemented as a multiplication plus fiddling.  But, if you
> > > > have a good single*single=>double operation, the compiler can damn
> > > > well do that itself!  Converting float/15.0 to float*(1.0/15.0) has
> > > > been done from time immemorial.
> > > >
> > > > I don't know why so few compilers do that for integers, though; it
> > > > has always struck me as being one of their many blind spots.
> > > 
> > > Oh, but they do!
> > > 
> > > 15-20 years ago I had the great pleasure of rediscovering how to do 
> > > exact integer division using reciprocal muls, at that time almost no 
> > > compilers did the same.
> > > 
> > > Now however I haven't seen a compiler which doesn't do this in a long time.
> > > 
> > > I.e. convert N / const into a reciprocal mul, possibly an adjustment if 
> > > the reciprocal needs an extra bit to be accurate enough,and then a shift.
> > > 
> > > What I haven't seen any compiler do automatically is a dynamic 
> > > conversion, i.e. where you have a loop dividing many numbers by the same 
> > > integer value: As long as the loop count is 2-3 or higher it is faster 
> > > to calculate the reciprocal and then use that inside the loop.
> > >
> > 
> > How would compiler know that the value of divider is small?
> 
> Because it's a literal.
>

Reread what Terje wrote. He means non-literal.

> But I'm not aware of any requirement for the divisor to be small. 

According to my understanding (I didn't explore it in depth, but it's not like I know nothing about it), for small divisors and for a dividend in range [0..2^31] you need to calculate only one parameter for an inner loop. For arbitrary divisor and dividend you need 3-4 parameters which makes both setup and an inner loop slower.
For example, I looked at the output of gcc for x/130797 where x is arbitrary uint32_t.
It looks like following (translating back to C)
uint32_t temp = (uint32_t)(((uint64_t)x*0x89ca03)>>32)
temp -= x;
temp >>= 1;
temp += x;
return temp >> 16;

Compare this with x/19:
uint32_t temp = (uint32_t)(((uint64_t)x*0xAF286bcb)>>32)
temp -= x;
temp >>= 1;
temp += x;
return temp >> 4;
Quite similar, but last shift is different.

Then compare this with x/3:
uint32_t temp = (uint32_t)(((uint64_t)x*0xAAAAAAAB)>>32)
return temp >> 1;

Here you have more differences than just a shift.

Alternatively, you can use 1 parameter, but to add additional multiplication + comparison + adjustment in the inner loop.

> I've used this technique with dynamic divisors in hash tables with a prime number of buckets. Whenever you resize the hash table, calculate the integer reciprocal of the new number of buckets and store it in the hash table descriptor.
> 
> This is not necessary now that fast hash functions have been found that use e.g. two multiplies sandwiching a rotate to hash a 32 or 64 bit quantity very nearly as well as SHA (plenty well enough for non-hostile environments). Or, indeed, CPUs that have SHA built in. Given that, power of two hash table sizes work fine.

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


#33011 — Re: t cluttered

Fromjgk@panix.com (Joe keane)
Date2016-01-21 17:35 +0000
SubjectRe: t cluttered
Message-ID<n7r4t7$odc$1@reader1.panix.com>
In reply to#32877
In article <fcae5e87-4ac3-4108-afc8-a1d994af122b@googlegroups.com>,
Bruce Hoult  <bruce.hoult@gmail.com> wrote:
>This is not necessary now that fast hash functions have been found that
>use e.g. two multiplies sandwiching a rotate to hash a 32 or 64 bit
>quantity very nearly as well as SHA (plenty well enough for non-hostile
>environments). Or, indeed, CPUs that have SHA built in. Given that,
>power of two hash table sizes work fine.

Power-of-two-size hash tables work fine.  You just need some semi-decent
mixing inside your hash function.

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


#33012 — Re: t cluttered

FromStefan Monnier <monnier@iro.umontreal.ca>
Date2016-01-21 14:45 -0500
SubjectRe: t cluttered
Message-ID<jwv60ymk9ca.fsf-monnier+comp.arch@gnu.org>
In reply to#33011
> Power-of-two-size hash tables work fine.  You just need some semi-decent
> mixing inside your hash function.

Also, I was under the impression that nowadays B-trees can
advantageously replace the "hashing array" used in the hash-tables.
IOW instead of "array[hash % size]" you do "lookup_btree(hash)".


        Stefan

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


#33022 — Re: t cluttered

Fromnmm@wheeler.UUCP (Nick Maclaren)
Date2016-01-22 09:49 +0000
SubjectRe: t cluttered
Message-ID<n7su05$f96$1@dont-email.me>
In reply to#33012
In article <jwv60ymk9ca.fsf-monnier+comp.arch@gnu.org>,
Stefan Monnier  <monnier@iro.umontreal.ca> wrote:
>> Power-of-two-size hash tables work fine.  You just need some semi-decent
>> mixing inside your hash function.
>
>Also, I was under the impression that nowadays B-trees can
>advantageously replace the "hashing array" used in the hash-tables.
>IOW instead of "array[hash % size]" you do "lookup_btree(hash)".

No - that is and always was an erroneous claim.  Under a great many
circumstances, hash tables have an essentially constant lookup time,
and B-trees are always logarithmic.  Also, hash tables work on some
data that B-trees don't, and conversely.


Regards,
Nick Maclaren.

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


#33033 — Re: hashes and b-trees, was't cluttered

FromJohn Levine <johnl@iecc.com>
Date2016-01-22 16:53 +0000
SubjectRe: hashes and b-trees, was't cluttered
Message-ID<n7tmq4$ana$1@miucha.iecc.com>
In reply to#33022
>>Also, I was under the impression that nowadays B-trees can
>>advantageously replace the "hashing array" used in the hash-tables.
>>IOW instead of "array[hash % size]" you do "lookup_btree(hash)".
>
>No - that is and always was an erroneous claim.  Under a great many
>circumstances, hash tables have an essentially constant lookup time,
>and B-trees are always logarithmic.  Also, hash tables work on some
>data that B-trees don't, and conversely.

B-trees are designed for disk storage, to have a small number of
block reads in a typical disk system.

If your hash table is so large that you get page faults when you look
stuff up, B-trees might win, but if the table fits in RAM, and you
don't need the sequential access that B-trees provide, hashes win.

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


#33036 — Re: hashes and b-trees, was't cluttered

From"James Van Buskirk" <not_valid@comcast.net>
Date2016-01-22 10:34 -0700
SubjectRe: hashes and b-trees, was't cluttered
Message-ID<n7tp31$pqf$1@dont-email.me>
In reply to#33033
"John Levine"  wrote in message news:n7tmq4$ana$1@miucha.iecc.com... 

> B-trees are designed for disk storage, to have a small number of
> block reads in a typical disk system.

> If your hash table is so large that you get page faults when you look
> stuff up, B-trees might win, but if the table fits in RAM, and you
> don't need the sequential access that B-trees provide, hashes win.

Isn't it true that there are hash table religionists and hash table
atheists?

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


#33039 — Re: hashes and b-trees, was't cluttered

Fromnmm@wheeler.UUCP (Nick Maclaren)
Date2016-01-22 18:00 +0000
SubjectRe: hashes and b-trees, was't cluttered
Message-ID<n7tqo3$106$1@dont-email.me>
In reply to#33036
In article <n7tp31$pqf$1@dont-email.me>,
James Van Buskirk <not_valid@comcast.net> wrote:
>"John Levine"  wrote in message news:n7tmq4$ana$1@miucha.iecc.com... 
>
>> B-trees are designed for disk storage, to have a small number of
>> block reads in a typical disk system.
>
>> If your hash table is so large that you get page faults when you look
>> stuff up, B-trees might win, but if the table fits in RAM, and you
>> don't need the sequential access that B-trees provide, hashes win.
>
>Isn't it true that there are hash table religionists and hash table
>atheists?

No - the other way round - i.e. it's B-trees that have the believers
that they are the One True Indexing Method.  The hash table religion
(which did once exist) is one with the worship of Osiris.  And the
B-tree religion is fading fast, too.

John Levine is right.  But B-trees  give a fast way of locating the
previous and next elements, which hash tables don't.  There are also
data that have comparison functions but are not hashable, and vice
versa.


Regards,
Nick Maclaren.

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


#33111 — Re: t cluttered

FromStefan Monnier <monnier@iro.umontreal.ca>
Date2016-01-25 14:03 -0500
SubjectRe: t cluttered
Message-ID<jwvtwm1iiy7.fsf-monnier+comp.arch@gnu.org>
In reply to#33022
>> IOW instead of "array[hash % size]" you do "lookup_btree(hash)".
[...]
> Also, hash tables work on some data that B-trees don't,
> and conversely.

I'm not talking about using a B-tree directly: as you see in my quoted
message, the B-tree is indexes by the *hash* (typically a 32 or 64bit
integer).


        Stefan

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


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

Back to top | Article view | comp.arch


csiph-web