

On Sat, 21 Dec 2002 Fergus Henderson wrote :
>On 20-Dec-2002, Noel  Pinto <cool4life@rediffmail.com> wrote:
> > In the User Guide the environment variable, MERCURY_OPTIONS 
>with
> > the option -C is used to tell the runtime system to optimize 
>the
> > locations of the starts of the various data areas for a 
>primary
> > data cache of size kilobytes.
>
>You don't need to use or understand this option.

Why is there no need for me to understand or use this option?? Is 
it implemented automatically by the compiler???

If there is no need for me to use or understand and from what I am 
guessing no need for me to implement it, then why is it not 
mentioned in the User Guide with the reason as to why not?

I have written
MERCURY_OPTIONS = -Di
in the Mmakefile. I have even tried mis-spelling it. It did not 
give me any error when I have mis-spelled it. I really do not know 
what I should expect when I compile the library using the 
environment variables specified in the Mmakefile.

Is the above syntax that I have mentioned right??

When there is a variable MERCURY_COMPILER, what is the need of the 
variable MERCURY_INTERPRETER. I have tried finding what 
MERCURY_INTERPRETER is, I have found that it does not contain any 
value. So, isn't it assumed that any C compiler for Mercury will 
need an interpreter??? I have not checked all the sites for other 
compilers for Mercury, but still is it not assumed so???? or is my 
assumption wrong??

> > Plz tell me what do you mean by the starts of various data
> > areas??
>
>The starting address used for the Mercury stacks, heap, etc.
>
>The optimization in question consists just of placing these
>addresses at locations that are different modulo the page size,
>thus reducing the likelihood of cache collisions between
>different data areas.  Such collisions can sometimes be a 
>problem
>for small benchmarks.

Thanks!!! :-)

>Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that 
>the pursuit
>The University of Melbourne         |  of excellence is a lethal 
>habit"
>WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. 
>S. Garp.


________________________________________________________________
  NIIT supports World Computer Literacy Day on 2nd December.
  Enroll for NIIT SWIFT Jyoti till 2nd December for only Rs. 749
  and get free Indian Languages Office software worth Rs. 2500.
  For details contact your nearest NIIT centre, SWIFT Point
  or click here http://swift.rediff.com/

--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users@cs.mu.oz.au
administrative address: owner-mercury-users@cs.mu.oz.au
unsubscribe: Address: mercury-users-request@cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request@cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------

