Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch > #32792

Re: CISC to RISC dual aspect code idea

From Walter Banks <walter@bytecraft.com>
Newsgroups comp.arch
Subject Re: CISC to RISC dual aspect code idea
Date 2016-01-15 12:15 -0500
Organization Aioe.org NNTP Server
Message-ID <n7b9fe$6ms$1@gioia.aioe.org> (permalink)
References <ee9b3630-9bdc-4444-baed-2faf4b1acd80@googlegroups.com> <n78ps9$5tc$1@gioia.aioe.org> <a45cd2a4-2291-4e2c-a033-7c0c2d300caf@googlegroups.com>

Show all headers | View raw


On 14/01/2016 9:53 PM, Quadibloc wrote:
> On Thursday, January 14, 2016 at 11:37:02 AM UTC-7, Walter Banks
> wrote:
>> The most significant is who in the long run is responsible for
>> resource management the compiler or the execution unit. The
>> compiler in most ISA's would still need to know that this is
>> happening.
>
> Hmm. When I think of resource allocation, I think of the _operating
> system_. The compiler knows that it is preparing code that can be
> executed in one of two ways depending on how busy the machine is at a
> given time - but it gives the same answer either way.
>
> So the compiler's job, as I see it, is simply to try to use this
> construct whenever possible.

The context of resource management I was using was processor resources
from a compiler perspective. Why it may be more complex than "Use this
construct whenever possible" is the compiler has a bigger picture of the
application (although it is a static view).  The implications are your
proposed construct may or may not be appropriate at any point in the
code after the bigger picture accounts all of the considerations.

A quick read through the original post suggested to me that the impact
may be optimizing data flow through the registers. Not surprisingly the
mill might be able to deal with this type of problem rather well.

w..


Back to comp.arch | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

CISC to RISC dual aspect code idea Quadibloc <jsavard@ecn.ab.ca> - 2016-01-14 08:28 -0800
  Re: CISC to RISC dual aspect code idea Stephen Fuld <SFuld@alumni.cmu.edu.invalid> - 2016-01-14 09:25 -0800
    Re: CISC to RISC dual aspect code idea Quadibloc <jsavard@ecn.ab.ca> - 2016-01-14 09:38 -0800
  Re: CISC to RISC dual aspect code idea Walter Banks <walter@bytecraft.com> - 2016-01-14 13:36 -0500
    Re: CISC to RISC dual aspect code idea Quadibloc <jsavard@ecn.ab.ca> - 2016-01-14 18:53 -0800
      Re: CISC to RISC dual aspect code idea Walter Banks <walter@bytecraft.com> - 2016-01-15 12:15 -0500
  Re: CISC to RISC dual aspect code idea MitchAlsup <MitchAlsup@aol.com> - 2016-01-14 15:01 -0800
    Re: CISC to RISC dual aspect code idea Quadibloc <jsavard@ecn.ab.ca> - 2016-01-14 19:06 -0800
      Re: CISC to RISC dual aspect code idea Bruce Hoult <bruce.hoult@gmail.com> - 2016-01-15 04:32 -0800

csiph-web