aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Ouellette <[email protected]>2022-02-17 18:09:26 -0500
committerQuentin Carbonneaux <[email protected]>2022-02-24 13:11:20 +0100
commite04a2cd281ce34d985933489b7a9562658a5b07f (patch)
tree66e6340a38842c7662381ab987dc5f6473ce156e /doc
parente7c13e8d0191d9e8987af42a8561fceba0f6c2f1 (diff)
doc: minor fixes
Diffstat (limited to 'doc')
-rw-r--r--doc/il.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/il.txt b/doc/il.txt
index 0e05283..635357c 100644
--- a/doc/il.txt
+++ b/doc/il.txt
@@ -751,7 +751,7 @@ Extending the precision of a temporary is done using the
`ext` family of instructions. Because QBE types do not
precise the signedness (like in LLVM), extension instructions
exist to sign-extend and zero-extend a value. For example,
-`extsb` takes a word argument and sign-extend the 8
+`extsb` takes a word argument and sign-extends the 8
least-significant bits to a full word or long, depending on
the return type.
@@ -763,7 +763,7 @@ zero.
Converting between signed integers and floating points is done
using `stosi` (single to signed integer), `stoui` (single to
-unsigned integer`, `dtosi` (double to signed integer), `dtoui`
+unsigned integer, `dtosi` (double to signed integer), `dtoui`
(double to unsigned integer), `swtof` (signed word to float),
`uwtof` (unsigned word to float), `sltof` (signed long to
float) and `ultof` (unsigned long to float).