lkml.org 
[lkml]   [1998]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch] x86, small syscall entry speedup, 2.1.90
Date
Linus Torvalds wrote:
> On Fri, 13 Mar 1998, MOLNAR Ingo wrote:
> >
> > this patch speeds up syscall entry and page faults by 1 cycle on a pentium
> > ;) It's tested.
>
> It also won't actually compile with any sane assembler. Admittedly "gas"
> isn't sane, but maybe somebody will clean gas up some day.
>
> Please fix gas instead of making the kernel uglier..
>
> Linus
>
> > - mov %dx,%ds; \
> > - mov %dx,%es;
> > + movb %dx,%ds; \
> > + movb %dx,%es;

OK, I've made a patch to gas, and will test it and submit it to the
gas maintainer. It will prevent gas emitting those extraneous
data-size prefixes for segment reg moves. (It will also bomb with an
error when given Ingo's bogus instructions)

Please don't ask to see the patch just yet. gas is complex, and I
really should test this one a bit before inflicting it on people.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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