@@ -503,7 +503,7 @@ static const char *op_str(enum op op)
503503
504504/* Can register with range [x.a, x.b] *EVER* satisfy
505505 * OP (<, <=, >, >=, ==, !=) relation to
506- * a regsiter with range [y.a, y.b]
506+ * a register with range [y.a, y.b]
507507 * _in *num_t* domain_
508508 */
509509static bool range_canbe_op (enum num_t t , struct range x , struct range y , enum op op )
@@ -532,7 +532,7 @@ static bool range_canbe_op(enum num_t t, struct range x, struct range y, enum op
532532
533533/* Does register with range [x.a, x.b] *ALWAYS* satisfy
534534 * OP (<, <=, >, >=, ==, !=) relation to
535- * a regsiter with range [y.a, y.b]
535+ * a register with range [y.a, y.b]
536536 * _in *num_t* domain_
537537 */
538538static bool range_always_op (enum num_t t , struct range x , struct range y , enum op op )
@@ -543,7 +543,7 @@ static bool range_always_op(enum num_t t, struct range x, struct range y, enum o
543543
544544/* Does register with range [x.a, x.b] *NEVER* satisfy
545545 * OP (<, <=, >, >=, ==, !=) relation to
546- * a regsiter with range [y.a, y.b]
546+ * a register with range [y.a, y.b]
547547 * _in *num_t* domain_
548548 */
549549static bool range_never_op (enum num_t t , struct range x , struct range y , enum op op )
@@ -1018,11 +1018,11 @@ static int parse_reg_state(const char *s, struct reg_state *reg)
10181018 * - umin=%llu, if missing, assumed 0;
10191019 * - umax=%llu, if missing, assumed U64_MAX;
10201020 * - smin=%lld, if missing, assumed S64_MIN;
1021- * - smax=%lld, if missing, assummed S64_MAX;
1021+ * - smax=%lld, if missing, assumed S64_MAX;
10221022 * - umin32=%d, if missing, assumed 0;
10231023 * - umax32=%d, if missing, assumed U32_MAX;
10241024 * - smin32=%d, if missing, assumed S32_MIN;
1025- * - smax32=%d, if missing, assummed S32_MAX;
1025+ * - smax32=%d, if missing, assumed S32_MAX;
10261026 * - var_off=(%#llx; %#llx), tnum part, we don't care about it.
10271027 *
10281028 * If some of the values are equal, they will be grouped (but min/max
@@ -1884,7 +1884,7 @@ static void validate_gen_range_vs_range(enum num_t init_t, enum num_t cond_t)
18841884 * envvar is not set, this test is skipped during test_progs testing.
18851885 *
18861886 * We split this up into smaller subsets based on initialization and
1887- * conditiona numeric domains to get an easy parallelization with test_progs'
1887+ * conditional numeric domains to get an easy parallelization with test_progs'
18881888 * -j argument.
18891889 */
18901890
@@ -1938,7 +1938,7 @@ static u64 rand_u64()
19381938{
19391939 /* RAND_MAX is guaranteed to be at least 1<<15, but in practice it
19401940 * seems to be 1<<31, so we need to call it thrice to get full u64;
1941- * we'll use rougly equal split: 22 + 21 + 21 bits
1941+ * we'll use roughly equal split: 22 + 21 + 21 bits
19421942 */
19431943 return ((u64 )random () << 42 ) |
19441944 (((u64 )random () & RAND_21BIT_MASK ) << 21 ) |
0 commit comments