summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2022-10-26 22:09:37 +0000
committerandvar <andvar@NetBSD.org>2022-10-26 22:09:37 +0000
commit1259cea8b10c234289bbb40090d71c17bb65d19e (patch)
treeba714bcda47eb3bde2fca04d11f07022cc775b45 /common
parent0b81fa9e8035bc933da4f1e98308b77d544058ae (diff)
nix double n, i or g in "ing", in comments and documentation.
Diffstat (limited to 'common')
-rw-r--r--common/lib/libx86emu/x86emu.c8
1 files changed, 4 insertions, 4 deletions
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: */