diff options
| author | Russ Cox <rsc@golang.org> | 2010-10-13 15:19:53 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2010-10-13 15:19:53 -0400 |
| commit | d42903119b1d9540b4d8546b7f19bc93d29cadf8 (patch) | |
| tree | 686ef37919c7fef0d3fa264915130e04133247d7 /src/cmd/5l/softfloat.c | |
| parent | dd8afb800b64aeab5054706cf081fe506609138a (diff) | |
| download | go-d42903119b1d9540b4d8546b7f19bc93d29cadf8.tar.xz | |
5l, 6l, 8l: indent, outdent
This is entirely adding and removing tabs.
It looks weird but will make the diffs for the
next change easier to read.
R=ken2
CC=golang-dev
https://golang.org/cl/2490041
Diffstat (limited to 'src/cmd/5l/softfloat.c')
| -rw-r--r-- | src/cmd/5l/softfloat.c | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/src/cmd/5l/softfloat.c b/src/cmd/5l/softfloat.c index 82874ee1cf..1f0584eede 100644 --- a/src/cmd/5l/softfloat.c +++ b/src/cmd/5l/softfloat.c @@ -27,45 +27,45 @@ softfloat() wasfloat = 0; p = firstp; for(p = firstp; p != P; p = p->link) { - switch(p->as) { - case AMOVWD: - case AMOVWF: - case AMOVDW: - case AMOVFW: - case AMOVFD: - case AMOVDF: - case AMOVF: - case AMOVD: - case ACMPF: - case ACMPD: - case AADDF: - case AADDD: - case ASUBF: - case ASUBD: - case AMULF: - case AMULD: - case ADIVF: - case ADIVD: - if (psfloat == P) - diag("floats used with _sfloat not defined"); - if (!wasfloat) { - next = prg(); - *next = *p; - - // BL _sfloat(SB) - *p = zprg; - p->link = next; - p->as = ABL; - p->to.type = D_BRANCH; - p->to.sym = symsfloat; - p->cond = psfloat; - - p = next; - wasfloat = 1; + switch(p->as) { + case AMOVWD: + case AMOVWF: + case AMOVDW: + case AMOVFW: + case AMOVFD: + case AMOVDF: + case AMOVF: + case AMOVD: + case ACMPF: + case ACMPD: + case AADDF: + case AADDD: + case ASUBF: + case ASUBD: + case AMULF: + case AMULD: + case ADIVF: + case ADIVD: + if (psfloat == P) + diag("floats used with _sfloat not defined"); + if (!wasfloat) { + next = prg(); + *next = *p; + + // BL _sfloat(SB) + *p = zprg; + p->link = next; + p->as = ABL; + p->to.type = D_BRANCH; + p->to.sym = symsfloat; + p->cond = psfloat; + + p = next; + wasfloat = 1; + } + break; + default: + wasfloat = 0; } - break; - default: - wasfloat = 0; - } } } |
