summaryrefslogtreecommitdiffstats
path: root/sys/gnu/i386
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-06-03 11:09:09 +0000
committerbde <bde@FreeBSD.org>2000-06-03 11:09:09 +0000
commited0e424f9ce8986c95a337db8d5ec8c35311bd54 (patch)
tree767dae253d6c22b140dbc23d6860f8f1bfdf4812 /sys/gnu/i386
parent14693d92e5ee7e2ab4290ea618d5943e76dac914 (diff)
downloadFreeBSD-src-ed0e424f9ce8986c95a337db8d5ec8c35311bd54.zip
FreeBSD-src-ed0e424f9ce8986c95a337db8d5ec8c35311bd54.tar.gz
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.
Diffstat (limited to 'sys/gnu/i386')
-rw-r--r--sys/gnu/i386/fpemul/reg_round.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/gnu/i386/fpemul/reg_round.s b/sys/gnu/i386/fpemul/reg_round.s
index f12e055..9acc602 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:
OpenPOWER on IntegriCloud