aboutsummaryrefslogtreecommitdiff
path: root/x86_64-gen.c
diff options
context:
space:
mode:
authorLarry Doolittle <ldoolitt@recycle.lbl.gov>2017-05-07 21:38:09 -0700
committerLarry Doolittle <ldoolitt@recycle.lbl.gov>2017-05-07 21:38:09 -0700
commit19d8b8a17383863d45823e37f20a94cc1d55c3a6 (patch)
tree5862658773da49c99ae77dfa0e578b3b519ed282 /x86_64-gen.c
parent1b9935cf36e83b389cb26008df93a654af3f2074 (diff)
downloadtinycc-19d8b8a17383863d45823e37f20a94cc1d55c3a6.tar.gz
tinycc-19d8b8a17383863d45823e37f20a94cc1d55c3a6.tar.bz2
Spelling fixes in C comments only
Diffstat (limited to 'x86_64-gen.c')
-rw-r--r--x86_64-gen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/x86_64-gen.c b/x86_64-gen.c
index 0c0968c..38c488d 100644
--- a/x86_64-gen.c
+++ b/x86_64-gen.c
@@ -316,14 +316,14 @@ static void gen_modrm_impl(int op_reg, int r, Sym *sym, int c, int is_got)
}
}
-/* generate a modrm reference. 'op_reg' contains the addtionnal 3
+/* generate a modrm reference. 'op_reg' contains the addtional 3
opcode bits */
static void gen_modrm(int op_reg, int r, Sym *sym, int c)
{
gen_modrm_impl(op_reg, r, sym, c, 0);
}
-/* generate a modrm reference. 'op_reg' contains the addtionnal 3
+/* generate a modrm reference. 'op_reg' contains the addtional 3
opcode bits */
static void gen_modrm64(int opcode, int op_reg, int r, Sym *sym, int c)
{
@@ -1923,7 +1923,7 @@ void gen_opl(int op)
}
/* generate a floating point operation 'v = t1 op t2' instruction. The
- two operands are guaranted to have the same floating point type */
+ two operands are guaranteed to have the same floating point type */
/* XXX: need to use ST1 too */
void gen_opf(int op)
{