DragonFly BSD
DragonFly bugs List (threaded) for 2004-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: bad register name `%sil'


From: Dave Cuthbert <dacut@xxxxxxxxxxxxx>
Date: Fri, 13 Feb 2004 13:46:51 -0500

Matthew Dillon wrote:
It's a bug in our inline assembly. %sil is not an AMD64 register per
say, it's simply GCC trying to access the 'low byte' of the %si
register. This is only legal to do on %ax, %bx, %cx, or %dx. So FreeBSD's solution is the correct one.

Hrm. It definitely seems odd for gcc to fail in such a way; after all, it's %al, not %axl. Ah, well.




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]