diff options
| author | Larry Doolittle <ldoolitt@recycle.lbl.gov> | 2017-05-07 21:38:09 -0700 |
|---|---|---|
| committer | Larry Doolittle <ldoolitt@recycle.lbl.gov> | 2017-05-07 21:38:09 -0700 |
| commit | 19d8b8a17383863d45823e37f20a94cc1d55c3a6 (patch) | |
| tree | 5862658773da49c99ae77dfa0e578b3b519ed282 /arm-gen.c | |
| parent | 1b9935cf36e83b389cb26008df93a654af3f2074 (diff) | |
| download | tinycc-19d8b8a17383863d45823e37f20a94cc1d55c3a6.tar.gz tinycc-19d8b8a17383863d45823e37f20a94cc1d55c3a6.tar.bz2 | |
Spelling fixes in C comments only
Diffstat (limited to 'arm-gen.c')
| -rw-r--r-- | arm-gen.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -813,7 +813,7 @@ struct avail_regs { and the parameter is a single float. avregs: opaque structure to keep track of available VFP co-processor regs - align: alignment contraints for the param, as returned by type_size() + align: alignment constraints for the param, as returned by type_size() size: size of the parameter, as returned by type_size() */ int assign_vfpreg(struct avail_regs *avregs, int align, int size) { @@ -823,7 +823,7 @@ int assign_vfpreg(struct avail_regs *avregs, int align, int size) return -1; if (align >> 3) { /* double alignment */ first_reg = avregs->first_free_reg; - /* alignment contraint not respected so use next reg and record hole */ + /* alignment constraint not respected so use next reg and record hole */ if (first_reg & 1) avregs->avail[avregs->last_hole++] = first_reg++; } else { /* no special alignment (float or array of float) */ @@ -1653,7 +1653,7 @@ static int is_zero(int i) } /* 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 */ void gen_opf(int op) { uint32_t x; |
