diff options
| author | Dave Cheney <dave@cheney.net> | 2015-08-31 10:14:00 +1000 |
|---|---|---|
| committer | Dave Cheney <dave@cheney.net> | 2015-08-31 21:03:57 +0000 |
| commit | 8d478e845cf56045fe805b51ddabf74f93f0290a (patch) | |
| tree | c456b2559b6ff57118cd6bebc7f9b67eb22f7995 /src/cmd/asm | |
| parent | a088f1b76ccb931eb72e4ef54c1f59053996478c (diff) | |
| download | go-8d478e845cf56045fe805b51ddabf74f93f0290a.tar.xz | |
cmd/internal/obj/arm: remove CASE and BCASE
Update #10994
CASE and BCASE were used by 5c in switch statements, cmd/compile
does not use them.
Change-Id: I7a578c461b52b94690e35460926849b28971b770
Reviewed-on: https://go-review.googlesource.com/14009
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Minux Ma <minux@golang.org>
Run-TryBot: Minux Ma <minux@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/cmd/asm')
| -rw-r--r-- | src/cmd/asm/internal/asm/testdata/arm.out | 39 | ||||
| -rw-r--r-- | src/cmd/asm/internal/asm/testdata/arm.s | 8 |
2 files changed, 19 insertions, 28 deletions
diff --git a/src/cmd/asm/internal/asm/testdata/arm.out b/src/cmd/asm/internal/asm/testdata/arm.out index 7501db3e5a..ffd520d729 100644 --- a/src/cmd/asm/internal/asm/testdata/arm.out +++ b/src/cmd/asm/internal/asm/testdata/arm.out @@ -37,23 +37,22 @@ 154 00037 (testdata/arm.s:154) STREX.S (R2), R1, R3 160 00038 (testdata/arm.s:160) STREX.S (R2), R1, R1 166 00039 (testdata/arm.s:166) STREX.S (R2), R3, R3 -174 00040 (testdata/arm.s:174) CASE.S R1 -183 00041 (testdata/arm.s:183) WORD $1234 -192 00042 (testdata/arm.s:192) ABSF.S F1, F2 -198 00043 (testdata/arm.s:198) ADDD.S F1, F2 -199 00044 (testdata/arm.s:199) ADDD.S $(0.5), F2 -205 00045 (testdata/arm.s:205) ADDD.S F1, F2, F3 -206 00046 (testdata/arm.s:206) ADDD.S $(0.5), F2, F3 -212 00047 (testdata/arm.s:212) CMPD.S F1, F2 -236 00048 (testdata/arm.s:236) MRC $8301712627 -237 00049 (testdata/arm.s:237) MRC $8300664051 -246 00050 (testdata/arm.s:246) MULL R1, R2, (R3, R4) -258 00051 (testdata/arm.s:258) MULAWT R1, R2, R3, R4 -266 00052 (testdata/arm.s:266) PLD (R1) -267 00053 (testdata/arm.s:267) PLD 4(R1) -276 00054 (testdata/arm.s:276) RET -280 00055 (testdata/arm.s:280) JMP foo(SB) -281 00056 (testdata/arm.s:281) CALL foo(SB) -282 00057 (testdata/arm.s:282) JMP foo(SB) -283 00058 (testdata/arm.s:283) CALL foo(SB) -292 00059 (testdata/arm.s:292) END +175 00040 (testdata/arm.s:175) WORD $1234 +184 00041 (testdata/arm.s:184) ABSF.S F1, F2 +190 00042 (testdata/arm.s:190) ADDD.S F1, F2 +191 00043 (testdata/arm.s:191) ADDD.S $(0.5), F2 +197 00044 (testdata/arm.s:197) ADDD.S F1, F2, F3 +198 00045 (testdata/arm.s:198) ADDD.S $(0.5), F2, F3 +204 00046 (testdata/arm.s:204) CMPD.S F1, F2 +228 00047 (testdata/arm.s:228) MRC $8301712627 +229 00048 (testdata/arm.s:229) MRC $8300664051 +238 00049 (testdata/arm.s:238) MULL R1, R2, (R3, R4) +250 00050 (testdata/arm.s:250) MULAWT R1, R2, R3, R4 +258 00051 (testdata/arm.s:258) PLD (R1) +259 00052 (testdata/arm.s:259) PLD 4(R1) +268 00053 (testdata/arm.s:268) RET +272 00054 (testdata/arm.s:272) JMP foo(SB) +273 00055 (testdata/arm.s:273) CALL foo(SB) +274 00056 (testdata/arm.s:274) JMP foo(SB) +275 00057 (testdata/arm.s:275) CALL foo(SB) +284 00058 (testdata/arm.s:284) END diff --git a/src/cmd/asm/internal/asm/testdata/arm.s b/src/cmd/asm/internal/asm/testdata/arm.s index b8bdfb201a..93557923b0 100644 --- a/src/cmd/asm/internal/asm/testdata/arm.s +++ b/src/cmd/asm/internal/asm/testdata/arm.s @@ -165,14 +165,6 @@ TEXT foo(SB), 0, $0 // } STREX.S (R2), R3 -// CASE -// -// LTYPED cond reg -// { -// outcode($1, $2, &$3, 0, &nullgen); -// } - CASE.S R1 - // // word // |
