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 3 of 10 — ← Prev page 1 2 [3] 4 5 … 10 Next page →
| From | Terje Mathisen <terje.mathisen@tmsw.no> |
|---|---|
| Date | 2016-01-15 10:06 +0800 |
| Subject | Re: t cluttered |
| Message-ID | <n79k7p$1hme$1@gioia.aioe.org> |
| In reply to | #32765 |
Bruce Hoult wrote: > 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. If you use a flat descriptor instead of arrays of pointers to arrays of pointers to arrays etc, then slicing is cheap, otherwise it is quite expensive, i.e. you need to replicate the entire tree structure if the base access pattern assumes C-style pointers to the start of each array. Terje -- - <Terje.Mathisen at tmsw.no> "almost all programming can be viewed as an exercise in caching"
[toc] | [prev] | [next] | [standalone]
| From | Terje Mathisen <terje.mathisen@tmsw.no> |
|---|---|
| Date | 2016-01-15 09:48 +0800 |
| Subject | Re: t cluttered |
| Message-ID | <n79j5p$1ggu$1@gioia.aioe.org> |
| In reply to | #32752 |
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. We've discussed this multiple times previously, it is pretty clear by now that arrays should be passed with descriptors, not just base address pointers. For C(++) programs there's just a tiny bit of existing code and interfaces that would hinder a full conversion. :-( Terje -- - <Terje.Mathisen at tmsw.no> "almost all programming can be viewed as an exercise in caching"
[toc] | [prev] | [next] | [standalone]
| From | Bruce Hoult <bruce.hoult@gmail.com> |
|---|---|
| Date | 2016-01-14 11:57 -0800 |
| Subject | Re: t cluttered |
| Message-ID | <5f4a5fce-b51d-4ca3-9f70-ec0cc23583ae@googlegroups.com> |
| In reply to | #32748 |
On Thursday, January 14, 2016 at 7:17:42 PM UTC+3, James Van Buskirk 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? Depends on the relative latency of a multiply and a (probably) L1 cache hit.
[toc] | [prev] | [next] | [standalone]
| From | "James Van Buskirk" <not_valid@comcast.net> |
|---|---|
| Date | 2016-01-14 19:16 -0700 |
| Subject | Re: t cluttered |
| Message-ID | <n79km4$2au$1@dont-email.me> |
| In reply to | #32764 |
"Bruce Hoult" wrote in message news:5f4a5fce-b51d-4ca3-9f70-ec0cc23583ae@googlegroups.com... > On Thursday, January 14, 2016 at 7:17:42 PM UTC+3, James Van Buskirk > 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? > Depends on the relative latency of a multiply and a (probably) L1 cache > hit. I have to admit to being superstitious about extra memory traffic. I wrote some radix-2 FFT code on a 21164 and it had the problem that it was load/store limited, even out of L1 cache. But when a load from L2 cache was necessary, the instruction got replayed. This sort of put the processor out of whack so that if the next load came too soon afterward, that instruction would also be replayed, even if it was from L1. Sort of like a 1-cycle loop on a Pentium Classic, once the train falls off the rails it never gets back on track again. I had to switch to a higher radix; needed radix-64 to be lower in opcount than split radix. There was also an example with a Core 2 Duo. That processor only had 2-register instructions so you needed to slop a lot of MOVAPS instructions in there, but the problem was that the processor could and did issue them to any port, even the computational ports, getting in the way of useful work. So I took a MOVAPS between registers out of the instruction stream and replaced it with a store and load, and sure enough the program got a little bit faster. Trouble was, AMD chips weren't smart enough to figure out that the write to that memory location wasn't trampling on data that it was always loading so other loads would stall until that store retired, making the program a lot slower. I had to revert to the secret instruction that emulated a MOVAPS but executed outside the computational ports. So, through superstition, I am guided to avoid unnecessarily stressing even L1 cache bandwidth because it can and sometimes does create problems in ways that are not so easy to predict from the documentation. Of course, if one only programs in high level language, the compiled code that one gets is slow enough that these compound stall issues don't arise with perceptible frequency.
[toc] | [prev] | [next] | [standalone]
| From | Quadibloc <jsavard@ecn.ab.ca> |
|---|---|
| Date | 2016-01-14 08:29 -0800 |
| Subject | Re: t cluttered |
| Message-ID | <67dd1772-1992-4e77-ae04-dcd28228257f@googlegroups.com> |
| In reply to | #32746 |
On Thursday, January 14, 2016 at 8:23:48 AM UTC-7, Bruce Hoult wrote: > 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. What about System z? Now there's a survivor for you! John Savard
[toc] | [prev] | [next] | [standalone]
| From | Bruce Hoult <bruce.hoult@gmail.com> |
|---|---|
| Date | 2016-01-14 12:13 -0800 |
| Subject | Re: t cluttered |
| Message-ID | <f01e7c71-38b4-42c7-aa44-3ad45baf9c4b@googlegroups.com> |
| In reply to | #32750 |
On Thursday, January 14, 2016 at 7:29:39 PM UTC+3, Quadibloc wrote: > On Thursday, January 14, 2016 at 8:23:48 AM UTC-7, Bruce Hoult wrote: > > 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. > > What about System z? Now there's a survivor for you! I don't think it's proudly CISC! A good number of registers, but a very constrained number of instruction sizes. Not load/store, but only one memory operand (except strings?). And, if I recall correctly (and more importantly), only one TLB hit per operand.
[toc] | [prev] | [next] | [standalone]
| From | Stephen Fuld <SFuld@alumni.cmu.edu.invalid> |
|---|---|
| Date | 2016-01-14 12:24 -0800 |
| Subject | Re: t cluttered |
| Message-ID | <n7901h$qga$1@dont-email.me> |
| In reply to | #32766 |
On 1/14/2016 12:13 PM, Bruce Hoult wrote: > On Thursday, January 14, 2016 at 7:29:39 PM UTC+3, Quadibloc wrote: >> On Thursday, January 14, 2016 at 8:23:48 AM UTC-7, Bruce Hoult wrote: >>> 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. >> >> What about System z? Now there's a survivor for you! > > I don't think it's proudly CISC! A good number of registers, but a very constrained number of instruction sizes. > Not load/store, but only one memory operand (except strings?). And all of the decimal arithmetic instructions. And the "string" instructions contain some pretty "complex" stuff. And, if I recall correctly (and more importantly), only one TLB hit per operand. Not true of the decimal instructions, nor of course, the string instructions. Given that you admit that it violates some of the key aspects of what was called RISC, I disagree with your assessment. ISTM you can't say it is not CISC if it violates several of the primary precepts of RISC. -- - Stephen Fuld (e-mail address disguised to prevent spam)
[toc] | [prev] | [next] | [standalone]
| From | Bruce Hoult <bruce.hoult@gmail.com> |
|---|---|
| Date | 2016-01-14 12:48 -0800 |
| Subject | Re: t cluttered |
| Message-ID | <4dc7c188-6a7f-4cb3-acc2-d77120cfa05b@googlegroups.com> |
| In reply to | #32767 |
On Thursday, January 14, 2016 at 11:24:55 PM UTC+3, Stephen Fuld wrote: > Given that you admit that it violates some of the key aspects of what > was called RISC, I disagree with your assessment. ISTM you can't say it > is not CISC if it violates several of the primary precepts of RISC. I do not claim the S/360 is RISC! What is said is it is not *proudly* CISC in the way that x86 is, and VAX and 68020 were. It is more CISC than RISC, but not extremely so in the core instruction set.
[toc] | [prev] | [next] | [standalone]
| From | Stephen Fuld <SFuld@alumni.cmu.edu.invalid> |
|---|---|
| Date | 2016-01-14 13:06 -0800 |
| Subject | Re: t cluttered |
| Message-ID | <n792f4$4jl$1@dont-email.me> |
| In reply to | #32768 |
On 1/14/2016 12:48 PM, Bruce Hoult wrote: > On Thursday, January 14, 2016 at 11:24:55 PM UTC+3, Stephen Fuld wrote: >> Given that you admit that it violates some of the key aspects of what >> was called RISC, I disagree with your assessment. ISTM you can't say it >> is not CISC if it violates several of the primary precepts of RISC. > > I do not claim the S/360 is RISC! > > What is said is it is not *proudly* CISC in the way that x86 is, and VAX and 68020 were. OK. I don't think an ISA can be "proud", and since the original design far predates even the terms RISC and CISC, I think the designers just tried to do the best they could given their constraints and couldn't care less about nomenclature. > It is more CISC than RISC, but not extremely so in the core instruction set. OK. -- - Stephen Fuld (e-mail address disguised to prevent spam)
[toc] | [prev] | [next] | [standalone]
| From | Terje Mathisen <terje.mathisen@tmsw.no> |
|---|---|
| Date | 2016-01-15 10:14 +0800 |
| Subject | Re: t cluttered |
| Message-ID | <n79kmp$1i44$1@gioia.aioe.org> |
| In reply to | #32768 |
Bruce Hoult wrote: > On Thursday, January 14, 2016 at 11:24:55 PM UTC+3, Stephen Fuld > wrote: >> Given that you admit that it violates some of the key aspects of >> what was called RISC, I disagree with your assessment. ISTM you >> can't say it is not CISC if it violates several of the primary >> precepts of RISC. > > I do not claim the S/360 is RISC! > > What is said is it is not *proudly* CISC in the way that x86 is, and > VAX and 68020 were. It is more CISC than RISC, but not extremely so > in the core instruction set. The big step is from x86 to VAX/68020, not from (say) MIPS to x86. When you remove instruction decoding (which is basically a solved problem these days), the only real CISCy x86 feature is the fast load-op instructions. You still limit the number of TLB accesses per instruction, except for string ops, but those are architecturally really small subroutine loops which can be interrupted at any point because all the temporary state is stored in regular registers. Terje -- - <Terje.Mathisen at tmsw.no> "almost all programming can be viewed as an exercise in caching"
[toc] | [prev] | [next] | [standalone]
| From | anton@mips.complang.tuwien.ac.at (Anton Ertl) |
|---|---|
| Date | 2016-01-15 14:33 +0000 |
| Subject | Re: t cluttered |
| Message-ID | <2016Jan15.153335@mips.complang.tuwien.ac.at> |
| In reply to | #32766 |
Bruce Hoult <bruce.hoult@gmail.com> writes: >On Thursday, January 14, 2016 at 7:29:39 PM UTC+3, Quadibloc wrote: >> What about System z? Now there's a survivor for you! > >I don't think it's proudly CISC! A good number of registers, but a very constrained number of instruction sizes. Not load/store, but only one memory operand (except strings?). And, if I recall correctly (and more importantly), only one TLB hit per operand. While CISCs are not as close to each other as RISCs are to each other, the S/360 is relatively close to the PDP-11, the 386, and somewhat to the 68000. All except 68000 are register machines (machines that mostly use general-purpose registers); all are two-address machines with load-op and read-modify-write instructions. The VAX is further away, with three addresses that all could reference memory (with indirect addressing modes), and the 68020 moved a bit in the direction of the VAX. - 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]
| From | nmm@wheeler.UUCP (Nick Maclaren) |
|---|---|
| Date | 2016-01-16 09:39 +0000 |
| Subject | Re: t cluttered |
| Message-ID | <n7d33j$v25$1@dont-email.me> |
| In reply to | #32790 |
In article <2016Jan15.153335@mips.complang.tuwien.ac.at>, Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote: >Bruce Hoult <bruce.hoult@gmail.com> writes: >>On Thursday, January 14, 2016 at 7:29:39 PM UTC+3, Quadibloc wrote: >>> What about System z? Now there's a survivor for you! >> >>I don't think it's proudly CISC! A good number of registers, but a very >constrained number of instruction sizes. Not load/store, but only one >memory operand (except strings?). And, if I recall correctly (and more >importantly), only one TLB hit per operand. > >While CISCs are not as close to each other as RISCs are to each other, >the S/360 is relatively close to the PDP-11, the 386, and somewhat to >the 68000. All except 68000 are register machines (machines that >mostly use general-purpose registers); all are two-address machines >with load-op and read-modify-write instructions. The VAX is further >away, with three addresses that all could reference memory (with >indirect addressing modes), and the 68020 moved a bit in the direction >of the VAX. The mind boggles. The System/370 and PDP-11 addressing models are wildly different, and the addressing model is one of the most important parts of an architecture. I didn't respond to your nonsense earlier, because your fanaticism is clearly making debate impossible, but I happened to notice that even ARM say that their architecture is only SIMILAR to RISC :-) http://www.arm.com/products/processors/instruction-set-architectures/ If anyone is still following this, I don't happen to believe that the CISC/RISC distinction ever was useful - some architectures are simpler than others, and simplicity is always a benefit. I regard arguing over what constitutes RISC and which architectures are what as equivalent to arguing how many angels can dance on the head of a pin. As with the similar System V / Berkeley Unix 'debate', the future will have aspects of both. And, on another matter, no, accessing data beyond the end of an object is never harmless, not even if the value is never inspected. The main fundamental risk is that the object is at the end of an authorisation domain. Page faults can be ignored, but that is really, really bad news for RDMA and memory-mapped I/O. And remember that, in C, objects can be of any size. Regards, Nick Maclaren.
[toc] | [prev] | [next] | [standalone]
| From | Terje Mathisen <terje.mathisen@tmsw.no> |
|---|---|
| Date | 2016-01-17 00:15 +0800 |
| Subject | Re: t cluttered |
| Message-ID | <n7dqbc$4j5$1@gioia.aioe.org> |
| In reply to | #32796 |
Nick Maclaren wrote: > If anyone is still following this, I don't happen to believe that > the CISC/RISC distinction ever was useful - some architectures are > simpler than others, and simplicity is always a benefit. I regard > arguing over what constitutes RISC and which architectures are what > as equivalent to arguing how many angels can dance on the head of > a pin. As with the similar System V / Berkeley Unix 'debate', the > future will have aspects of both. > Right, the future simply belongs to the pragmatists; whatever works, works. We know that some features, like memory indirection and other instructions that can generate multiple TLB faults should be avoided as the plague. > > And, on another matter, no, accessing data beyond the end of an > object is never harmless, not even if the value is never inspected. > The main fundamental risk is that the object is at the end of an > authorisation domain. Page faults can be ignored, but that is > really, really bad news for RDMA and memory-mapped I/O. And > remember that, in C, objects can be of any size. Here is where I sort of disagree: I think the CPU ABI should bless read only accesses up to the minimum size protection domain, as long as the access cannot cross such a domain! This effectively makes it legal to process a block of data using aligned SIMD loads, even when the last load straddles the allocated object boundary: Please notice that this is a platform contract, not a general language feature, and it is perfectly valid (and in many ways a great feature) to have byte granularity on those protection domains. What I'm hoping for is a written promise that what we currently do in high performance code because we know that there is no way for the HW to detect that we are in fact going past the C(++) allocation, will stay safe in the future as long as you use CPUID or something similar to verify what the minimum protection granularity is. Terje -- - <Terje.Mathisen at tmsw.no> "almost all programming can be viewed as an exercise in caching"
[toc] | [prev] | [next] | [standalone]
| From | nmm@wheeler.UUCP (Nick Maclaren) |
|---|---|
| Date | 2016-01-16 19:24 +0000 |
| Subject | Re: t cluttered |
| Message-ID | <n7e5ci$t2e$1@dont-email.me> |
| In reply to | #32804 |
In article <n7dqbc$4j5$1@gioia.aioe.org>, Terje Mathisen <terje.mathisen@tmsw.no> wrote: >> >> And, on another matter, no, accessing data beyond the end of an >> object is never harmless, not even if the value is never inspected. >> The main fundamental risk is that the object is at the end of an >> authorisation domain. Page faults can be ignored, but that is >> really, really bad news for RDMA and memory-mapped I/O. And >> remember that, in C, objects can be of any size. > >Here is where I sort of disagree: I think the CPU ABI should bless read >only accesses up to the minimum size protection domain, as long as the >access cannot cross such a domain! > >This effectively makes it legal to process a block of data using aligned >SIMD loads, even when the last load straddles the allocated object boundary: > >Please notice that this is a platform contract, not a general language >feature, and it is perfectly valid (and in many ways a great feature) to >have byte granularity on those protection domains. > >What I'm hoping for is a written promise that what we currently do in >high performance code because we know that there is no way for the HW to >detect that we are in fact going past the C(++) allocation, will stay >safe in the future as long as you use CPUID or something similar to >verify what the minimum protection granularity is. That has certainly got performance advantages. Being an extreme portability person, I wouldn't bother to test the CPUID and would simply assume that it is one. The big trouble with that is the number of people who will assume that all the world's a System/360, VAX, or 80386 :-( Regards, Nick Maclaren.
[toc] | [prev] | [next] | [standalone]
| From | Ivan Godard <ivan@millcomputing.com> |
|---|---|
| Date | 2016-01-16 12:18 -0800 |
| Subject | Re: t cluttered |
| Message-ID | <n7e8d6$8j7$1@dont-email.me> |
| In reply to | #32804 |
On 1/16/2016 8:15 AM, Terje Mathisen wrote: > Nick Maclaren wrote: >> And, on another matter, no, accessing data beyond the end of an >> object is never harmless, not even if the value is never inspected. >> The main fundamental risk is that the object is at the end of an >> authorisation domain. Page faults can be ignored, but that is >> really, really bad news for RDMA and memory-mapped I/O. And >> remember that, in C, objects can be of any size. > > Here is where I sort of disagree: I think the CPU ABI should bless read > only accesses up to the minimum size protection domain, as long as the > access cannot cross such a domain! > > This effectively makes it legal to process a block of data using aligned > SIMD loads, even when the last load straddles the allocated object > boundary: > > Please notice that this is a platform contract, not a general language > feature, and it is perfectly valid (and in many ways a great feature) to > have byte granularity on those protection domains. > > What I'm hoping for is a written promise that what we currently do in > high performance code because we know that there is no way for the HW to > detect that we are in fact going past the C(++) allocation, will stay > safe in the future as long as you use CPUID or something similar to > verify what the minimum protection granularity is. You (and the field) are conflating "address" with "access". For performance and simple code you want to get something that the SIMD operations like parallel add can deal with when you do your SIMD load. However you don't actually care about the data that is past the end that you happened to have *addressed*; you do not need to *access* it. So any system that lets you *address* over the end but fills the part you don't need to *access* with dummies will do. +1 if the system tells you loudly if you do in fact *access* past the end. Languages and compilers that also conflate address with access are a problem, especially when they turn the result into nasal demons.
[toc] | [prev] | [next] | [standalone]
| From | Terje Mathisen <terje.mathisen@tmsw.no> |
|---|---|
| Date | 2016-01-17 17:46 +0800 |
| Subject | Re: t cluttered |
| Message-ID | <n7fnti$12fa$1@gioia.aioe.org> |
| In reply to | #32818 |
Ivan Godard wrote: > On 1/16/2016 8:15 AM, Terje Mathisen wrote: >> What I'm hoping for is a written promise that what we currently do in >> high performance code because we know that there is no way for the HW to >> detect that we are in fact going past the C(++) allocation, will stay >> safe in the future as long as you use CPUID or something similar to >> verify what the minimum protection granularity is. > > You (and the field) are conflating "address" with "access". For > performance and simple code you want to get something that the SIMD > operations like parallel add can deal with when you do your SIMD load. > However you don't actually care about the data that is past the end that > you happened to have *addressed*; you do not need to *access* it. > > So any system that lets you *address* over the end but fills the part > you don't need to *access* with dummies will do. +1 if the system tells > you loudly if you do in fact *access* past the end. > > Languages and compilers that also conflate address with access are a > problem, especially when they turn the result into nasal demons. Ivan, I didn't want to blow my Mill horn here, but you are of course absolutely correct: The Mill approach of having metadata which allows the CPU to detect if the programmer actually tries to do something with data past the allocation boundary is of course much better than a ugly hack based on aligned SIMD operations. Terje -- - <Terje.Mathisen at tmsw.no> "almost all programming can be viewed as an exercise in caching"
[toc] | [prev] | [next] | [standalone]
| From | Ivan Godard <ivan@millcomputing.com> |
|---|---|
| Date | 2016-01-17 02:53 -0800 |
| Subject | Re: t cluttered |
| Message-ID | <n7frmf$9pm$1@dont-email.me> |
| In reply to | #32821 |
On 1/17/2016 1:46 AM, Terje Mathisen wrote: > Ivan Godard wrote: >> On 1/16/2016 8:15 AM, Terje Mathisen wrote: >>> What I'm hoping for is a written promise that what we currently do in >>> high performance code because we know that there is no way for the HW to >>> detect that we are in fact going past the C(++) allocation, will stay >>> safe in the future as long as you use CPUID or something similar to >>> verify what the minimum protection granularity is. >> >> You (and the field) are conflating "address" with "access". For >> performance and simple code you want to get something that the SIMD >> operations like parallel add can deal with when you do your SIMD load. >> However you don't actually care about the data that is past the end that >> you happened to have *addressed*; you do not need to *access* it. >> >> So any system that lets you *address* over the end but fills the part >> you don't need to *access* with dummies will do. +1 if the system tells >> you loudly if you do in fact *access* past the end. >> >> Languages and compilers that also conflate address with access are a >> problem, especially when they turn the result into nasal demons. > > Ivan, I didn't want to blow my Mill horn here, but you are of course > absolutely correct: That's OK - horn duets sound better than solos anyway :-)
[toc] | [prev] | [next] | [standalone]
| From | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| Date | 2016-01-18 12:20 -0500 |
| Subject | Re: t cluttered |
| Message-ID | <jwvsi1uolsd.fsf-monnier+comp.arch@gnu.org> |
| In reply to | #32804 |
>> the CISC/RISC distinction ever was useful - some architectures are
[...]
> Right, the future simply belongs to the pragmatists; whatever works,
> works.
Actually, in my world, both CISC and RISC are the result of pragmatic
design. They just happened to take place in different contexts:
- CISC, in a context where caches and pipelining were not the norm and
where assembly programming was standard, so you wanted to provide
a flexible machine language and maximize the amount of time spent in
the "execute" phase.
- RISC in a context where technology made it possible to have pipelining
in a single-chip processor, and where assembly programming was
less prevalent, so being convenient for the compiler was more
important, and so was the fact that every instruction could fit in the
same pipeline mold (i.e., same amount of time spent in "execute").
And throwing out some machine language flexibility made up for itself
by making a single-chip implementation possible.
Stefan
[toc] | [prev] | [next] | [standalone]
| From | paul wallich <pw@panix.com> |
|---|---|
| Date | 2016-01-18 14:42 -0500 |
| Subject | Re: t cluttered |
| Message-ID | <n7jf6m$evi$1@reader1.panix.com> |
| In reply to | #32856 |
On 1/18/16 12:20 PM, Stefan Monnier wrote: >>> the CISC/RISC distinction ever was useful - some architectures are > [...] >> Right, the future simply belongs to the pragmatists; whatever works, >> works. > > Actually, in my world, both CISC and RISC are the result of pragmatic > design. They just happened to take place in different contexts: > > - CISC, in a context where caches and pipelining were not the norm and > where assembly programming was standard, so you wanted to provide > a flexible machine language and maximize the amount of time spent in > the "execute" phase. > > - RISC in a context where technology made it possible to have pipelining > in a single-chip processor, and where assembly programming was > less prevalent, so being convenient for the compiler was more > important, and so was the fact that every instruction could fit in the > same pipeline mold (i.e., same amount of time spent in "execute"). > And throwing out some machine language flexibility made up for itself > by making a single-chip implementation possible. And, like any pragmatic decision that succeeded wildly, a particular set of tradeoffs got elevated into ostensibly timeless principle and dogma. (In part because people don't typically have the time and/or cognitive margin to keep revisiting every decision in their discipline every time they go to make a new thing.) paul
[toc] | [prev] | [next] | [standalone]
| From | Erik Trulsson <erikt@Update.UU.SE> |
|---|---|
| Date | 2016-01-19 13:05 +0000 |
| Subject | Re: t cluttered |
| Message-ID | <n7lcb7$mt4$1@Iltempo.Update.UU.SE> |
| In reply to | #32856 |
Stefan Monnier <monnier@iro.umontreal.ca> wrote: >>> the CISC/RISC distinction ever was useful - some architectures are > [...] >> Right, the future simply belongs to the pragmatists; whatever works, >> works. > > Actually, in my world, both CISC and RISC are the result of pragmatic > design. They just happened to take place in different contexts: > > - CISC, in a context where caches and pipelining were not the norm and > where assembly programming was standard, so you wanted to provide > a flexible machine language and maximize the amount of time spent in > the "execute" phase. > > - RISC in a context where technology made it possible to have pipelining > in a single-chip processor, and where assembly programming was > less prevalent, so being convenient for the compiler was more > important, and so was the fact that every instruction could fit in the > same pipeline mold (i.e., same amount of time spent in "execute"). > And throwing out some machine language flexibility made up for itself > by making a single-chip implementation possible. You left out one important part: RISC was created at a time when transistor count was limited, and it mattered what you used them on. RISC is based on the principle that it is generally better to spend transistors on making commonly used instructions fast and to add cache (which was beginning to be needed at that time) than to implement some rarely-used instructions that could be replaced by a sequence of simpler instructions. A.k.a. "make the common case fast". Today transistor count is not much of a limitation, so now you often do not have to choose - you can have common instructions execute fast and having some rarely-used, or more complicated, instructions.
[toc] | [prev] | [next] | [standalone]
Page 3 of 10 — ← Prev page 1 2 [3] 4 5 … 10 Next page →
Back to top | Article view | comp.arch
csiph-web