Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
hw/mips: spelling fixes
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230823065335.1919380-7-mjt@tls.msk.ru>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
  • Loading branch information
Michael Tokarev authored and philmd committed Aug 31, 2023
1 parent 33a5230 commit d5c9fa4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion hw/mips/malta.c
Expand Up @@ -627,7 +627,7 @@ static void bl_setup_gt64120_jump_kernel(void **p, uint64_t run_addr,
10, 10, 11, 11 /* PIIX IRQRC[A:D] */
};

/* Bus endianess is always reversed */
/* Bus endianness is always reversed */
#if TARGET_BIG_ENDIAN
#define cpu_to_gt32(x) (x)
#else
Expand Down
2 changes: 1 addition & 1 deletion target/mips/cpu-defs.c.inc
Expand Up @@ -1045,7 +1045,7 @@ static void mvp_init(CPUMIPSState *env)
return;
}

/* MVPConf1 implemented, TLB sharable, no gating storage support,
/* MVPConf1 implemented, TLB shareable, no gating storage support,
programmable cache partitioning implemented, number of allocatable
and shareable TLB entries, MVP has allocatable TCs, 2 VPEs
implemented, 5 TCs implemented. */
Expand Down
12 changes: 6 additions & 6 deletions target/mips/tcg/msa_helper.c
Expand Up @@ -803,9 +803,9 @@ void helper_msa_bset_d(CPUMIPSState *env, uint32_t wd, uint32_t ws, uint32_t wt)
* | HADD_S.H | Vector Signed Horizontal Add (halfword) |
* | HADD_S.W | Vector Signed Horizontal Add (word) |
* | HADD_S.D | Vector Signed Horizontal Add (doubleword) |
* | HADD_U.H | Vector Unigned Horizontal Add (halfword) |
* | HADD_U.W | Vector Unigned Horizontal Add (word) |
* | HADD_U.D | Vector Unigned Horizontal Add (doubleword) |
* | HADD_U.H | Vector Unsigned Horizontal Add (halfword) |
* | HADD_U.W | Vector Unsigned Horizontal Add (word) |
* | HADD_U.D | Vector Unsigned Horizontal Add (doubleword) |
* +---------------+----------------------------------------------------------+
*/

Expand Down Expand Up @@ -3452,9 +3452,9 @@ void helper_msa_mulv_d(CPUMIPSState *env,
* | HSUB_S.H | Vector Signed Horizontal Subtract (halfword) |
* | HSUB_S.W | Vector Signed Horizontal Subtract (word) |
* | HSUB_S.D | Vector Signed Horizontal Subtract (doubleword) |
* | HSUB_U.H | Vector Unigned Horizontal Subtract (halfword) |
* | HSUB_U.W | Vector Unigned Horizontal Subtract (word) |
* | HSUB_U.D | Vector Unigned Horizontal Subtract (doubleword) |
* | HSUB_U.H | Vector Unsigned Horizontal Subtract (halfword) |
* | HSUB_U.W | Vector Unsigned Horizontal Subtract (word) |
* | HSUB_U.D | Vector Unsigned Horizontal Subtract (doubleword) |
* | SUBS_S.B | Vector Signed Saturated Subtract (of Signed) (byte) |
* | SUBS_S.H | Vector Signed Saturated Subtract (of Signed) (halfword) |
* | SUBS_S.W | Vector Signed Saturated Subtract (of Signed) (word) |
Expand Down
6 changes: 3 additions & 3 deletions target/mips/tcg/mxu_translate.c
Expand Up @@ -2977,14 +2977,14 @@ static void gen_mxu_Q8ADD(DisasContext *ctx)
* to another one in XRc, with zero extending
* to 16-bit and put results as packed 16-bit data
* into XRa and XRd.
* aptn2 manages action add or subract of pairs of data.
* aptn2 manages action add or subtract of pairs of data.
*
* Q8ACCE XRa, XRb, XRc, XRd, aptn2
* Add/subtract quadruple of 8-bit packed in XRb
* to another one in XRc, with zero extending
* to 16-bit and accumulate results as packed 16-bit data
* into XRa and XRd.
* aptn2 manages action add or subract of pairs of data.
* aptn2 manages action add or subtract of pairs of data.
*/
static void gen_mxu_q8adde(DisasContext *ctx, bool accumulate)
{
Expand Down Expand Up @@ -4056,7 +4056,7 @@ static void gen_mxu_s32sfl(DisasContext *ctx)

/*
* Q8SAD XRa, XRd, XRb, XRc
* Typical SAD opration for motion estimation.
* Typical SAD operation for motion estimation.
*/
static void gen_mxu_q8sad(DisasContext *ctx)
{
Expand Down

0 comments on commit d5c9fa4

Please sign in to comment.