From 1259cea8b10c234289bbb40090d71c17bb65d19e Mon Sep 17 00:00:00 2001 From: andvar Date: Wed, 26 Oct 2022 22:09:37 +0000 Subject: nix double n, i or g in "ing", in comments and documentation. --- common/lib/libx86emu/x86emu.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'common') diff --git a/common/lib/libx86emu/x86emu.c b/common/lib/libx86emu/x86emu.c index 2f14750b615..f63fdcb3d49 100644 --- a/common/lib/libx86emu/x86emu.c +++ b/common/lib/libx86emu/x86emu.c @@ -1,5 +1,5 @@ -/* $NetBSD: x86emu.c,v 1.12 2021/12/05 04:24:08 msaitoh Exp $ */ +/* $NetBSD: x86emu.c,v 1.13 2022/10/26 22:09:37 andvar Exp $ */ /**************************************************************************** * @@ -6408,7 +6408,7 @@ neg_byte(struct X86EMU *emu, uint8_t s) CONDITIONAL_SET_FLAG(res & 0x80, F_SF); CONDITIONAL_SET_FLAG(PARITY(res), F_PF); /* calculate the borrow chain --- modified such that d=0. - * substitutiing d=0 into bc= res&(~d|s)|(~d&s); (the one used for + * substituting d=0 into bc= res&(~d|s)|(~d&s); (the one used for * sub) and simplifying, since ~d=0xff..., ~d|s == 0xffff..., and * res&0xfff... == res. Similarly ~d&s == s. So the simplified * result is: */ @@ -6434,7 +6434,7 @@ neg_word(struct X86EMU *emu, uint16_t s) CONDITIONAL_SET_FLAG(PARITY(res & 0xff), F_PF); /* calculate the borrow chain --- modified such that d=0. - * substitutiing d=0 into bc= res&(~d|s)|(~d&s); (the one used for + * substituting d=0 into bc= res&(~d|s)|(~d&s); (the one used for * sub) and simplifying, since ~d=0xff..., ~d|s == 0xffff..., and * res&0xfff... == res. Similarly ~d&s == s. So the simplified * result is: */ @@ -6460,7 +6460,7 @@ neg_long(struct X86EMU *emu, uint32_t s) CONDITIONAL_SET_FLAG(PARITY(res & 0xff), F_PF); /* calculate the borrow chain --- modified such that d=0. - * substitutiing d=0 into bc= res&(~d|s)|(~d&s); (the one used for + * substituting d=0 into bc= res&(~d|s)|(~d&s); (the one used for * sub) and simplifying, since ~d=0xff..., ~d|s == 0xffff..., and * res&0xfff... == res. Similarly ~d&s == s. So the simplified * result is: */ -- cgit