From 7e8902eccc555ce07767670e0ae284675ba894f9 Mon Sep 17 00:00:00 2001 From: "Emilio G. Cota" Date: Tue, 22 May 2018 00:29:39 -0400 Subject: [PATCH] tcg: fix s/compliment/complement/ typos Backports commit 1d349821551c2da4dfefe36c6ac17319f33ebbd5 from qemu --- qemu/target/i386/translate.c | 2 +- qemu/target/m68k/translate.c | 2 +- qemu/tcg/README | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qemu/target/i386/translate.c b/qemu/target/i386/translate.c index 3a30d3ce..7b99e63d 100644 --- a/qemu/target/i386/translate.c +++ b/qemu/target/i386/translate.c @@ -90,7 +90,7 @@ typedef struct DisasContext { int rex_x, rex_b; #endif int vex_l; /* vex vector length */ - int vex_v; /* vex vvvv register, without 1's compliment. */ + int vex_v; /* vex vvvv register, without 1's complement. */ int ss32; /* 32 bit stack segment */ CCOp cc_op; /* current CC operation */ CCOp last_cc_op; /* Unicorn: last CC operation. Save this to see if cc_op has changed */ diff --git a/qemu/target/m68k/translate.c b/qemu/target/m68k/translate.c index 16c21113..09f0ee5e 100644 --- a/qemu/target/m68k/translate.c +++ b/qemu/target/m68k/translate.c @@ -4171,7 +4171,7 @@ DISAS_INSN(bfext_reg) TCGv shift; /* In general, we're going to rotate the field so that it's at the - top of the word and then right-shift by the compliment of the + top of the word and then right-shift by the complement of the width to extend the field. */ if (ext & 0x20) { /* Variable width. */ diff --git a/qemu/tcg/README b/qemu/tcg/README index ff3f231c..7eebcfff 100644 --- a/qemu/tcg/README +++ b/qemu/tcg/README @@ -556,7 +556,7 @@ E.g. VECL=1 -> 64 << 1 -> v128, and VECE=2 -> 1 << 2 -> i32. * orc_vec v0, v1, v2 * not_vec v0, v1 - Similarly, logical operations with and without compliment. + Similarly, logical operations with and without complement. Note that VECE is unused. * shli_vec v0, v1, i2