Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.arch > #31581 > unrolled thread
| Started by | Quadibloc <jsavard@ecn.ab.ca> |
|---|---|
| First post | 2015-12-07 20:13 -0800 |
| Last post | 2015-12-26 10:07 -0800 |
| Articles | 20 on this page of 134 — 26 participants |
Back to article view | Back to comp.arch
Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-07 20:13 -0800
Re: Between CISC and RISC Bruce Hoult <bruce.hoult@gmail.com> - 2015-12-08 01:50 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-08 04:19 -0800
Re: Between CISC and RISC Bruce Hoult <bruce.hoult@gmail.com> - 2015-12-08 04:57 -0800
Re: Between CISC and RISC algrant109@gmail.com - 2015-12-11 12:57 -0800
Re: Between CISC and RISC Bruce Hoult <bruce.hoult@gmail.com> - 2015-12-11 13:44 -0800
Re: Between CISC and RISC Ivan Godard <ivan@millcomputing.com> - 2015-12-11 15:40 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-11 21:13 -0800
Re: Between CISC and RISC Bruce Hoult <bruce.hoult@gmail.com> - 2015-12-12 04:14 -0800
Re: Between CISC and RISC already5chosen@yahoo.com - 2015-12-12 12:59 -0800
Re: Between CISC and RISC algrant109@gmail.com - 2015-12-14 08:44 -0800
Re: Between CISC and RISC Exophase <exophase@gmail.com> - 2015-12-15 13:23 -0800
Re: Between CISC and RISC Bruce Hoult <bruce.hoult@gmail.com> - 2015-12-16 02:13 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-08 04:17 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-09 05:35 -0800
Re: Between CISC and RISC jacko <jackokring@gmail.com> - 2015-12-09 08:56 -0800
Re: Between CISC and RISC Stephen Fuld <SFuld@alumni.cmu.edu.invalid> - 2015-12-09 10:30 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-09 11:06 -0800
Re: Between CISC and RISC Stephen Fuld <SFuld@alumni.cmu.edu.invalid> - 2015-12-09 12:17 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-09 12:56 -0800
Re: Between CISC and RISC Stephen Fuld <SFuld@alumni.cmu.edu.invalid> - 2015-12-10 11:44 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-10 22:50 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-10 23:06 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-11 06:01 -0800
Re: Between CISC and RISC David W Schroth <davidschroth@harrietmanor.com> - 2015-12-10 21:37 -0600
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-11 10:37 -0800
Re: Between CISC and RISC Stephen Fuld <SFuld@alumni.cmu.edu.invalid> - 2015-12-11 15:19 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-11 21:20 -0800
Re: Between CISC and RISC David W Schroth <davidschroth@harrietmanor.com> - 2015-12-12 18:22 -0600
Re: Between CISC and RISC anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-12-12 23:20 +0000
Re: Between CISC and RISC Terje Mathisen <terje.mathisen@tmsw.no> - 2015-12-13 07:48 +0100
Re: Between CISC and RISC anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-12-13 18:00 +0000
Re: Between CISC and RISC Ivan Godard <ivan@millcomputing.com> - 2015-12-13 11:37 -0800
Re: Between CISC and RISC Terje Mathisen <terje.mathisen@tmsw.no> - 2015-12-13 21:57 +0100
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-13 07:19 -0800
Re: ones complement, was Between John Levine <johnl@iecc.com> - 2015-12-13 15:32 +0000
Re: ones complement, was Between Quadibloc <jsavard@ecn.ab.ca> - 2015-12-13 08:32 -0800
Re: ones complement, was Between John Levine <johnl@iecc.com> - 2015-12-13 16:52 +0000
Re: ones complement, was Between Bruce Hoult <bruce.hoult@gmail.com> - 2015-12-13 08:56 -0800
Re: ones complement, was Between John Levine <johnl@iecc.com> - 2015-12-13 17:03 +0000
Re: ones complement, was Between Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2015-12-13 10:12 -0700
Re: ones complement, was Between Terje Mathisen <terje.mathisen@tmsw.no> - 2015-12-13 21:51 +0100
Re: ones complement, was Between Jan Coombs <jan_coombs@murmic.plus.com> - 2015-12-13 22:18 +0000
Re: ones complement, was Between MitchAlsup <MitchAlsup@aol.com> - 2015-12-13 10:15 -0800
Re: ones complement, was Between Megol <golem960@gmail.com> - 2015-12-13 12:18 -0800
Re: ones complement, was Between Terje Mathisen <terje.mathisen@tmsw.no> - 2015-12-13 22:00 +0100
Re: ones complement, was Between Ivan Godard <ivan@millcomputing.com> - 2015-12-13 13:07 -0800
Re: ones complement, was Between Terje Mathisen <terje.mathisen@tmsw.no> - 2015-12-14 10:15 +0100
Re: ones complement, was Between Ivan Godard <ivan@millcomputing.com> - 2015-12-14 01:39 -0800
Re: ones complement, was Between already5chosen@yahoo.com - 2015-12-14 01:59 -0800
Re: ones complement, was Between Terje Mathisen <terje.mathisen@tmsw.no> - 2015-12-14 14:21 +0100
Re: ones complement, was Between nmm@wheeler.UUCP (Nick Maclaren) - 2015-12-14 14:21 +0000
Re: ones complement, was Between already5chosen@yahoo.com - 2015-12-14 07:03 -0800
Re: ones complement, was Between nmm@wheeler.UUCP (Nick Maclaren) - 2015-12-14 15:50 +0000
Re: ones complement, was Between MitchAlsup <MitchAlsup@aol.com> - 2015-12-14 16:34 -0800
Re: ones complement, was Between Ivan Godard <ivan@millcomputing.com> - 2015-12-14 18:42 -0800
Re: ones complement, was Between nmm@wheeler.UUCP (Nick Maclaren) - 2015-12-15 09:13 +0000
Re: ones complement, was Between nmm@wheeler.UUCP (Nick Maclaren) - 2015-12-15 09:25 +0000
Re: ones complement, was Between nmm@wheeler.UUCP (Nick Maclaren) - 2015-12-15 08:53 +0000
Re: ones complement, was Between Terje Mathisen <terje.mathisen@tmsw.no> - 2015-12-14 18:25 +0100
Re: ones complement, was Between Bruce Hoult <bruce.hoult@gmail.com> - 2015-12-15 02:20 -0800
Re: ones complement, was Between Terje Mathisen <terje.mathisen@tmsw.no> - 2015-12-15 11:58 +0100
Re: ones complement, was Between already5chosen@yahoo.com - 2015-12-20 02:45 -0800
Re: ones complement, was Between already5chosen@yahoo.com - 2015-12-20 03:11 -0800
Re: ones complement, was Between nj_kruse@me.com (Niels Jørgen Kruse) - 2015-12-20 14:34 +0100
Re: ones complement, was Between already5chosen@yahoo.com - 2015-12-20 05:57 -0800
Re: ones complement, was Between MitchAlsup <MitchAlsup@aol.com> - 2015-12-20 12:12 -0800
Re: ones complement, was Between Terje Mathisen <terje.mathisen@tmsw.no> - 2015-12-21 15:33 +0100
Re: ones complement, was Between nmm@wheeler.UUCP (Nick Maclaren) - 2015-12-21 14:58 +0000
Re: ones complement, was Between Quadibloc <jsavard@ecn.ab.ca> - 2015-12-21 10:06 -0800
Re: ones complement, was Between MitchAlsup <MitchAlsup@aol.com> - 2015-12-21 15:48 -0800
Re: ones complement, was Between Ivan Godard <ivan@millcomputing.com> - 2015-12-21 17:13 -0800
Re: ones complement, was Between Terje Mathisen <terje.mathisen@tmsw.no> - 2015-12-20 17:47 +0100
Re: ones complement, was Between jacko <jackokring@gmail.com> - 2015-12-20 10:09 -0800
Re: ones complement, was Between Jean-Marc Bourguet <jm@bourguet.org> - 2015-12-20 20:09 +0100
Re: ones complement, was Between Chris Gray <cg@GraySage.COM> - 2015-12-20 11:02 -0700
Re: ones complement, was Between anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-12-21 14:11 +0000
Re: ones complement, was Between Terje Mathisen <terje.mathisen@tmsw.no> - 2015-12-21 16:08 +0100
Re: ones complement, was Between nmm@wheeler.UUCP (Nick Maclaren) - 2015-12-21 16:03 +0000
Re: ones complement, was Between anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-12-21 16:18 +0000
Re: ones complement, was Between nmm@wheeler.UUCP (Nick Maclaren) - 2015-12-21 17:53 +0000
Re: ones complement, was Between Terje Mathisen <terje.mathisen@tmsw.no> - 2015-12-21 21:29 +0100
Re: ones complement, was Between anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-12-21 15:57 +0000
Re: ones complement, was Between Terje Mathisen <terje.mathisen@tmsw.no> - 2015-12-21 21:25 +0100
Re: ones complement, was Between John Levine <johnl@iecc.com> - 2015-12-14 02:11 +0000
Re: ones complement, was Between Quadibloc <jsavard@ecn.ab.ca> - 2015-12-14 00:27 -0800
Re: ones complement, was Between Quadibloc <jsavard@ecn.ab.ca> - 2015-12-13 17:16 -0800
Re: ones complement, was Between Terje Mathisen <terje.mathisen@tmsw.no> - 2015-12-14 10:20 +0100
Re: ones complement, was Between anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-12-14 10:29 +0000
Re: ones complement, was Between anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-12-14 12:17 +0000
Re: ones complement, was Between MitchAlsup <MitchAlsup@aol.com> - 2015-12-14 06:40 -0800
Re: ones complement, was Between Terje Mathisen <terje.mathisen@tmsw.no> - 2015-12-14 14:26 +0100
Re: ones complement, was Between anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-12-14 08:09 +0000
Re: Between CISC and RISC mrs@kithrup.com (Mike Stump) - 2015-12-14 00:11 +0000
Re: Between CISC and RISC MitchAlsup <MitchAlsup@aol.com> - 2015-12-09 17:30 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-14 00:17 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-14 05:48 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-15 15:32 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-21 12:57 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-21 19:00 -0800
Re: Between CISC and RISC Terje Mathisen <terje.mathisen@tmsw.no> - 2015-12-22 10:26 +0100
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-22 06:39 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-23 10:17 -0800
Re: Between CISC and RISC Jean-Marc Bourguet <jm@bourguet.org> - 2015-12-23 19:55 +0100
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-23 17:15 -0800
Re: Between CISC and RISC Terje Mathisen <terje.mathisen@tmsw.no> - 2015-12-24 10:27 +0100
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-24 04:50 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-24 07:37 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-24 09:47 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-24 11:47 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-24 12:48 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-24 18:56 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-25 09:34 -0800
Re: Between CISC and RISC anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-12-25 17:57 +0000
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-25 10:42 -0800
Re: Between CISC and RISC Bruce Hoult <bruce.hoult@gmail.com> - 2015-12-26 03:29 -0800
Re: Between CISC and RISC Jakob Brundin <jakbru@gmail.com> - 2015-12-26 07:23 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-26 09:54 -0800
Re: Between CISC and RISC Anne & Lynn Wheeler <lynn@garlic.com> - 2015-12-26 16:18 -0800
Re: Between CISC and RISC MitchAlsup <MitchAlsup@aol.com> - 2016-01-31 10:17 -0800
Re: Between CISC and RISC paul wallich <pw@panix.com> - 2016-01-31 13:39 -0500
Re: Between CISC and RISC MitchAlsup <MitchAlsup@aol.com> - 2016-01-31 19:16 -0800
Re: Between CISC and RISC anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-02-01 12:43 +0000
Re: Between CISC and RISC MitchAlsup <MitchAlsup@aol.com> - 2016-02-01 06:44 -0800
Re: Between CISC and RISC Ivan Godard <ivan@millcomputing.com> - 2015-12-24 13:03 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-24 16:35 -0800
Re: Between CISC and RISC Ivan Godard <ivan@millcomputing.com> - 2015-12-24 16:45 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2016-01-31 07:14 -0800
Re: Between CISC and RISC MitchAlsup <MitchAlsup@aol.com> - 2015-12-25 07:21 -0800
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-25 07:39 -0800
Re: Between CISC and RISC George Neuner <gneuner2@comcast.net> - 2015-12-25 11:53 -0500
Re: Between CISC and RISC MitchAlsup <MitchAlsup@aol.com> - 2016-01-31 10:10 -0800
Re: Between CISC and RISC Robert Wessel <robertwessel2@yahoo.com> - 2016-01-31 23:34 -0600
Re: Between CISC and RISC Quadibloc <jsavard@ecn.ab.ca> - 2015-12-26 10:07 -0800
Page 6 of 7 — ← Prev page 1 2 3 4 5 [6] 7 Next page →
| From | Terje Mathisen <terje.mathisen@tmsw.no> |
|---|---|
| Date | 2015-12-22 10:26 +0100 |
| Message-ID | <n5b4vb$eih$1@speranza.aioe.org> |
| In reply to | #32085 |
Quadibloc wrote: > On Monday, December 21, 2015 at 1:57:13 PM UTC-7, Quadibloc wrote: > >> It may be noted, though, that for some time, there won't be any real >> architectural excitement in the updates I make. > > I did come up with something new, though; > > http://www.quadibloc.com/arch/ct03.htm > > now shows a rather weird idea I had. John, your instruction encoding posts are starting to remind me (unfavorably) of a piece of code I once spent several months fixing: This was a backup/restore application where the designer had done a ton of work on bitfield encoding every possible header record, while forgetting about the actual purpose, i.e. backing up data. :-( Among his mistakes was to define both a block and a packet format, with horrible interactions if/when a packet boundary should happen to occur in the middle of a block header. In order to help parsing, every single block of encoded data used the same block_header + block_data format, except for one slightly unfortunate exception: Actual binary file data was just deposited as-is in the middle of the data strem, without a leading header! The restore process was supposed to parse all normal blocks (headers+data) and from a given sequence of these intuit that a binary blob of a given size would follow. This saved 3-10 bytes per backed up file object but made it impossible to extend the backup protocol with new objects types since an older restore process wouldn't know how to handle any of the data. :-( Among many other problems the main one was spending all that work compressing headers while not attempting any kind of file data compression at all: This would have been far less work, and actually resulted in significant space savings. What I'm trying to say here is that you should spend much more time on developing a nice architecture (not just instruction encodings), sufficient to do all the work you want your cpu to be able to handle, but no more, and then see how much hardware it would take to implement it. Terje -- - <Terje.Mathisen at tmsw.no> "almost all programming can be viewed as an exercise in caching"
[toc] | [prev] | [next] | [standalone]
| From | Quadibloc <jsavard@ecn.ab.ca> |
|---|---|
| Date | 2015-12-22 06:39 -0800 |
| Message-ID | <332921fd-663c-4118-8bd4-0c7b1fd2f9a9@googlegroups.com> |
| In reply to | #32086 |
On Tuesday, December 22, 2015 at 2:26:08 AM UTC-7, Terje Mathisen wrote: > John, your instruction encoding posts are starting to remind me > (unfavorably) of a piece of code I once spent several months fixing: Well, it's become even worse: http://www.quadibloc.com/arch/ct03.htm as I have finally figured out how to squeeze in DSP-format blocks in a way that allows them to be intermixed with both normal prefix-encoded variable-length instruction blocks and blocks with an explicit length indication. But the prefix-encoded variable-length instruction blocks in this mode now have to begin and end with complete instructions, an instruction can't straddle a block boundary for that kind of block. I did figure out - and I describe on that page - a way to avoid that issue, but it was excessively complicated even by my standards. John Savard
[toc] | [prev] | [next] | [standalone]
| From | Quadibloc <jsavard@ecn.ab.ca> |
|---|---|
| Date | 2015-12-23 10:17 -0800 |
| Message-ID | <79fa2cab-1a2a-43e4-8451-eaf2c0125062@googlegroups.com> |
| In reply to | #32086 |
Well, as far as other architectural considerations are concerned, what I want my computer to do is much like what every other computer does. There are exceptions. I want it to be able to do HFP arithmetic directly, so Hercules will run faster. I want it to handle vectors the way the Cray did. Instruction encoding has been a big deal because I'm trying to cram in so much functionality that if I don't handle it well, an instruction that "should" only take 32 bits due to the number of parameters it uses could be forced up to the next longer size. Of course, I do want it to be "good enough" to be useful for someone who might want an unencumbered ISA. So, as my understanding of OoO issues has advanced, I moved at least partially from CISC to RISC. Currently, being informed that DSPs are even better, I'm working on improving my understanding of how to produce a balanced ISA of that type. John Savard
[toc] | [prev] | [next] | [standalone]
| From | Jean-Marc Bourguet <jm@bourguet.org> |
|---|---|
| Date | 2015-12-23 19:55 +0100 |
| Message-ID | <87y4clc7v3.fsf@news.bourguet.org> |
| In reply to | #32113 |
Quadibloc <jsavard@ecn.ab.ca> writes:
> Well, as far as other architectural considerations are concerned, what I
> want my computer to do is much like what every other computer does.
I love your site for the erudion aspect, but your architecture remind me
that quote:
Il semble que la perfection soit atteinte non quand il n'y a plus rien à
ajouter, mais quand il n'y a plus rien à retrancher. (It seems that
perfection is attained not when there is nothing more to add, but when
there is nothing more to remove.)
- Terre des hommes, A. de St Exupéry
Yours,
--
Jean-Marc
[toc] | [prev] | [next] | [standalone]
| From | Quadibloc <jsavard@ecn.ab.ca> |
|---|---|
| Date | 2015-12-23 17:15 -0800 |
| Message-ID | <d8273add-fe48-435a-8f58-b46d72af1ebe@googlegroups.com> |
| In reply to | #32114 |
On Wednesday, December 23, 2015 at 11:55:47 AM UTC-7, Jean-Marc Bourguet wrote: > Quadibloc <jsavard@ecn.ab.ca> writes: > > > Well, as far as other architectural considerations are concerned, what I > > want my computer to do is much like what every other computer does. > I love your site for the erudion aspect, but your architecture remind me > that quote: > Il semble que la perfection soit atteinte non quand il n'y a plus rien à > ajouter, mais quand il n'y a plus rien à retrancher. (It seems that > perfection is attained not when there is nothing more to add, but when > there is nothing more to remove.) > - Terre des hommes, A. de St Exupéry Ha! Yes, you have indeed hit the nail on the head as far as the main flaw in my thinking! Although the Concertina II architecture _is_ going to be quite a bit more restrained than its predecessor, even if it still seems to have a lot added compared to the typical architecture these days. It includes 48-bit floats and 40-bit floats... because sometimes they will provide the "right" amount of precision for a calculation. And shorter floats require fewer transistors to calculate with, and the results are obtained faster. (Yes, since one can put a billion transistors on a chip, I fully intend to have separate floating-point ALUs for each size - _and_ the ability to power down the ones that are not currently in use to minimize leakage current.) It includes support for System/360 old-style floats... because Hercules is something people will want to do, and supporting that stuff in hardware is way faster than otherwise. It includes Cray-I style vector operations... because they are more flexible than using a GPU, and more efficient than any alternative; they worked out well when they were popular. And that's it. And this is simply _specified_ in the ISA description so that the opcodes are known for compatibility, nothing stops an implementation from leaving out some features. So it isn't as bad as it seems, I think. I have tried to pare it down. Because there is one constant in my thinking from the original Concertina to the Concertina II. Given the very limited choice in processor architectures these days - x86 only for Windows and the Mac, ARM (really, although x86 is theoretically possible) only for Android, with PowerPC, SPARC, and a few others available but without a major platform - obviously processor ISA approaches "natural monopoly" status. So, if being able to run software means that everyone gravitates to one CPU, I want to propose an architecture that, if it were to become the new one to which everyone gravitated, would provide enough flexibility and versatility so that a computing monoculture would not be... overly constricting. So, even if I restrain myself from extensions allowing a 48-bit-oriented and a 36-bit-oriented data memory, one _other_ thing I have yet to add would be instructions like the MVC and TR instructions of the 360. But how to do that while avoiding the slowness of anything that is memory-to-memory these days? It's easy enough to switch to doing packed decimal only in registers, but these instructions seem to have to be done in memory. One option would be to have them only operate within a special on-chip small memory. But as a limited resource for which programs would contend, it seems like a very bad idea. A direct-mapped cache is a good way to put something like the TI 9900 workspace on-chip while having the unlimited space main memory provides, so that's _one_ option, but for something as big as, say, 32k bytes, I'm not completely happy with that option either. Plus, having that sort of addition to the architecture _just_ to allow one narrow type of instruction (even if one then also uses it to let the other instructions work faster with memory) is unsatisfying. A better option would perhaps be to have many slow processors directly working with the memory to do such memory-to-memory operations. But then you can no longer use standard memory parts, and the architecture retreats to being absolutely certain to be nothing more than a flight of fancy instead of having a slim chance of implementation. So it gives me reason to think of ways to make it better and do it right. Perhaps something in my thoughts will inspire others, even if the architecture as a whole stays on paper. John Savard
[toc] | [prev] | [next] | [standalone]
| From | Terje Mathisen <terje.mathisen@tmsw.no> |
|---|---|
| Date | 2015-12-24 10:27 +0100 |
| Message-ID | <n5gdpi$hvm$1@speranza.aioe.org> |
| In reply to | #32120 |
Quadibloc wrote: > On Wednesday, December 23, 2015 at 11:55:47 AM UTC-7, Jean-Marc Bourguet wrote: >> Quadibloc <jsavard@ecn.ab.ca> writes: >> >>> Well, as far as other architectural considerations are concerned, what I >>> want my computer to do is much like what every other computer does. > >> I love your site for the erudion aspect, but your architecture remind me >> that quote: > >> Il semble que la perfection soit atteinte non quand il n'y a plus rien à >> ajouter, mais quand il n'y a plus rien à retrancher. (It seems that >> perfection is attained not when there is nothing more to add, but when >> there is nothing more to remove.) >> - Terre des hommes, A. de St Exupéry > > Ha! Yes, you have indeed hit the nail on the head as far as the main flaw in my > thinking! > > Although the Concertina II architecture _is_ going to be quite a bit more > restrained than its predecessor, even if it still seems to have a lot added > compared to the typical architecture these days. > > It includes 48-bit floats and 40-bit floats... because sometimes they will > provide the "right" amount of precision for a calculation. And shorter floats > require fewer transistors to calculate with, and the results are obtained THIS is one of your key mistakes! Adding a slightly different form of a standard operation does _not_ save power: Please start by designing a 64-bit FP unit, figuring out how much HW you need to handle this. Then you check how much of this you can reuse for 32-bit floats, where you can fit a par of them in the same space as a double. Finally you try the same exercise for 40/48-bit fp values: You will have to use the full 64-bit buses to transfer these items around, the 64-bit logic will have to become more complicated in order to do early out, otherwise you gain no power saving at all, right? If your intention is to have separate (dedicated) 40 and 48-bit fp units then you've more or less doubled the size of your fp unit. If I _had_ to implement a 48-bit format I would use the 64-bit logic, only modifying the final normalization/rounding stage, but even this very minimal change would add at least one logic stage to the HW, so all supported sizes would use a little bit more power and time. Terje -- - <Terje.Mathisen at tmsw.no> "almost all programming can be viewed as an exercise in caching"
[toc] | [prev] | [next] | [standalone]
| From | Quadibloc <jsavard@ecn.ab.ca> |
|---|---|
| Date | 2015-12-24 04:50 -0800 |
| Message-ID | <b36830a1-930c-410d-9fb7-6ee8f45f0ae8@googlegroups.com> |
| In reply to | #32121 |
I indeed do intend dedicated FP units of each size. Transistors are cheap. But even on my terms, there's something badly wrong with such a design. Few programs would use more than one precision of FP numbers, although some might use two. So the design would be highly superscalar in a way that was basically unusable. That is wasteful. That is one of the reasons, in addition to a lack of faith that programs will have adequate ILP available, that I consider it important for implementations of this and similar architectures to be highly multithreaded. John Savard
[toc] | [prev] | [next] | [standalone]
| From | Quadibloc <jsavard@ecn.ab.ca> |
|---|---|
| Date | 2015-12-24 07:37 -0800 |
| Message-ID | <f7b8bedd-833a-450a-9172-972c321fd058@googlegroups.com> |
| In reply to | #32121 |
On this page: http://www.quadibloc.com/arch/per07.htm under the subheading "Reviewing Usefulness", I look at how many stages a Wallace Tree adder requires for different mantissa sizes, and how that impacts my plans for different floating-point sizes. When it comes to adders, the Sklansky design goes by powers of two, so I would simply need them in 32-bit, 64-bit, and 128-bit sizes. While I didn't think it useful to delve deeply into implementation details until I finish deciding what my ISA should include, I do have ideas about that, and I can explain how those ideas would interact with this particular ISA proposal. A high-performance implementation of this ISA might contain the following numbers of Wallace Tree multipliers for floating-point use (it would also require separate ones for integer arithmetic which would be significantly different in design): 32-bit FP: 4 40-bit FP: none 48-bit FP: 4 64-bit FP: 4 80-bit extended: none 96-bit extended: none 128-bit extended: 1 This is based on how common and important I perceive each precision to be. A 40-bit multiplication would be performed using the 48-bit multiplier. Rounding down isn't a problem, since the result didn't go into a register, so the Guard, Round, and Sticky bits are still available - so there's no need for twice the precision in this case. How I would use them to perform division incorporates an idea I learned of in my recent reading: as Goldschmidt division is subject to rounding errors, performing Goldschmit division at a reduced precision, followed by one stage of Newton-Raphson division is an ideal solution for both speed and accuracy (if IEEE-478 exactitude is not required, but errors are to be allowed to be only slightly larger than 1/2 LSB). The trouble with that in a conventional architecture is that Newton-Raphson rounds just about double the precision at each step, but the number of significand bits more than doubles as you go from 32 to 64 and 64 to 128 bit floating-point formats. So here is how each type of division would be performed: 32-bit: Goldschmidt division @ 48 bits 40-bit: Goldschmidt division @ 32 bits One Newton-Raphson round @ 48 bits 48-bit: Goldschmidt division @ 32 bits One Newton-Raphson round @ 48 bits 64-bit Goldschmidt division @ 48 bits One Newton-Raphson round @ 64 bits 80-bit Goldschmidt division @ 48 bits One Newton-Raphson round @ 128 bits 96-bit Goldschmidt division @ 64 bits One Newton-Raphson round @ 128 bits 128-bit Goldschmidt division @ 64 bits Two Newton-Raphson rounds @ 128 bits For every precision except 128-bit extended, it should be possible to continuously perform one floating-point division each cycle for an indefinite period of time. This describes only one possible mode of division on the chip, the "fast" mode. Two other options would be provided. There would be the "normal" mode, which uses SRT division, and which guarantees the closest possible result for full IEEE 754 compliance. This would be the default, with the fast mode being chosen only where its limitations are understood for numerically-intensive applications. The third option would be the "robust" mode. Both Goldschmidt division and SRT division are dependent on tables. As a fallback, therefore, the option would exist to do all division by only Newton-Raphson iterations. The initial approximation to the quotient or reciprocal would be supplied by good old shifting and subtracting (nonrestoring division, I presume) so that there would be less danger of anything like the Pentium bug. John Savard
[toc] | [prev] | [next] | [standalone]
| From | Quadibloc <jsavard@ecn.ab.ca> |
|---|---|
| Date | 2015-12-24 09:47 -0800 |
| Message-ID | <639c380a-ca57-4757-952f-a8da3d6dbe29@googlegroups.com> |
| In reply to | #32124 |
While my previous post sounds very reasonable, making it almost appear that the circuits required for 48-bit floats are something I would need anyways - for my unusually ambitious goals for division performance - there is one flaw. A 3:2 compressor, as used in Wallace Trees, involves *four gate delays*. Because I am aiming at a large and complex design, rather than one that is stripped-down and simple, I believe that going asynchronous is right out the window. To end every layer of compressors in Earle latches, to have a clock cycle equal to four gate delays, is simply not reasonable for any processor design whatever. Thus, it is indeed the case that one can't expect to realize, in all cases, the full gains from trimming the precision of floats to fit. It might still be possible to save a clock here and there, but now one is dealing with savings that can't justify a great deal of extra hardware. John Savard
[toc] | [prev] | [next] | [standalone]
| From | Quadibloc <jsavard@ecn.ab.ca> |
|---|---|
| Date | 2015-12-24 11:47 -0800 |
| Message-ID | <bfa73876-e3f4-4969-aa12-2d5e67e6fbdc@googlegroups.com> |
| In reply to | #32125 |
On Thursday, December 24, 2015 at 10:47:28 AM UTC-7, Quadibloc wrote: > to have a clock cycle equal > to four gate delays, is simply not reasonable for any processor design > whatever. Just out by a factor of two, though - there's a paper noting that the optimum pipeline slice, the optimum clock cycle, is from 6 to 8 gate delays. Proceedings 29th International Symposium on Computer Architecture, Hrishikesh, Jouppi, Farkas, Burger, Keckler, Shivakumar. John Savard
[toc] | [prev] | [next] | [standalone]
| From | Quadibloc <jsavard@ecn.ab.ca> |
|---|---|
| Date | 2015-12-24 12:48 -0800 |
| Message-ID | <e140d127-dd4b-43bc-98d1-1c1e758f8d31@googlegroups.com> |
| In reply to | #32127 |
On Thursday, December 24, 2015 at 12:47:29 PM UTC-7, Quadibloc wrote: > On Thursday, December 24, 2015 at 10:47:28 AM UTC-7, Quadibloc wrote: > > to have a clock cycle equal > > to four gate delays, is simply not reasonable for any processor design > > whatever. > > Just out by a factor of two, though - there's a paper noting that the optimum > pipeline slice, the optimum clock cycle, is from 6 to 8 gate delays. > > Proceedings 29th International Symposium on Computer Architecture, > Hrishikesh, Jouppi, Farkas, Burger, Keckler, Shivakumar. Did some more Googling, as I figured that even 8 gate delays per pipeline stage was not used on any practical processor. I found that, in fact, the Cray-I *did* use 8 gate delays per clock cycle! On the other hand, while Intel didn't release that kind of information (I don't think), I did find someone's estimate that the Pentium 4, while it normally had a clock cycle equivalent to 16 gate delays, used an internal cycle half of that for the ALU to speed it up. So 8 gate delays per clock cycle is not, surprisingly, totally hopeless - although these days, with the importance of wire delays over gate delays, one really does need to allow more - but _even_ 8 is already too coarse for trying to save *time* by having less wide Wallace Tree multipliers to be feasible. Of course, division requires _multiple_ multiplications, so what I could do is decouple a multiplier unit from the clock when I'm using it for division - that is, waste two half cycles of availability for doing multiplications on the "middle" multiplier unit to let the third one start work one cycle early. (Or have a cycle of 12 gate delays, and use units of 1/3 cycle, since 8 is still cutting it too close for my comfort.) Not asynchronous, but flexible... (and note that 12 beats the Pentium IV, which was widely regarded as taking shrinking the clock cycle too far; I'm trying to get really souped-up performance, but I also realize that on a flat chip it won't be possible to match what Seymour Cray could do back in a wired cabinet.) Of course, what I _really_ need to apply some of my perverted ingenuity to is figuring out how to make excessively large register files actually work quickly, since I need big ones to either have eight simultaneous threads or to expose lots of ILP from a compiler in one thread. After all, a multiplexer level requires two gate delays. But trees don't have to be binary, one could OR together four inputs or even more... John Savard
[toc] | [prev] | [next] | [standalone]
| From | Quadibloc <jsavard@ecn.ab.ca> |
|---|---|
| Date | 2015-12-24 18:56 -0800 |
| Message-ID | <26f332a8-cdba-4077-a037-f912b91f2b7c@googlegroups.com> |
| In reply to | #32128 |
On Thursday, December 24, 2015 at 1:48:13 PM UTC-7, Quadibloc wrote: > (Or > have a cycle of 12 gate delays, and use units of 1/3 cycle, since 8 is still > cutting it too close for my comfort.) Perhaps a more conventional approach would be to follow the Pentium 4 approach, but more gently; have a cycle of 24 gate delays in general, but inside the ALU, some parts would chop the pipeline up into 1/3 cycle units of 8 gate delays, and others would chop it up into 1/2 cycle units of 12 gate delays... thus allowing, under certain circumstances, a difference of four gate delays to be realized as an actual speedup. John Savard
[toc] | [prev] | [next] | [standalone]
| From | Quadibloc <jsavard@ecn.ab.ca> |
|---|---|
| Date | 2015-12-25 09:34 -0800 |
| Message-ID | <487c684b-b785-4886-9bb3-53ff5e9d8825@googlegroups.com> |
| In reply to | #32133 |
On Thursday, December 24, 2015 at 7:56:17 PM UTC-7, Quadibloc wrote: > Perhaps a more conventional approach would be to follow the Pentium 4 approach, > but more gently; have a cycle of 24 gate delays in general, but inside the ALU, > some parts would chop the pipeline up into 1/3 cycle units of 8 gate delays, > and others would chop it up into 1/2 cycle units of 12 gate delays... thus > allowing, under certain circumstances, a difference of four gate delays to be > realized as an actual speedup. Thus in order to realize benefits of shaving four gate delays from multiplication, I have the processor do things "not in the" clock cycles "we know, but _between_ them"... and the source of that literary quotation perhaps represents many aspects of the ISAs I keep coming up with, even if their weirdness has not yet made them non-Euclidean. John Savard
[toc] | [prev] | [next] | [standalone]
| From | anton@mips.complang.tuwien.ac.at (Anton Ertl) |
|---|---|
| Date | 2015-12-25 17:57 +0000 |
| Message-ID | <2015Dec25.185759@mips.complang.tuwien.ac.at> |
| In reply to | #32128 |
Quadibloc <jsavard@ecn.ab.ca> writes:
>On Thursday, December 24, 2015 at 12:47:29 PM UTC-7, Quadibloc wrote:
>> On Thursday, December 24, 2015 at 10:47:28 AM UTC-7, Quadibloc wrote:
>> > to have a clock cycle equal
>> > to four gate delays, is simply not reasonable for any processor design
>> > whatever.
>>
>> Just out by a factor of two, though - there's a paper noting that the optimum
>> pipeline slice, the optimum clock cycle, is from 6 to 8 gate delays.
>>
>> Proceedings 29th International Symposium on Computer Architecture,
>> Hrishikesh, Jouppi, Farkas, Burger, Keckler, Shivakumar.
>
>Did some more Googling, as I figured that even 8 gate delays per pipeline stage
>was not used on any practical processor.
>
>I found that, in fact, the Cray-I *did* use 8 gate delays per clock cycle!
>
>On the other hand, while Intel didn't release that kind of information (I don't
>think), I did find someone's estimate that the Pentium 4, while it normally had
>a clock cycle equivalent to 16 gate delays, used an internal cycle half of that
>for the ALU to speed it up.
IIRC the paper you describe above gives a number for an Alpha
implementation; if you read the next paper in the proceedings, it's
from Intel people, and maybe contains these numbers for the Pentium 4.
It certainly was in a similar vein, and I found both papers quite
interesting. The other interesting thing is that this line of work
was abandoned soon after, apparently because the CPUs hit the heat
wall.
@InProceedings{sprangle&carmean02,
author = {Eric Sprangle and Doug Carmean},
title = {Increasing Processor Performance by Implementing
Deeper Pipelines},
crossref = {isca02},
pages = {25--34},
url = {http://systems.cs.colorado.edu/ISCA2002/FinalPapers/Deep%20Pipes.pdf},
annote = {This paper starts with the Williamette (Pentium~4)
pipeline and discusses and evaluates changes to the
pipeline length. In particular, it gives numbers on
how lengthening various latencies would affect IPC;
on a per-cycle basis the ALU latency is most
important, then L1 cache, then L2 cache, then branch
misprediction; however, the total effect of
lengthening the pipeline to double the clock rate
gives the reverse order (because branch
misprediction gains more cycles than the other
latencies). The paper reports 52 pipeline stages
with 1.96 times the original clock rate as optimal
for the Pentium~4 microarchitecture, resulting in a
reduction of 1.45 of core time and an overall
speedup of about 1.29 (including waiting for
memory). Various other topics are discussed, such as
nonlinear effects when introducing bypasses, and
varying cache sizes. Recommended reading.}
}
@Proceedings{isca02,
title = "$29^\textit{th}$ Annual International Symposium on Computer Architecture",
booktitle = "$29^\textit{th}$ Annual International Symposium on Computer Architecture",
year = "2002",
key = "ISCA 29",
}
- 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 | Quadibloc <jsavard@ecn.ab.ca> |
|---|---|
| Date | 2015-12-25 10:42 -0800 |
| Message-ID | <e2d28289-d72a-4597-b9c8-15b944be339f@googlegroups.com> |
| In reply to | #32139 |
On Friday, December 25, 2015 at 11:08:07 AM UTC-7, Anton Ertl wrote: > IIRC the paper you describe above gives a number for an Alpha > implementation; if you read the next paper in the proceedings, it's > from Intel people, and maybe contains these numbers for the Pentium 4. > It certainly was in a similar vein, and I found both papers quite > interesting. The other interesting thing is that this line of work > was abandoned soon after, apparently because the CPUs hit the heat > wall. Then I was right in thinking that I'd better not try to out-do the Pentium 4, but instead go in the other direction, and have 24 gate delays per clock - still less than what was used with the 486, but more sensible than the 16 of the Pentium 4. Of course, I do recall that the heat wall was why Intel went back to a Pentium III-esque design in the Core series... and why we don't have things that go over 4 GHz these days. Except for IBM's 5 GHz mainframe chip! John Savard
[toc] | [prev] | [next] | [standalone]
| From | Bruce Hoult <bruce.hoult@gmail.com> |
|---|---|
| Date | 2015-12-26 03:29 -0800 |
| Message-ID | <fc4f805e-fe60-44f9-9cb1-1be182a14486@googlegroups.com> |
| In reply to | #32140 |
On Friday, December 25, 2015 at 9:42:51 PM UTC+3, Quadibloc wrote: > Of course, I do recall that the heat wall was why Intel went back to a Pentium III-esque design in the Core series... and why we don't have things that go over 4 GHz these days. Except for IBM's 5 GHz mainframe chip! A tiny bit over. The i7 4790K has a base speed of 4.0 GHz, and actually runs a single core at 4.4 GHz or all four cores at 4.2 GHz unless it overheats. I built a machine with one 18 months ago and found that with a tiny bit of extra voltage I could get all four cores at 4.5 GHz (stable for months on end, running AOSP (Android OS) builds) but nothing extra for single core, OR with a lot of extra voltage I could get one core to 4.8 GHz but only to 4.3 GHz with all four running. The second alternative was faster when the main task was figuring out which files needed rebuilding and the answer was "nothing" or just one or two files. But all four cores at 4.5 was better if I'd changed a header file. Others seem to have better luck with the chip they got (or better OCing skilz) and report achieving 5 GHz. Though I have no idea how stable they really are -- many people seem to regard booting Windows and running GeekBench once to define "stable". I define it to mean I can use the machine for real work day in and day out for months without lockups or inconsistent results. Incidentally, the fastest speeds people are reporting (both GHz and GeekBench etc) don't seem to have changed much since the Sandy Bridge 2700K, through the 3770K and 4770K and now the 6700K, but the stock officially supported base speeds have got faster, even with microarchitecture IPC improvements.
[toc] | [prev] | [next] | [standalone]
| From | Jakob Brundin <jakbru@gmail.com> |
|---|---|
| Date | 2015-12-26 07:23 -0800 |
| Message-ID | <1683cce5-0e64-42bc-9dcc-54e4be65132a@googlegroups.com> |
| In reply to | #32140 |
Den fredag 25 december 2015 kl. 19:42:51 UTC+1 skrev Quadibloc: > On Friday, December 25, 2015 at 11:08:07 AM UTC-7, Anton Ertl wrote: > > > IIRC the paper you describe above gives a number for an Alpha > > implementation; if you read the next paper in the proceedings, it's > > from Intel people, and maybe contains these numbers for the Pentium 4. > > It certainly was in a similar vein, and I found both papers quite > > interesting. The other interesting thing is that this line of work > > was abandoned soon after, apparently because the CPUs hit the heat > > wall. > > Then I was right in thinking that I'd better not try to out-do the Pentium 4, > but instead go in the other direction, and have 24 gate delays per clock - > still less than what was used with the 486, but more sensible than the 16 of > the Pentium 4. > Maybe you should start with thinking about the infrastructure of your pipeline(s); the over all latency and bypass properties for given instructions, and what the big picture looks like. When you have your "islands" of locality defined, you could start thinking about optimal implementations of functional units. Perhaps more of a top-down approach. BR Jakob
[toc] | [prev] | [next] | [standalone]
| From | Quadibloc <jsavard@ecn.ab.ca> |
|---|---|
| Date | 2015-12-26 09:54 -0800 |
| Message-ID | <05bae794-d926-4763-852b-2182c049c855@googlegroups.com> |
| In reply to | #32147 |
On Saturday, December 26, 2015 at 8:23:33 AM UTC-7, Jakob Brundin wrote: > Maybe you should start with thinking about the infrastructure of your > pipeline(s); the over all latency and bypass properties for given > instructions, and what the big picture looks like. > When you have your "islands" of locality defined, you could start thinking > about optimal implementations of functional units. Perhaps more of a top-down > approach. But how can I get serious about implementation and go into that level of detail before I have the architecture specified? It may happen that, in order to have the number of gate delays in a pipeline stage work well with the _integer_ instructions and other more common ones, that it will just happen that 48-bit floats, being four gate delays faster than 64-bit floats for multiplication, will be one whole cycle faster, being under a threshhold - an argument for defining multiple types when the implementation is unknown. And when it is intended the ISA might have many different implementations... John Savard
[toc] | [prev] | [next] | [standalone]
| From | Anne & Lynn Wheeler <lynn@garlic.com> |
|---|---|
| Date | 2015-12-26 16:18 -0800 |
| Message-ID | <87bn9crbfu.fsf@garlic.com> |
| In reply to | #32140 |
Quadibloc <jsavard@ecn.ab.ca> writes: > Of course, I do recall that the heat wall was why Intel went back to a > Pentium III-esque design in the Core series... and why we don't have > things that go over 4 GHz these days. Except for IBM's 5 GHz mainframe > chip! IBM can throw lots of cooling & power at it ... also big cloud chip customers are more&more looking for energy/instruction and as an aside: z10, 64processors, aggregate 30BIPS or 496MIPS/proc z196, 80processors, aggregate 50BIPS or 625MIPS/proc EC12, 101 processor, aggregate 75BIPS or 743MIPS/proc however, recent z13 claims 30% more throughput than EC12 with 40% more processors ... which would make it 700MIPS/processor z10 era E5-2600v1 blade can be over 500 BIPS, 16 processors or 30BIPS/proc. more recent E5-2600v4 blade is pushing 2000BIPS, 36 processors or 50BIPS/proc. -- virtualization experience starting Jan1968, online at home since Mar1970
[toc] | [prev] | [next] | [standalone]
| From | MitchAlsup <MitchAlsup@aol.com> |
|---|---|
| Date | 2016-01-31 10:17 -0800 |
| Message-ID | <95f00d75-c45a-4c15-ba39-9a2d7f55e0a9@googlegroups.com> |
| In reply to | #32128 |
On Thursday, December 24, 2015 at 2:48:13 PM UTC-6, Quadibloc wrote: > I found that, in fact, the Cray-I *did* use 8 gate delays per clock cycle! Let us be precise, CRAY-1 used 8 logic gates per cycle and had a 2 gate delay latch for pipeline storage that took 2 logic delays and had an overhead of 2 (between 1.5 and 2.5) gates of transparent time of the latch. So the machine cycled at 12 gates of delay (12 ns or 80 MHz). The shortest logic path was required to be longer than 3 gates of delay. So, just piping data from one storage element to the next cost 3 logic gates more than the pipeline latch. Let us also remember; 25% of the gates in the CRAY-1 was the clock fanout tree. The Clock kept a refrigerator sized device accurate to within 1/2 a gate delay over any temperature and voltage condition while the distance from the clock to the farthest receiving device was over 3 clock periods away. Impressive!
[toc] | [prev] | [next] | [standalone]
Page 6 of 7 — ← Prev page 1 2 3 4 5 [6] 7 Next page →
Back to top | Article view | comp.arch
csiph-web