John Baldwin wrote:
>
> > You know, I have no idea. It is someone elses code. These are the
> > instructions. Can anyone tell me?
> >
> > "movl 32(%0),%1\n"
> > "adcl %1,32(%0)\n"
> >
> > Also, from this discussion, what I have decided to do is provide it as
> > an option for the user to add by editing the Makefile - not to do it
> > automatically.
>
> These instructions are 386 instructions. What we need to see are the
> contraints (the stuff after the actual instructions with colons in them) to see
> if it is somehow using Pentium Pro+ specific registers. And actually, just for
> the record, a PPro is a 686. :)
>
OK, this is it in context:
register Word32 *_x = x;
register int _a = 0;
asm("xorl %1,%1\n" /* clear C */
"movl 124(%0),%1\n"
"adcl %1,124(%0)\n"
: : "r" (_x), "r" (_a)
);
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message