patch 1.3.86

Ulrich Windl (ulrich.windl@rrzc1.rz.uni-regensburg.de)
Mon, 15 Apr 1996 11:17:34 +0200


In the following patch I think that the move operations were faster
than the push/pop combination. I only have timings for the 386...

+++ linux/include/asm-i386/segment.h Tue Apr 9 10:35:29 1996
@@ -85,9 +85,9 @@
__asm__ volatile
(" cld
push %%es
- movw %%fs,%%cx
- movw %%cx,%%es
+ push %%fs
cmpl $3,%0
+ pop %%es
jbe 1f
movl %%edi,%%ecx
negl %%ecx