Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #1270
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!news.misty.com!news.iecc.com!.POSTED!nerds-end |
|---|---|
| From | Ivan Godard <ivan@ootbcomp.com> |
| Newsgroups | comp.compilers |
| Subject | Re: optimizing compilers for low power design |
| Date | Fri, 20 Jun 2014 11:52:54 -0700 |
| Organization | A noiseless patient Spider |
| Lines | 48 |
| Sender | news@iecc.com |
| Approved | comp.compilers@iecc.com |
| Message-ID | <14-06-015@comp.compilers> (permalink) |
| References | <14-06-003@comp.compilers> <14-06-004@comp.compilers> <14-06-008@comp.compilers> <14-06-011@comp.compilers> |
| NNTP-Posting-Host | news.iecc.com |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | miucha.iecc.com 1403313451 36785 2001:470:1f07:1126:0:676f:7373:6970 (21 Jun 2014 01:17:31 GMT) |
| X-Complaints-To | abuse@iecc.com |
| NNTP-Posting-Date | Sat, 21 Jun 2014 01:17:31 +0000 (UTC) |
| Keywords | architecture, |
| Posted-Date | 20 Jun 2014 21:17:31 EDT |
| X-submission-address | compilers@iecc.com |
| X-moderator-address | compilers-request@iecc.com |
| X-FAQ-and-archives | http://compilers.iecc.com |
| Xref | csiph.com comp.compilers:1270 |
Show key headers only | View raw
On 6/18/2014 1:44 AM, George Neuner wrote: > On Mon, 16 Jun 2014 12:11:32 +0100, "Derek M. Jones" > <derek@_NOSPAM_knosof.co.uk> wrote: > >> A surprising percentage of power is consumed when a signal changes from >> 0 to 1 or from 1 to 0. So the idea is to arrange instruction order to >> minimise the number of transitions at each bit position in an >> instruction sequence. >> >> [CMOS only uses power when it switches, so I'd think approximately all >> of the power would be consumed when a signal changes. The idea of >> Gray coded instruction streams is weirdly appealing. -John] > > I'm mostly a software person, so this may be way off base. > However ... > > For Gray coding instructions to be effective, most instructions would > have to offer multiple choices for their encoding. Certainly for the > most commonly used instructions and probably there would need to be at > least several choices of encoding. > > ISTM then that the decoder becomes n-ways wider at each decision step, > and somewhat deeper [though maybe not twice] due to requiring > additional combining/filtering steps. So fetch to execute latency > would suffer and materially affect [already problematic] branching > performance. True if you are parsing instruction-by-instruction, but there are ways around that, see millcomputing.com/docs/encoding. In a wide-issue machine (where the instruction contains several operations to issue in parallel, like a VLIW, or any of several other less common schemes), it is possible to group the individual operations by natural encoding size. The problem then reduces to isolating the blocks, and the cost of that is amortised over the contained operations rather than being repeated for each. This is not frequency-based Gray coding, but nevertheless produces a much more compact encoding that the usual while at the same time being cheap to parse; experiment (unpublished) shows the encoding to be within a bit of Gray code > Moreover, I would think that to make this work best you'd also need to > use fixed sized instructions externally so that there is no additional > pre-decode penalties for locating instruction boundaries, aligning > bits, needing extra fetches for instructions that span fetch lines, > etc. You want to be able to just shift and drop each instruction > directly into the decoder. But fixed size instructions would put > additional fetch pressures on the memory system. The citation above addresses these issues too.
Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
optimizing compilers for low power design idatarm@gmail.com - 2014-06-15 05:20 -0700
Re: optimizing compilers for low power design Kaz Kylheku <kaz@kylheku.com> - 2014-06-15 15:43 +0000
Re: optimizing compilers for low power design Ivan Godard <ivan@ootbcomp.com> - 2014-06-15 11:19 -0700
Re: optimizing compilers for low power design <Pidgeot18@verizon.com.invalid> - 2014-06-15 18:58 -0500
Re: optimizing compilers for low power design "Derek M. Jones" <derek@_NOSPAM_knosof.co.uk> - 2014-06-16 12:11 +0100
Re: optimizing compilers for low power design George Neuner <gneuner2@comcast.net> - 2014-06-18 04:44 -0400
Re: optimizing compilers for low power design glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2014-06-20 18:13 +0000
Re: optimizing compilers for low power design Ivan Godard <ivan@ootbcomp.com> - 2014-06-20 11:52 -0700
Re: optimizing compilers for low power design Gene Wirchenko <genew@telus.net> - 2014-06-20 12:16 -0700
Re: optimizing compilers for low power design George Neuner <gneuner2@comcast.net> - 2014-06-20 17:24 -0400
Re: optimizing compilers for low power design Walter Banks <walter@bytecraft.com> - 2014-06-16 13:30 -0400
Re: optimizing compilers for low power design andrewchamberss@gmail.com - 2014-06-20 05:03 -0700
csiph-web