Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.arch > #32659 > unrolled thread
| Started by | "Skybuck Flying" <skybuck2000@hotmail.com> |
|---|---|
| First post | 2016-01-11 16:44 +0100 |
| Last post | 2016-01-11 23:46 -0800 |
| Articles | 20 on this page of 192 — 45 participants |
Back to article view | Back to comp.arch
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 2 of 10 — ← Prev page 1 [2] 3 4 … 10 Next page →
| From | David Brown <david.brown@hesbynett.no> |
|---|---|
| Date | 2016-01-12 22:05 +0100 |
| Subject | Re: t cluttered |
| Message-ID | <n73pkv$a6f$1@dont-email.me> |
| In reply to | #32692 |
On 12/01/16 18:25, John Larkin wrote: > On Tue, 12 Jan 2016 11:06:45 +0100, David Brown > <david.brown@hesbynett.no> wrote: > >> On 11/01/16 20:12, John Larkin wrote: >>> On Mon, 11 Jan 2016 13:42:57 -0500, Jerry Stuckle >> >>>> Nowadays processors (from micro to mainframe) are run by microcode. >>> >>> Not all. Some RISC machines are pure logic. ARM, Coldfire, maybe MIPS? >> >> (When the microcode based 68K architecture was being redesigned into a >> RISC structure with little or no microcode for the Coldfire, the >> designers planned to keep the microcoded division instructions. But >> then someone noticed that a pure software division routine ran faster >> than the microcoded division hardware, so support was dropped.) > > Some CPU, maybe the HPPA Risc or something, didn't even have a > multiply instruction. It cluttered the pipeline so they eliminated it. There are plenty of small cpus with no multiply, in order to keep the design small and simple. (I don't expect that die space was a major factor when omitting a multiplier from the HPPA Risc, or whichever processor you meant.) The interesting thing with division on the Coldfire was that the software-only solution turned out to be faster than the hardware (at least with the old design). > > >> >> One of the driving forces of "RISC" compared to older "CISC" designs was >> to get rid of microcode. >> >> And since by far most modern cpus (both in terms of the numbers >> produced, and the number of designs) are microcontrollers, which almost >> never use microcode, it's fair to say that only a small proportion of >> currently active processors have microcode - even though those >> processors are rather important. > > I think the fundamental RISC concept is to design an instruction set > that's compiler friendly and not people friendly. CISC attempted to > make assembly programming look like a programming language; RISC > pretty much assumes that binaries are created by compilers. > That's true. But a key point in a RISC design is that the instructions should each be simple, and do one thing (so you have a "load" instruction, and an "add" instruction, but not a "load then add" instruction). Then you make these instructions run as fast as possible - and that means no microcoding to add delays. > > > >> >>> >>> Intels are still microcode based. >>> >> >> Yes, both Intel and AMD's x86 processors have a lot of microcode. But >> they are not really "microcode based". Some parts, such as the FPU >> (especially multi-cycle functions) are microcoded - but many other parts >> are handled directly in hard logic. The distinction between what is >> microcoded and what is hard logic is not easy to guess, and details are >> considered part of the design secrets. > > They are stuck with a CISC instruction set that was originally > microcoded. They have to work very hard to butcher that to make it > fast. Yes. So what happens internally is that the CISC instructions are decoded and turned into mostly RISC instructions of a design-specific RISC cpu that is invisible to the programmer. In most cases, one CISC instruction turns into one or more RISC instructions to avoid microcoding - but sometimes a few CISC instructions map to one RISC instruction, and for some units microcoding is still used. > > >> >> Microcode lets Intel and AMD do some fixes by microcode patches, either >> using the BIOS (needed for Windows) or loaded by the Linux kernel at >> startup. > > Less bugs is another approach. > :-)
[toc] | [prev] | [next] | [standalone]
| From | Ivan Godard <ivan@millcomputing.com> |
|---|---|
| Date | 2016-01-12 14:03 -0800 |
| Subject | Re: t cluttered |
| Message-ID | <n73t2d$o1f$1@dont-email.me> |
| In reply to | #32705 |
On 1/12/2016 1:05 PM, David Brown wrote: > On 12/01/16 18:25, John Larkin wrote: >>> Yes, both Intel and AMD's x86 processors have a lot of microcode. But >>> they are not really "microcode based". Some parts, such as the FPU >>> (especially multi-cycle functions) are microcoded - but many other parts >>> are handled directly in hard logic. The distinction between what is >>> microcoded and what is hard logic is not easy to guess, and details are >>> considered part of the design secrets. >> >> They are stuck with a CISC instruction set that was originally >> microcoded. They have to work very hard to butcher that to make it >> fast. > > Yes. So what happens internally is that the CISC instructions are > decoded and turned into mostly RISC instructions of a design-specific > RISC cpu that is invisible to the programmer. In most cases, one CISC > instruction turns into one or more RISC instructions to avoid > microcoding - but sometimes a few CISC instructions map to one RISC > instruction, and for some units microcoding is still used. Funny; I'd call that "microcoded". Perhaps you are distinguishing between horizontal and vertical microcode?
[toc] | [prev] | [next] | [standalone]
| From | Stephen Fuld <SFuld@alumni.cmu.edu.invalid> |
|---|---|
| Date | 2016-01-12 21:44 -0800 |
| Subject | Re: t cluttered |
| Message-ID | <n74o2b$403$1@dont-email.me> |
| In reply to | #32709 |
On 1/12/2016 2:03 PM, Ivan Godard wrote: > On 1/12/2016 1:05 PM, David Brown wrote: >> On 12/01/16 18:25, John Larkin wrote: > >>>> Yes, both Intel and AMD's x86 processors have a lot of microcode. But >>>> they are not really "microcode based". Some parts, such as the FPU >>>> (especially multi-cycle functions) are microcoded - but many other >>>> parts >>>> are handled directly in hard logic. The distinction between what is >>>> microcoded and what is hard logic is not easy to guess, and details are >>>> considered part of the design secrets. >>> >>> They are stuck with a CISC instruction set that was originally >>> microcoded. They have to work very hard to butcher that to make it >>> fast. >> >> Yes. So what happens internally is that the CISC instructions are >> decoded and turned into mostly RISC instructions of a design-specific >> RISC cpu that is invisible to the programmer. In most cases, one CISC >> instruction turns into one or more RISC instructions to avoid >> microcoding - but sometimes a few CISC instructions map to one RISC >> instruction, and for some units microcoding is still used. > > Funny; I'd call that "microcoded". Perhaps you are distinguishing > between horizontal and vertical microcode? At first, your response stunned me. It seemed obvious that there was a huge difference. But the more I thought about it, the harder it became to explain to myself what the difference was. :-( After some time, I came up with the following. Traditional microcode is like an interpreter. When encountering an instruction, the CPU "branches" to the appropriate microcode to handle that instruction. There are pre-coded routines in the microcode store for each instruction to be executed. On the other hand, "breaking" a CISC instruction into one or more micro-ops is more like a JIT compiler. When the complex instruction is encountered, it is "compiled" into a sequence of "native" instructions, which are then executed. Unlike the microcode approach, the instructions don't exist before the instruction decode creates them (though, of course, the decoded may have something like a "template" to guide its "compilation"). Does this make any sense? -- - Stephen Fuld (e-mail address disguised to prevent spam)
[toc] | [prev] | [next] | [standalone]
| From | Terje Mathisen <terje.mathisen@tmsw.no> |
|---|---|
| Date | 2016-01-13 15:41 +0800 |
| Subject | Re: t cluttered |
| Message-ID | <n74v3s$11eo$1@gioia.aioe.org> |
| In reply to | #32723 |
Stephen Fuld wrote: > On 1/12/2016 2:03 PM, Ivan Godard wrote: >> On 1/12/2016 1:05 PM, David Brown wrote: >>> On 12/01/16 18:25, John Larkin wrote: >> >>>>> Yes, both Intel and AMD's x86 processors have a lot of microcode. But >>>>> they are not really "microcode based". Some parts, such as the FPU >>>>> (especially multi-cycle functions) are microcoded - but many other >>>>> parts >>>>> are handled directly in hard logic. The distinction between what is >>>>> microcoded and what is hard logic is not easy to guess, and details >>>>> are >>>>> considered part of the design secrets. >>>> >>>> They are stuck with a CISC instruction set that was originally >>>> microcoded. They have to work very hard to butcher that to make it >>>> fast. >>> >>> Yes. So what happens internally is that the CISC instructions are >>> decoded and turned into mostly RISC instructions of a design-specific >>> RISC cpu that is invisible to the programmer. In most cases, one CISC >>> instruction turns into one or more RISC instructions to avoid >>> microcoding - but sometimes a few CISC instructions map to one RISC >>> instruction, and for some units microcoding is still used. >> >> Funny; I'd call that "microcoded". Perhaps you are distinguishing >> between horizontal and vertical microcode? > > > At first, your response stunned me. It seemed obvious that there was a > huge difference. But the more I thought about it, the harder it became > to explain to myself what the difference was. :-( > > After some time, I came up with the following. Traditional microcode is > like an interpreter. When encountering an instruction, the CPU > "branches" to the appropriate microcode to handle that instruction. > There are pre-coded routines in the microcode store for each instruction > to be executed. > > On the other hand, "breaking" a CISC instruction into one or more > micro-ops is more like a JIT compiler. When the complex instruction is > encountered, it is "compiled" into a sequence of "native" instructions, > which are then executed. Unlike the microcode approach, the > instructions don't exist before the instruction decode creates them > (though, of course, the decoded may have something like a "template" to > guide its "compilation"). > > Does this make any sense? Indeed it does. In my mental model the big difference between an instruction which is microcoded and one where the instruction decoder splits it into a fixed set of actual hw instructions lies in the scheduling: With a traditional complex microcoded instruction the CPU effectively branches to a hw function, doing nothing else until it is done, while a decoder that spits out multiple instructions will allow them to run independently through the rest of the cpu stages. Particularly with OoO cpus this difference can be significant. Terje -- - <Terje.Mathisen at tmsw.no> "almost all programming can be viewed as an exercise in caching"
[toc] | [prev] | [next] | [standalone]
| From | krw <krw@nowhere.com> |
|---|---|
| Date | 2016-01-13 21:39 -0500 |
| Subject | Re: t cluttered |
| Message-ID | <ae2e9bpou4q2m5v2gcvoit1n6bvnl9e1o2@4ax.com> |
| In reply to | #32724 |
On Wed, 13 Jan 2016 15:41:47 +0800, Terje Mathisen <terje.mathisen@tmsw.no> wrote: >Stephen Fuld wrote: >> On 1/12/2016 2:03 PM, Ivan Godard wrote: >>> On 1/12/2016 1:05 PM, David Brown wrote: >>>> On 12/01/16 18:25, John Larkin wrote: >>> >>>>>> Yes, both Intel and AMD's x86 processors have a lot of microcode. But >>>>>> they are not really "microcode based". Some parts, such as the FPU >>>>>> (especially multi-cycle functions) are microcoded - but many other >>>>>> parts >>>>>> are handled directly in hard logic. The distinction between what is >>>>>> microcoded and what is hard logic is not easy to guess, and details >>>>>> are >>>>>> considered part of the design secrets. >>>>> >>>>> They are stuck with a CISC instruction set that was originally >>>>> microcoded. They have to work very hard to butcher that to make it >>>>> fast. >>>> >>>> Yes. So what happens internally is that the CISC instructions are >>>> decoded and turned into mostly RISC instructions of a design-specific >>>> RISC cpu that is invisible to the programmer. In most cases, one CISC >>>> instruction turns into one or more RISC instructions to avoid >>>> microcoding - but sometimes a few CISC instructions map to one RISC >>>> instruction, and for some units microcoding is still used. >>> >>> Funny; I'd call that "microcoded". Perhaps you are distinguishing >>> between horizontal and vertical microcode? >> >> >> At first, your response stunned me. It seemed obvious that there was a >> huge difference. But the more I thought about it, the harder it became >> to explain to myself what the difference was. :-( >> >> After some time, I came up with the following. Traditional microcode is >> like an interpreter. When encountering an instruction, the CPU >> "branches" to the appropriate microcode to handle that instruction. >> There are pre-coded routines in the microcode store for each instruction >> to be executed. >> >> On the other hand, "breaking" a CISC instruction into one or more >> micro-ops is more like a JIT compiler. When the complex instruction is >> encountered, it is "compiled" into a sequence of "native" instructions, >> which are then executed. Unlike the microcode approach, the >> instructions don't exist before the instruction decode creates them >> (though, of course, the decoded may have something like a "template" to >> guide its "compilation"). >> >> Does this make any sense? > >Indeed it does. > >In my mental model the big difference between an instruction which is >microcoded and one where the instruction decoder splits it into a fixed >set of actual hw instructions lies in the scheduling: > >With a traditional complex microcoded instruction the CPU effectively >branches to a hw function, doing nothing else until it is done, while a >decoder that spits out multiple instructions will allow them to run >independently through the rest of the cpu stages. These "stages" need not be in series, either. They can be parallel execution units. The machine state is then updated when all of the pieces are complete. >Particularly with OoO cpus this difference can be significant. > >Terje
[toc] | [prev] | [next] | [standalone]
| From | Quadibloc <jsavard@ecn.ab.ca> |
|---|---|
| Date | 2016-01-13 00:52 -0800 |
| Subject | Re: t cluttered |
| Message-ID | <9e7670e0-050c-4b75-86c3-d6d03e09f082@googlegroups.com> |
| In reply to | #32709 |
On Tuesday, January 12, 2016 at 3:03:30 PM UTC-7, Ivan Godard wrote: > On 1/12/2016 1:05 PM, David Brown wrote: > > Yes. So what happens internally is that the CISC instructions are > > decoded and turned into mostly RISC instructions of a design-specific > > RISC cpu that is invisible to the programmer. In most cases, one CISC > > instruction turns into one or more RISC instructions to avoid > > microcoding - but sometimes a few CISC instructions map to one RISC > > instruction, and for some units microcoding is still used. > Funny; I'd call that "microcoded". Perhaps you are distinguishing > between horizontal and vertical microcode? A traditional microcoded computer has a permanent microprogram in some sort of high-speed storage, and it goes from one micro-instruction to the next as it operates. In order to work that way, the microprogram would include microinstructions that fetch instructions and decode them. My understanding of how modern x86 microprocessors work is this: Hardwired circuitry fetches and decodes instructions. After they're decoded, they're turned into "micro-ops", which resemble microcode in some ways, and RISC instructions in others. Most significantly, an instruction to add (or perform some other arithmetic or logic operation) a data item from memory to the contents of a register will be turned into separate micro-ops, one to do a load and one to do the arithmetic on a register- to-register basis. (This is the specific thing that leads to the term "decoupled microarchitecture", since load-store RISC computers are also referred to as having a decoupled architecture by virtue of separating the load from the arithmetic.) So there is no permanent microprogram resident in the processor - rather, a stream of micro-ops is produced on the fly as a translation of the CISC program. However, this picture has two exceptions, which lead to references to microcode in modern x86 processors. Instructions similar to the IBM 360 MVC, EDMK, and so on are implemented by permanent microprograms, since they involve long sequences of operations. So when they're encountered, the decoding and control circuitry calls upon the microprogrammed mode of operation. As well, the conversion from CISC instructions to micro-ops isn't really 100% hardwired - it's perhaps table-driven, so that changes can be made after the chip is released. I could be mistaken here, and perhaps the operation is closer to the traditional microcode model than I realize, but my understanding is that were today's processors... or even the x86 processors going back to the Pentium or even the 486... microcoded, they would not perform as well as they do. John Savard
[toc] | [prev] | [next] | [standalone]
| From | already5chosen@yahoo.com |
|---|---|
| Date | 2016-01-13 02:39 -0800 |
| Subject | Re: t cluttered |
| Message-ID | <076c80cd-d238-4729-8790-0aabf3a99639@googlegroups.com> |
| In reply to | #32727 |
On Wednesday, January 13, 2016 at 10:52:08 AM UTC+2, Quadibloc wrote: > On Tuesday, January 12, 2016 at 3:03:30 PM UTC-7, Ivan Godard wrote: > > On 1/12/2016 1:05 PM, David Brown wrote: > > > > Yes. So what happens internally is that the CISC instructions are > > > decoded and turned into mostly RISC instructions of a design-specific > > > RISC cpu that is invisible to the programmer. In most cases, one CISC > > > instruction turns into one or more RISC instructions to avoid > > > microcoding - but sometimes a few CISC instructions map to one RISC > > > instruction, and for some units microcoding is still used. > > > Funny; I'd call that "microcoded". Perhaps you are distinguishing > > between horizontal and vertical microcode? > > A traditional microcoded computer has a permanent microprogram in some sort of > high-speed storage, and it goes from one micro-instruction to the next as it > operates. In order to work that way, the microprogram would include > microinstructions that fetch instructions and decode them. > > My understanding of how modern x86 microprocessors work is this: > > Hardwired circuitry fetches and decodes instructions. > > After they're decoded, they're turned into "micro-ops", which resemble > microcode in some ways, and RISC instructions in others. Most significantly, an > instruction to add (or perform some other arithmetic or logic operation) a data > item from memory to the contents of a register will be turned into separate > micro-ops, one to do a load and one to do the arithmetic on a register- > to-register basis. (This is the specific thing that leads to the term > "decoupled microarchitecture", since load-store RISC computers are also > referred to as having a decoupled architecture by virtue of separating the load > from the arithmetic.) On modern Intel and AMD cores there are few more steps. Specifically, in case of Load+Op, the two micro-ops that were just recently separated are immediately fused together again int "macro-op" or "fused micro-op". The exact term depends on manufacturer. Then they kept together in Decoded Icache (that is, on processors that have Decoded Icache) their operands are renamed together, they are tracked together by reorder buffer and retired together after execution. They are separated again only when dispatched to EUs. So, when you look at the whole duration of pipeline, the two parts of Load+Op behave as a single unit for 80-85% of the time. On AMD K7/K8 they went one step further and kept Load-Op-Store together in single macro-op. Overall it is more like "recoupled microarchitecture" than "decoupled microarchitecture". > > So there is no permanent microprogram resident in the processor - rather, a > stream of micro-ops is produced on the fly as a translation of the CISC program. > > However, this picture has two exceptions, which lead to references to microcode > in modern x86 processors. > > Instructions similar to the IBM 360 MVC, EDMK, and so on are implemented by > permanent microprograms, since they involve long sequences of operations. So > when they're encountered, the decoding and control circuitry calls upon the > microprogrammed mode of operation. > > As well, the conversion from CISC instructions to micro-ops isn't really 100% > hardwired - it's perhaps table-driven, so that changes can be made after the > chip is released. I could be mistaken here, and perhaps the operation is closer > to the traditional microcode model than I realize, but my understanding is that > were today's processors... or even the x86 processors going back to the Pentium > or even the 486... microcoded, they would not perform as well as they do. > > John Savard
[toc] | [prev] | [next] | [standalone]
| From | Rick Jones <rick.jones2@hpe.com> |
|---|---|
| Date | 2016-01-12 22:41 +0000 |
| Subject | Re: t cluttered |
| Message-ID | <n73ve1$93n$1@news.hpeswlab.net> |
| In reply to | #32705 |
> > Some CPU, maybe the HPPA Risc or something, didn't even have a > > multiply instruction. It cluttered the pipeline so they eliminated > > it. > There are plenty of small cpus with no multiply, in order to keep the > design small and simple. (I don't expect that die space was a major > factor when omitting a multiplier from the HPPA Risc, or whichever > processor you meant.) Indeed, per my recollection HP-PA or PA-RISC (two names for the same architecture) 1.0 chips did not have an integer multiply. And for those the floating point unit was separate and optional. My recollection may be a bit fuzzy but by PA 1.1 (or somewhere in the "middle" of it, and certainly by PA 2.0, all the chips had an integrated floating point unit. I probably have a couple things off - wasn't a PA hardware guy. rick jones -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
[toc] | [prev] | [next] | [standalone]
| From | nmm@wheeler.UUCP (Nick Maclaren) |
|---|---|
| Date | 2016-01-12 23:01 +0000 |
| Subject | Re: t cluttered |
| Message-ID | <n740l4$8ot$1@dont-email.me> |
| In reply to | #32711 |
In article <n73ve1$93n$1@news.hpeswlab.net>, Rick Jones <rick.jones2@hpe.com> wrote: > >> > Some CPU, maybe the HPPA Risc or something, didn't even have a >> > multiply instruction. It cluttered the pipeline so they eliminated >> > it. > >> There are plenty of small cpus with no multiply, in order to keep the >> design small and simple. (I don't expect that die space was a major >> factor when omitting a multiplier from the HPPA Risc, or whichever >> processor you meant.) > >Indeed, per my recollection HP-PA or PA-RISC (two names for the same >architecture) 1.0 chips did not have an integer multiply. And for >those the floating point unit was separate and optional. > >My recollection may be a bit fuzzy but by PA 1.1 (or somewhere in the >"middle" of it, and certainly by PA 2.0, all the chips had an >integrated floating point unit. Yes, but the integer multiply was part of the floating-point unit, and not the integer/pointer arithmetic unit, which caused a massive slowdown on matrix codes where strength reduction was inapplicable. I saw a factor of 3, on the total application time. 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. Regards, Nick Maclaren.
[toc] | [prev] | [next] | [standalone]
| From | Ivan Godard <ivan@millcomputing.com> |
|---|---|
| Date | 2016-01-12 16:16 -0800 |
| Subject | Re: t cluttered |
| Message-ID | <n744s9$lhb$1@dont-email.me> |
| In reply to | #32712 |
On 1/12/2016 3:01 PM, Nick Maclaren 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. 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 :-) 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.
[toc] | [prev] | [next] | [standalone]
| From | nmm@wheeler.UUCP (Nick Maclaren) |
|---|---|
| Date | 2016-01-13 10:35 +0000 |
| Subject | Re: t cluttered |
| Message-ID | <n759a7$luj$1@dont-email.me> |
| In reply to | #32714 |
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. >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. 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. Regards, Nick Maclaren.
[toc] | [prev] | [next] | [standalone]
| From | Anonymous <no_email@invalid.invalid> |
|---|---|
| Date | 2016-01-13 14:36 +0000 |
| Subject | Re: t cluttered |
| Message-ID | <dfn5miF3102U1@mid.individual.net> |
| In reply to | #32729 |
Nick Maclaren <nmm@wheeler.UUCP> 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. Yup. It is fascinating that the KDF9, delivered 52 years ago, had auto-increment addressing modes that updated the loop count by 1 and the address/offset by a dynamically-settable stride that could be as large as the largest address, and either positive or negative. In conjunction with its FMA operation, and a jump-on-nonzero-count instruction that looped inside the instruction buffer, it made a superb scalar-product evaluator of a machine with very modest h/w resources. I think I might detect the influence of Jim Wilkinson in this. -- Bill Findlay
[toc] | [prev] | [next] | [standalone]
| From | Robert Wessel <robertwessel2@yahoo.com> |
|---|---|
| Date | 2016-01-14 02:48 -0600 |
| Subject | Re: t cluttered |
| Message-ID | <l3oe9b9afmqcom4ur2aupecrpq1de08co3@4ax.com> |
| In reply to | #32732 |
On 13 Jan 2016 14:36:03 GMT, Anonymous <no_email@invalid.invalid> wrote: >Nick Maclaren <nmm@wheeler.UUCP> 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. > >Yup. It is fascinating that the KDF9, delivered 52 years ago, had >auto-increment addressing modes that updated the loop count by 1 >and the address/offset by a dynamically-settable stride that could be >as large as the largest address, and either positive or negative. S/360 BXH/BXLE did something similar - add a value to an index, then compare it to a limit before branching if the limit is not exceeded.
[toc] | [prev] | [next] | [standalone]
| From | nmm@wheeler.UUCP (Nick Maclaren) |
|---|---|
| Date | 2016-01-14 10:50 +0000 |
| Subject | Re: t cluttered |
| Message-ID | <n77uh8$mqu$1@dont-email.me> |
| In reply to | #32742 |
In article <l3oe9b9afmqcom4ur2aupecrpq1de08co3@4ax.com>, Robert Wessel <robertwessel2@yahoo.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. >> >>Yup. It is fascinating that the KDF9, delivered 52 years ago, had >>auto-increment addressing modes that updated the loop count by 1 >>and the address/offset by a dynamically-settable stride that could be >>as large as the largest address, and either positive or negative. > >S/360 BXH/BXLE did something similar - add a value to an index, then >compare it to a limit before branching if the limit is not exceeded. However, both of those are solutions for array operations where strength reduction works - indeed, they ARE strength reduction, implemented in hardware. An addressing multiply is needed for the cases where it cannot be used and yet multi-dimensional array access is a critical operation. There was and is a dogma among most computer scientists that it can always be avoided, but they demonstrably do not have a clue. And, as with all religious fanatics, pointing them at the hard facts has no effect whatsoever. It's not too strong to say that this dogma was one of the factors that caused the RISC revolution to fail. Regards, Nick Maclaren.
[toc] | [prev] | [next] | [standalone]
| From | Quadibloc <jsavard@ecn.ab.ca> |
|---|---|
| Date | 2016-01-14 05:25 -0800 |
| Subject | Re: t cluttered |
| Message-ID | <aa5817a9-662d-49c6-98ae-eda2097b4fb7@googlegroups.com> |
| In reply to | #32743 |
On Thursday, January 14, 2016 at 3:53:03 AM UTC-7, Nick Maclaren wrote: > It's not too strong to say that this dogma > was one of the factors that caused the RISC revolution to fail. I wasn't aware that the RISC revolution has failed. Yes, today's "RISC" architectures don't have all the characteristics of the original RISC designs. But they have the important ones that are relevant to reducing the need for complicated out-of-order execution hardware - memory references restricted to loads and stores, a large number of registers. And, of course, multiplication is used when accessing a multidimensional array if one is not stepping through it but accessing its contents on some other basis. If _that_ is not obvious to people lacking your level of expertise, we're in a lot of trouble. John Savard
[toc] | [prev] | [next] | [standalone]
| From | Bruce Hoult <bruce.hoult@gmail.com> |
|---|---|
| Date | 2016-01-14 07:23 -0800 |
| Subject | Re: t cluttered |
| Message-ID | <bcef9dee-48aa-41b9-a202-2bcf293854a8@googlegroups.com> |
| In reply to | #32744 |
On Thursday, January 14, 2016 at 4:25:46 PM UTC+3, Quadibloc wrote: > I wasn't aware that the RISC revolution has failed. Indeed not! x86 is the only proudly CISC survivor, had long since lost the overall volume leadership position, and is losing it in market after market. > Yes, today's "RISC" architectures don't have all the characteristics of the > original RISC designs. But they have the important ones that are relevant to > reducing the need for complicated out-of-order execution hardware - memory > references restricted to loads and stores, a large number of registers. Struggling to think of what had been dropped, other than branch delay slots, and a philosophy (in some but by no means all) that if you try to use a result before it's ready then you deserve wht you get. Though this still exists in parts of DSP land. One or two RISCy things have decided that it might be ok, after all, to have two instruction lengths, as long as you can tell from a few bits which one you have. Still a far cry from x86's anything from 1-16 bytes and you could construct instructions longer than 16 if you were allowed to. > And, of course, multiplication is used when accessing a multidimensional array > if one is not stepping through it but accessing its contents on some other > basis. If _that_ is not obvious to people lacking your level of expertise, > we're in a lot of trouble. Arbitrary size but compile-time elements (or dimensions) only usually needs one or two shift-and add/sub instructions. Multi-dimensional arrays done as trees of arrays of pointers don't need multiplication. Multi-dimensional arrays with runtime sizes, packed tightly contiguously together, need multiply. But if you pad each dimension to the next power of two then you only need shifts This wastes a bit of address space (but not much for low dimension arrays), but barely wastes any physical RAM on modern general purpose machines from Android/iOS phones (or Raspberry Pi etc) and up.
[toc] | [prev] | [next] | [standalone]
| From | "James Van Buskirk" <not_valid@comcast.net> |
|---|---|
| Date | 2016-01-14 09:17 -0700 |
| Subject | Re: t cluttered |
| Message-ID | <n78hhv$u3l$1@dont-email.me> |
| In reply to | #32746 |
"Bruce Hoult" wrote in message news:bcef9dee-48aa-41b9-a202-2bcf293854a8@googlegroups.com... > Multi-dimensional arrays done as trees of arrays of pointers don't > need multiplication. Sure, but isn't doubling the memory traffic much worse? > Multi-dimensional arrays with runtime sizes, packed tightly > contiguously together, need multiply. But if you pad each > dimension to the next power of two then you only need shifts > This wastes a bit of address space (but not much for low > dimension arrays), but barely wastes any physical RAM on > modern general purpose machines from Android/iOS phones > (or Raspberry Pi etc) and up. The problem is that the compiler can't do this because it violates sequence association rules, and if you really did this you might find that it causes cache thrashing because all accesses would be to the same address mod 2**N.
[toc] | [prev] | [next] | [standalone]
| From | nmm@wheeler.UUCP (Nick Maclaren) |
|---|---|
| Date | 2016-01-14 16:30 +0000 |
| Subject | Re: t cluttered |
| Message-ID | <n78ies$2bg$1@dont-email.me> |
| In reply to | #32748 |
In article <n78hhv$u3l$1@dont-email.me>, James Van Buskirk <not_valid@comcast.net> wrote: >"Bruce Hoult" wrote in message >news:bcef9dee-48aa-41b9-a202-2bcf293854a8@googlegroups.com... > >> Multi-dimensional arrays done as trees of arrays of pointers don't >> need multiplication. > >Sure, but isn't doubling the memory traffic much worse? And slicing/subsectioning becomes a ridiculously expensive operation, rather than the cheap one that is needed for the many algorithms that should use it. Regards, Nick Maclaren.
[toc] | [prev] | [next] | [standalone]
| From | Bruce Hoult <bruce.hoult@gmail.com> |
|---|---|
| Date | 2016-01-14 12:02 -0800 |
| Subject | Re: t cluttered |
| Message-ID | <a344fc03-e796-4898-99b1-07ac2ca894c8@googlegroups.com> |
| In reply to | #32752 |
On Thursday, January 14, 2016 at 7:33:05 PM UTC+3, Nick Maclaren wrote: > In article <n78hhv$u3l$1@dont-email.me>, > James Van Buskirk <not_valid@comcast.net> wrote: > >"Bruce Hoult" wrote in message > >news:bcef9dee-48aa-41b9-a202-2bcf293854a8@googlegroups.com... > > > >> Multi-dimensional arrays done as trees of arrays of pointers don't > >> need multiplication. > > > >Sure, but isn't doubling the memory traffic much worse? > > And slicing/subsectioning becomes a ridiculously expensive operation, > rather than the cheap one that is needed for the many algorithms > that should use it. How so? it's very cheap. The array/slice descriptor has a pointer to the top level array of pointers, the number of dimensions, and for each dimension the offset to add to pointers and of course the bounds.
[toc] | [prev] | [next] | [standalone]
| From | nmm@wheeler.UUCP (Nick Maclaren) |
|---|---|
| Date | 2016-01-14 21:22 +0000 |
| Subject | Re: t cluttered |
| Message-ID | <n793hv$8t1$1@dont-email.me> |
| In reply to | #32765 |
In article <a344fc03-e796-4898-99b1-07ac2ca894c8@googlegroups.com>, Bruce Hoult <bruce.hoult@gmail.com> wrote: >> > >> >> Multi-dimensional arrays done as trees of arrays of pointers don't >> >> need multiplication. >> > >> >Sure, but isn't doubling the memory traffic much worse? >> >> And slicing/subsectioning becomes a ridiculously expensive operation, >> rather than the cheap one that is needed for the many algorithms >> that should use it. > >How so? it's very cheap. The array/slice descriptor has a pointer to the >top level array of pointers, the number of dimensions, and for each >dimension the offset to add to pointers and of course the bounds. Now take a slice in the other dimension (i.e. you need to use both A(:,N) and A(N,:)). There is simply no way to use Iliffe vectors that make both efficient, as was discovered in the 1960s. Regards, Nick Maclaren.
[toc] | [prev] | [next] | [standalone]
Page 2 of 10 — ← Prev page 1 [2] 3 4 … 10 Next page →
Back to top | Article view | comp.arch
csiph-web