From bb851e58c217873cb0d812398cd512563a3bf359 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Mon, 22 May 2000 16:58:44 +0000 Subject: [PATCH] If we are going to do a byte compare, the operands should be byte-sized. In this case, I believe we want to compare against the 32-bit operand so use a full-world compare operation. --- sys/gnu/i386/fpemul/reg_round.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/gnu/i386/fpemul/reg_round.s b/sys/gnu/i386/fpemul/reg_round.s index a01422f31b6..f12e055200f 100644 --- a/sys/gnu/i386/fpemul/reg_round.s +++ b/sys/gnu/i386/fpemul/reg_round.s @@ -385,7 +385,7 @@ LRound_nearest_64: jne LDo_64_round_up /* Now test for round-to-even */ - testb $1,%ebx + test $1,%ebx jz LCheck_truncate_64 LDo_64_round_up: