From: glen herrmannsfeldt <gah@ugcs.caltech.edu>
Subject: Re: OpenVMS Still Only 32-Bit Addresses!?
Date: Mon, 14 Feb 2011 03:22:05 +0000 (UTC) [thread overview]
Message-ID: <ija74s$u5l$1@news.eternal-september.org> (raw)
In-Reply-To: ija1p7$tfb$3@lust.ihug.co.nz
Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> wrote:
(someone wrote)
>>> One thing that mildly surprised me was that the Alpha kept the
>>> distinction between integer and floating-point registers.
(then I wrote)
>> It makes it much easier for the processor to do out-of-order
>> execution if you don't have to keep track of which values are
>> going where.
> That???s what register renaming is all about.
It is, but it complicates it if it has to keep track of the
registers in both fixed and floating point sense.
Well, I did much of my early programming on a 360/91, and still
find it an interesting machine. (Also popular in books on
pipelined processors.) It was one of the early machines to
do register renaming. Now, consider that the fixed and floating
point processing might be done in separate units, and that fixed
point is often used for both calculation and addressing.
>> Also, many don't save the floating point registers during
>> task switches when it isn't needed.
> Hmmm ... are you really saving that much these days? As in,
> are there still a high proportion of tasks that _aren???t_ using
> floating-point operations?
Well, it gets worse as you increase the number and size of the
registers, but consider an I/O interrupt. The interrupt routine
is unlikely to do much floating point. Also, must text processing
doesn't need to do any, or very little. (TeX uses floating point
only for messages, none where it can affect the DVI output.)
>>> Combining the two sets would have given you a bit more flexibility, if
>>> you???re running short of one kind and have an excess of the other kind.
>> Well, for one that means more instruction bits.
> Only one more for each register operand.
But one that you can't use for register selection.
>> By keeping them separate you get the appropriate number of each,
>> addressed by the appropriate instruction type.
> Yes, but then look at what happens when your data types proliferate,
> particularly with SIMD extensions: which set of registers should you
> use for those, and why?
Well, it was a neat trick of Intel to store the MMX register such
that they would be saved on task switch on systems supporting
the x87 registers.
But in addition to the problem of saving registers for task
switch, there is the problem of subroutine call. The two common
systems, are callee saves (the registers that have values that
are needed across the call) or caller saves (the registers that
could be modified. The result is more saving than necessary.
In the Cray-1 days there was discussion of having the linker
allocate vector registers to minimize the saving needed.
(I don't know if that was ever done, though.)
Now, continue the comment on register renaming, and consider
the RISC idea of giving the power to the compiler to keep track
of much that used to be done by the processor.
I believe that the extra logic needed to share the registers
across functional units is more than needed to duplicate
registers (that is, more total registers).
-- glen
next prev parent reply other threads:[~2011-02-14 3:22 UTC|newest]
Thread overview: 76+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-13 0:37 OpenVMS Still Only 32-Bit Addresses!? Lawrence D'Oliveiro
2011-02-13 1:44 ` tothestarsby2100
2011-02-13 2:24 ` Lawrence D'Oliveiro
2011-02-13 14:18 ` VAXman-
2011-02-13 22:16 ` Lawrence D'Oliveiro
2011-02-13 23:49 ` John Wallace
2011-02-14 0:18 ` VAXman-
2011-02-14 0:31 ` glen herrmannsfeldt
2011-02-13 3:06 ` Hans Bachner
2011-02-13 9:39 ` Hans Vlems
2011-02-13 10:34 ` Lawrence D'Oliveiro
2011-02-13 11:19 ` glen herrmannsfeldt
2011-02-13 14:21 ` Michael Kraemer
2011-02-13 14:32 ` John Wallace
2011-02-13 14:49 ` Michael Kraemer
2011-02-13 21:30 ` John Wallace
2011-02-13 22:44 ` glen herrmannsfeldt
2011-02-14 1:47 ` Lawrence D'Oliveiro
2011-02-14 18:17 ` Bob Koehler
2011-02-14 23:39 ` Lawrence D'Oliveiro
2011-02-15 14:34 ` Bob Koehler
2011-02-14 8:38 ` Michael Kraemer
2011-02-14 9:47 ` Lawrence D'Oliveiro
2011-02-14 23:11 ` Dennis Grevenstein
2011-02-14 23:42 ` Lawrence D'Oliveiro
2011-02-15 2:11 ` Michael Kraemer
2011-02-15 3:35 ` Lawrence D'Oliveiro
2011-02-15 8:31 ` Michael Kraemer
2011-02-15 8:46 ` John Wallace
2011-02-15 9:57 ` Michael Kraemer
2011-02-15 23:22 ` Lawrence D'Oliveiro
2011-02-16 6:06 ` Michael Kraemer
2011-02-16 11:59 ` Lawrence D'Oliveiro
2011-02-15 23:42 ` John Wallace
2011-02-15 14:38 ` Bob Koehler
[not found] ` <ijcs9p$hv4Organization: Encompasserve <WE3oMqzMhq9Z@eisner.encompasserve.org>
2011-02-15 17:07 ` Michael Kraemer
2011-02-15 23:21 ` Lawrence D'Oliveiro
2011-02-16 6:09 ` Michael Kraemer
2011-02-16 11:54 ` Lawrence D'Oliveiro
2011-02-13 22:33 ` glen herrmannsfeldt
2011-02-13 22:18 ` Lawrence D'Oliveiro
2011-02-13 22:50 ` glen herrmannsfeldt
2011-02-14 1:50 ` Lawrence D'Oliveiro
2011-02-14 3:22 ` glen herrmannsfeldt [this message]
2011-02-14 18:18 ` Bob Koehler
2011-02-14 19:35 ` glen herrmannsfeldt
2011-02-14 20:07 ` Bob Eager
2011-02-14 23:09 ` Lawrence D'Oliveiro
2011-02-14 23:11 ` Bob Eager
2011-02-14 23:39 ` Lawrence D'Oliveiro
2011-02-15 0:12 ` Bob Eager
2011-02-15 1:56 ` Lawrence D'Oliveiro
2011-02-15 6:45 ` Bob Eager
2011-02-15 12:26 ` VAXman-
2011-02-15 2:51 ` VAXman-
2011-02-13 22:28 ` glen herrmannsfeldt
2011-02-14 18:10 ` Bob Koehler
2011-02-14 20:44 ` Jerome H. Fine
2011-02-14 21:00 ` Michael Kraemer
2011-02-14 22:29 ` John Wallace
2011-02-14 20:04 ` John Wallace
2011-02-13 14:08 ` VAXman-
2011-02-13 14:34 ` John Wallace
2011-02-13 14:54 ` VAXman-
2011-02-13 22:14 ` Lawrence D'Oliveiro
2011-02-14 0:08 ` VAXman-
2011-02-14 0:51 ` John Wallace
2011-02-14 1:22 ` VAXman-
2011-02-14 4:00 ` glen herrmannsfeldt
2011-02-14 8:03 ` Michael Kraemer
2011-02-14 18:20 ` Bob Koehler
2011-02-14 0:11 ` VAXman-
2011-02-13 22:15 ` Lawrence D'Oliveiro
2011-02-13 23:40 ` John Wallace
2011-02-14 1:20 ` Hans Bachner
2011-02-14 18:09 ` Bob Koehler
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox