Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Ivan Godard <ivan@millcomputing.com> |
|---|---|
| Newsgroups | comp.arch |
| Subject | Re: Agner's Proposal for an ideal extensible instruction set |
| Date | 2015-12-29 12:16 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <n5upha$d78$1@dont-email.me> (permalink) |
| References | (5 earlier) <n5sn5q$f0$1@dont-email.me> <n5sv7s$j2n$1@dont-email.me> <n5tl5f$8o8$2@speranza.aioe.org> <n5tmn7$do1$1@dont-email.me> <n5tsgi$r8d$1@speranza.aioe.org> |
On 12/29/2015 3:58 AM, Terje Mathisen wrote: > I agree with you here as well, but I still believe large immediates are > very nice to have, and that they are orthogonal to the PIC issue: > > If you want to make a direct call to a function located far away, you > need a large immediate value to encode that target address: > > PIC or absolute address doesn't really matter. Then (to me at least) you are arguing for large offsets, not large immediates; yes, a terminology quibble. Hereby defined: an immediate is usable as a stand-alone operand: ADD R5, 17; the 17 is an immediate. An offset is a component of an address that must be computed before it can be used: LOAD SP, 17; you have to add the 17 to the stack pointer to get an address. When the OP asked for full-sized immediates I took him to mean immediates in this sense, full pointer size, whereas when you ask to reach code that is far away I take that to be a call for large offsets, not absolute addresses as immediates. I do support your call for large offsets BTW; Mill has 32-bit offsets for all control flow ops. Conceivably a customer could have a DLL or load module that is bigger than 4GB, but we decided to let those people bust their code into separately compiled and loaded parts :-) Incidentally, the encoded representation of a Mill 32-bit offset can occupy as few as zero bits. We expect soon to have statistics on the distribution of encoded offset sizes in a largish corpus.
Back to comp.arch | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Agner's Proposal for an ideal extensible instruction set Jean-Marc Bourguet <jm@bourguet.org> - 2015-12-28 15:50 +0100
Re: Agner's Proposal for an ideal extensible instruction set Quadibloc <jsavard@ecn.ab.ca> - 2015-12-28 07:12 -0800
Re: Agner's Proposal for an ideal extensible instruction set Piotr Wyderski <peter.pan@neverland.mil> - 2016-01-26 16:38 +0100
Re: Agner's Proposal for an ideal extensible instruction set Quadibloc <jsavard@ecn.ab.ca> - 2016-01-29 12:10 -0800
Re: Agner's Proposal for an ideal extensible instruction set "James Van Buskirk" <not_valid@comcast.net> - 2015-12-28 09:48 -0700
Re: Agner's Proposal for an ideal extensible instruction set Quadibloc <jsavard@ecn.ab.ca> - 2015-12-28 10:29 -0800
Re: Agner's Proposal for an ideal extensible instruction set Terje Mathisen <terje.mathisen@tmsw.no> - 2015-12-28 23:01 +0100
Re: Agner's Proposal for an ideal extensible instruction set "James Van Buskirk" <not_valid@comcast.net> - 2015-12-28 16:25 -0700
Re: Agner's Proposal for an ideal extensible instruction set Ivan Godard <ivan@millcomputing.com> - 2015-12-28 16:10 -0800
Re: Agner's Proposal for an ideal extensible instruction set "James Van Buskirk" <not_valid@comcast.net> - 2015-12-28 18:23 -0700
Re: Agner's Proposal for an ideal extensible instruction set Ivan Godard <ivan@millcomputing.com> - 2015-12-28 19:41 -0800
Re: Agner's Proposal for an ideal extensible instruction set Terje Mathisen <terje.mathisen@tmsw.no> - 2015-12-29 10:52 +0100
Re: Agner's Proposal for an ideal extensible instruction set Ivan Godard <ivan@millcomputing.com> - 2015-12-29 02:22 -0800
Re: Agner's Proposal for an ideal extensible instruction set Terje Mathisen <terje.mathisen@tmsw.no> - 2015-12-29 12:58 +0100
Re: Agner's Proposal for an ideal extensible instruction set Ivan Godard <ivan@millcomputing.com> - 2015-12-29 12:16 -0800
Re: Agner's Proposal for an ideal extensible instruction set Quadibloc <jsavard@ecn.ab.ca> - 2015-12-29 07:25 -0800
Re: Agner's Proposal for an ideal extensible instruction set Walter Banks <walter@bytecraft.com> - 2015-12-29 12:27 -0500
Re: Agner's Proposal for an ideal extensible instruction set Robert Wessel <robertwessel2@yahoo.com> - 2015-12-29 11:46 -0600
Re: Agner's Proposal for an ideal extensible instruction set paul wallich <pw@panix.com> - 2015-12-29 13:00 -0500
Re: Agner's Proposal for an ideal extensible instruction set mrs@kithrup.com (Mike Stump) - 2015-12-29 22:21 +0000
Re: Agner's Proposal for an ideal extensible instruction set anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-12-29 10:16 +0000
Re: Agner's Proposal for an ideal extensible instruction set Terje Mathisen <terje.mathisen@tmsw.no> - 2015-12-29 10:49 +0100
Re: Agner's Proposal for an ideal extensible instruction set Ivan Godard <ivan@millcomputing.com> - 2015-12-29 02:36 -0800
Re: Agner's Proposal for an ideal extensible instruction set "Paul A. Clayton" <paaronclayton@gmail.com> - 2015-12-28 09:23 -0800
Re: Agner's Proposal for an ideal extensible instruction set Quadibloc <jsavard@ecn.ab.ca> - 2015-12-28 10:31 -0800
Re: Agner's Proposal for an ideal extensible instruction set Erik Trulsson <erikt@Update.UU.SE> - 2016-01-20 15:33 +0000
Re: Agner's Proposal for an ideal extensible instruction set Casper H.S. Dik <Casper.Dik@OrSPaMcle.COM> - 2016-01-20 15:39 +0000
Re: Agner's Proposal for an ideal extensible instruction set Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-20 18:31 +0100
Re: Agner's Proposal for an ideal extensible instruction set Ivan Godard <ivan@millcomputing.com> - 2016-01-20 11:14 -0800
Re: Agner's Proposal for an ideal extensible instruction set mrs@kithrup.com (Mike Stump) - 2016-01-26 03:36 +0000
Re: Agner's Proposal for an ideal extensible instruction set Stefan Monnier <monnier@iro.umontreal.ca> - 2016-01-20 16:44 -0500
Re: Agner's Proposal for an ideal extensible instruction set Terje Mathisen <terje.mathisen@tmsw.no> - 2015-12-28 19:56 +0100
csiph-web