From 61b9b2965cf26de412d68b234540ccb7dddea8f7 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sat, 3 Jun 2000 11:09:09 +0000 Subject: [PATCH] The change to do a longword compare in the previous commit just broke an apparently-intended micro-optimization ("testb" is equivalent and smaller) and added a style bug (the size suffix for "testl" was missing). linux-2.3.35 already had the correct fix. --- 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 f12e055200f..9acc602ccf4 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 */ - test $1,%ebx + testb $1,%bl jz LCheck_truncate_64 LDo_64_round_up: