lkml.org 
[lkml]   [1999]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Removes x86 warning messages
Date
Followup to:  <Pine.LNX.3.95.991028082803.6412A-100000@chaos.analogic.com>
By author: "Richard B. Johnson" <root@chaos.analogic.com>
In newsgroup: linux.dev.kernel
>
> It is perfectly correct to move a longword to a segment register. This
> removes the generation of the 0x66 prefix which is more code which
> has to be fetched, slowing down execution.
>

Actually, it's not. It's just that gas improperly thinks there is a
distinction. I consider this to be a gas bug.

movw %ax,%es

... should be the *only* legal form, and it should *never* generate a
prefix.

-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!

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

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.766 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site