diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2003-04-17 03:45:31 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2003-04-17 03:45:31 +0000 |
commit | 0019be2edbe117052bcac6bf9686ab6812a41da6 (patch) | |
tree | 6daefb2d6a08f82b63baf7502d655313cae4aa4e /sys/gnu | |
parent | c6d530942182c9f5f1f8402bf432fe302e0e043f (diff) |
asm cleanup, binutils gas is more pickey about asm instruction word size.
Diffstat (limited to 'sys/gnu')
-rw-r--r-- | sys/gnu/arch/i386/fpemul/reg_div.s | 6 | ||||
-rw-r--r-- | sys/gnu/arch/i386/fpemul/reg_round.s | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/gnu/arch/i386/fpemul/reg_div.s b/sys/gnu/arch/i386/fpemul/reg_div.s index e33f37a9c08..599d462d994 100644 --- a/sys/gnu/arch/i386/fpemul/reg_div.s +++ b/sys/gnu/arch/i386/fpemul/reg_div.s @@ -1,5 +1,5 @@ .file "reg_div.S" -/* $OpenBSD: reg_div.s,v 1.2 2002/10/12 07:12:59 pvalchev Exp $ */ +/* $OpenBSD: reg_div.s,v 1.3 2003/04/17 03:45:30 drahn Exp $ */ /* * reg_div.S * @@ -245,8 +245,8 @@ L_arg2_not_inf: #endif DENORM_OPERAND L_copy_arg1: - movb TAG(%esi),%ax - movb %ax,TAG(%edi) + movb TAG(%esi),%al + movb %al,TAG(%edi) movl EXP(%esi),%eax movl %eax,EXP(%edi) movl SIGL(%esi),%eax diff --git a/sys/gnu/arch/i386/fpemul/reg_round.s b/sys/gnu/arch/i386/fpemul/reg_round.s index 51a03051b85..0973ef614bb 100644 --- a/sys/gnu/arch/i386/fpemul/reg_round.s +++ b/sys/gnu/arch/i386/fpemul/reg_round.s @@ -1,5 +1,5 @@ .file "reg_round.S" -/* $OpenBSD: reg_round.s,v 1.2 2002/10/12 07:12:59 pvalchev Exp $ */ +/* $OpenBSD: reg_round.s,v 1.3 2003/04/17 03:45:30 drahn Exp $ */ /* * reg_round.S * @@ -399,7 +399,7 @@ LRound_nearest_64: jne LDo_64_round_up /* Now test for round-to-even */ - testb $1,%ebx + testb $1,%bl jz LCheck_truncate_64 LDo_64_round_up: |