That was for the Alpha, with optimization O3 turned on. O2 also 
generates the same code sequence. Additionally, I was one of the guys 
who wrote the Alpha assembler for Windows NT. One of the things I had 
to do was to take the Unix assembler code scheduler and port it to out 
NT assembler and later on, update it for the newer processors. 

On 5 Apr 2000, at 10:10, Kevin D. Clark wrote:

> 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")

Jerry Feldman <[EMAIL PROTECTED]>
Associate Director
Boston Linux and Unix user group
http://www.blu.org

**********************************************************
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