Spelling (#41)
This PR corrects misspellings identified by the check-spelling action.
The misspellings have been reported at jsoref@72c5ec8#commitcomment-78705631
* spelling: achieved
* spelling: activated
* spelling: address
* spelling: anonymous
* spelling: architecture
* spelling: are_consecutive
* spelling: assemble
* spelling: becoming
* spelling: been
* spelling: clobbered
* spelling: coercion
* spelling: condition
* spelling: convenience
* spelling: correctly
* spelling: correspondence
* spelling: corresponding
* spelling: depend
* spelling: dictionary
* spelling: emitted
* spelling: everything
* spelling: excluding
* spelling: explicitly
* spelling: implementation
* spelling: implicitly
* spelling: included
* spelling: indices
* spelling: instruction
* spelling: instructions
* spelling: labels
* spelling: locations
* spelling: maximum
* spelling: mechanisms
* spelling: modifiers
* spelling: multiple
* spelling: omitted
* spelling: one
* spelling: overridden
* spelling: overwrite
* spelling: performed
* spelling: predicate
* spelling: registers
* spelling: reproducible
* spelling: separate
* spelling: shift
* spelling: substitution
* spelling: temporary
* spelling: test_sve
* spelling: the
* spelling: threshold
* spelling: unconditional
* spelling: usually
* spelling: variables
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
diff --git a/tools/util.py b/tools/util.py
index 9152584..b3f4489 100644
--- a/tools/util.py
+++ b/tools/util.py
@@ -77,10 +77,10 @@
return os.path.relpath(os.path.realpath(path), start)
# Query the compiler about its preprocessor directives and return all of them as
-# a dictionnary.
+# a dictionary.
def GetCompilerDirectives(env):
args = [env['compiler']]
- # Pass the CXXFLAGS varables to the compile, in case we've used "-m32" to
+ # Pass the CXXFLAGS variables to the compile, in case we've used "-m32" to
# compile for i386.
if env['CXXFLAGS']:
args.append(str(env['CXXFLAGS']))
@@ -116,7 +116,7 @@
elif "__aarch64__" in directives:
return "aarch64"
else:
- raise Exception("Unsupported archtecture")
+ raise Exception("Unsupported architecture")
# Class representing the compiler toolchain and version.
class CompilerInformation(object):