From: | mef |
Date: | 8 Sep 2000 at 03:45:55 |
Subject: | RE: AMIOPEN: has anyone run SPEC benchmark using VP? |
Alex,
> agmsmith@home.com wrote on 7 Sep 2000 10:29 AM
> > mef@cs.washington.edu wrote on Wed, 6 Sep 2000 12:10:06 -0700:
> > For example, I understand that the current translator does
> > not do a great job with floating point computations, or
> > dealing with C code that is compiled with "long" integers.
> > Is this a limitation do to TAO/Ami's translator or does it
> > fundamentally have to do how VP is designed?
>
> For that matter, how well will VP and the alternatives handle
> the future change to 64 bit pointers? 4 gigabytes just isn't
> enough sometimes, though it will be a decade or two before
> Internet Appliances need that much memory :-).
I believe that VP by design uses 64-bit registers. I.e., a C "long" integer
in VP is represented by a 64 bit register. Presumably the same goes for
pointers. So there is no problem of addressing more than 4 gigabytes of
memory.
However, as you pointed out, most 'appliances' wont need that much memory
and presumably don't use a processor with 64bit registers. As a result, the
VP translator may generate suboptimal native code for 32bit machines to
handle anything that uses "long" integers. I suppose a "smart" translator
may be able to optimize this away.
Marc
Subscribe/Unsubscribe: open-request@amiga.com
Amiga FAQ: http://www.amiga.com/faq.html