Jerry Feldman writes:

> Here is the generated code where strlen of a constant is evaluated at 
> compile time. 
...
>         mov     6, $0                                         # load the 
>strlen("abcdef")

(This was for an Alpha, right?)

Wow, this only further confirms my belief that DEC/Compaq has some
pretty good compiler guys working for them.  I suppose this
optimization has to be turned off if you non-standardly allow string
constants to be written to, huh?

For a class that I took a few years ago, I wrote an instruction
scheduler for an Alpha.  This was a very fun project!  However, the
DEC instruction scheduler always beat my scheduler by a tiny bit.
This was very frustrating.

Just another compiler guy,

--kevin
-- 
``Where can I find details on LALR(1)?  When I type "man 1 LALR" I
  don't get any results.''
     -- seen in comp.unix.questions


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to