Messages in this thread Patch in this message | | | From | Alan Modra <> | Subject | linux asm-i386 fixes | Date | Fri, 27 Mar 1998 01:34:31 +1030 (CST) |
| |
I found a few register bugs with my latest version of gas, which does much better operand checking.
--- linux-2.1.90/include/asm-i386/string.h Thu Sep 4 08:38:52 1997 +++ linux/include/asm-i386/string.h Fri Mar 27 01:22:41 1998 @@ -114,7 +114,7 @@ "xorl %%eax,%%eax\n\t" "jmp 3f\n" "2:\tsbbl %%eax,%%eax\n\t" - "orb $1,%%eax\n" + "orb $1,%%al\n" "3:" :"=a" (__res):"S" (cs),"D" (ct):"si","di"); return __res; --- linux-2.1.90/arch/i386/lib/locks.S Thu May 22 19:24:05 1997 +++ linux/arch/i386/lib/locks.S Fri Mar 27 01:18:20 1998 @@ -16,10 +16,10 @@ jnc 3f sti 2: - btl %dl, SYMBOL_NAME(smp_invalidate_needed) + btl %edx, SYMBOL_NAME(smp_invalidate_needed) jnc 0f lock - btrl %dl, SYMBOL_NAME(smp_invalidate_needed) + btrl %edx, SYMBOL_NAME(smp_invalidate_needed) jnc 0f pushl %eax movl %cr3, %eax - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |