Re: asm (lidt) question

From: Davide Libenzi (davidel@xmailserver.org)
Date: Tue Jul 22 2003 - 13:58:16 EST


On Tue, 22 Jul 2003, Randy.Dunlap wrote:

> On Tue, 22 Jul 2003 10:31:37 -0700 (PDT) Davide Libenzi <davidel@xmailserver.org> wrote:
>
> | On Tue, 22 Jul 2003, Jamie Lokier wrote:
> |
> | > Davide Libenzi wrote:
> | > > IMHO, since "var" is really an output parameter.
> | >
> | > "var" is read, not written.
> | > I think you are confusing "lidt" with "sidt".
> |
> | Actually I don't even know what I was confusing, since L and S are not
> | there for nothing ;) And yes, the form with =m as input parameter should
> | be corrected, even if it generates the same code.
>
> Yes, less confusion is better, so here's a patch to use the
> same reasonable syntax in all places.
>
> Look OK? Generates the same code, as Davide pointed out.

Yep, that's the right syntax (pls push to Andrew or Linus) ;)

- Davide

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:47 EST