diff options
| author | Toma Tabacu <toma.tabacu@imgtec.com> | 2015-06-09 13:33:26 +0000 |
|---|---|---|
| committer | Toma Tabacu <toma.tabacu@imgtec.com> | 2015-06-09 13:33:26 +0000 |
| commit | 465acfd13c5d009a90b916557ce204a4758bff74 (patch) | |
| tree | b557725b6a23d7487ab824fd7bc8a654da400133 /llvm/test | |
| parent | dee894f6bb0b6a16b00d834b40946e8592c2b54e (diff) | |
| download | bcm5719-llvm-465acfd13c5d009a90b916557ce204a4758bff74.tar.gz bcm5719-llvm-465acfd13c5d009a90b916557ce204a4758bff74.zip | |
Recommit "[mips] [IAS] Restore STI.FeatureBits in .set pop." (r239144).
Specified the llvm namespace for the 2 calls to make_unique() which caused
compilation errors in Visual Studio 2013.
llvm-svn: 239405
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/MC/Mips/set-push-pop-directives-bad.s | 9 | ||||
| -rw-r--r-- | llvm/test/MC/Mips/set-push-pop-directives.s | 17 |
2 files changed, 26 insertions, 0 deletions
diff --git a/llvm/test/MC/Mips/set-push-pop-directives-bad.s b/llvm/test/MC/Mips/set-push-pop-directives-bad.s index 53d8b230815..8994eea1c8b 100644 --- a/llvm/test/MC/Mips/set-push-pop-directives-bad.s +++ b/llvm/test/MC/Mips/set-push-pop-directives-bad.s @@ -12,3 +12,12 @@ # CHECK: :[[@LINE-1]]:19: error: unexpected token, expected end of statement .set pop bar # CHECK: :[[@LINE-1]]:18: error: unexpected token, expected end of statement + + .set hardfloat + .set push + .set softfloat + add.s $f2, $f2, $f2 +# CHECK: :[[@LINE-1]]:9: error: instruction requires a CPU feature not currently enabled + .set pop + add.s $f2, $f2, $f2 +# CHECK-NOT: :[[@LINE-1]]:9: error: instruction requires a CPU feature not currently enabled diff --git a/llvm/test/MC/Mips/set-push-pop-directives.s b/llvm/test/MC/Mips/set-push-pop-directives.s index 5f55b7c7e4d..3a0b2aecc58 100644 --- a/llvm/test/MC/Mips/set-push-pop-directives.s +++ b/llvm/test/MC/Mips/set-push-pop-directives.s @@ -51,3 +51,20 @@ # CHECK: b 1336 # CHECK: nop # CHECK: addvi.b $w15, $w13, 18 + + .set push + .set dsp + lbux $7, $10($11) + .set pop + + .set push + .set dsp + lbux $7, $10($11) +# CHECK-NOT: :[[@LINE-1]]:5: error: instruction requires a CPU feature not currently enabled + .set pop + + .set push + .set dsp + lbux $7, $10($11) +# CHECK-NOT: :[[@LINE-1]]:5: error: instruction requires a CPU feature not currently enabled + .set pop |

