summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/gnu/arch/i386/fpemul/reg_div.s6
-rw-r--r--sys/gnu/arch/i386/fpemul/reg_round.s4
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: