| Index: test/cctest/test-assembler-mips.cc
|
| diff --git a/test/cctest/test-assembler-mips.cc b/test/cctest/test-assembler-mips.cc
|
| index 065569dd10800f079dd8473c68b3d34cdb0b06db..a6c76f03ed1340bdd30e7e2db0cf2245163b7caa 100644
|
| --- a/test/cctest/test-assembler-mips.cc
|
| +++ b/test/cctest/test-assembler-mips.cc
|
| @@ -774,7 +774,7 @@ TEST(MIPS10) {
|
| Assembler assm(Isolate::Current(), NULL, 0);
|
| Label L, C;
|
|
|
| - if (CpuFeatures::IsSupported(FPU)) {
|
| + if (CpuFeatures::IsSupported(FPU) && mips32r2) {
|
| CpuFeatures::Scope scope(FPU);
|
|
|
| // Load all structure elements to registers.
|
| @@ -1259,4 +1259,20 @@ TEST(MIPS14) {
|
| }
|
| }
|
|
|
| +
|
| +TEST(MIPS15) {
|
| + // Test chaining of label usages within instructions (issue 1644).
|
| + InitializeVM();
|
| + v8::HandleScope scope;
|
| + Assembler assm(Isolate::Current(), NULL, 0);
|
| +
|
| + Label target;
|
| + __ beq(v0, v1, &target);
|
| + __ nop();
|
| + __ bne(v0, v1, &target);
|
| + __ nop();
|
| + __ bind(&target);
|
| + __ nop();
|
| +}
|
| +
|
| #undef __
|
|
|