Index: test/cctest/test-disasm-arm.cc |
diff --git a/test/cctest/test-disasm-arm.cc b/test/cctest/test-disasm-arm.cc |
index 20753b914db131e39fa624fda88c32675bb9c597..dcadb0d6c0f54a7ea5998eb33e086f530281bd6b 100644 |
--- a/test/cctest/test-disasm-arm.cc |
+++ b/test/cctest/test-disasm-arm.cc |
@@ -362,6 +362,7 @@ TEST(Type3) { |
SET_UP(); |
if (CpuFeatures::IsSupported(ARMv7)) { |
+ CpuFeatureScope scope(&assm, ARMv7); |
COMPARE(ubfx(r0, r1, 5, 10), |
"e7e902d1 ubfx r0, r1, #5, #10"); |
COMPARE(ubfx(r1, r0, 5, 10), |
@@ -437,6 +438,9 @@ TEST(Type3) { |
COMPARE(uxth(r3, r4, 8), "e6ff3474 uxth r3, r4, ror #8"); |
COMPARE(uxtah(r3, r4, r5, 24), "e6f43c75 uxtah r3, r4, r5, ror #24"); |
+ |
+ COMPARE(rbit(r1, r2), "e6ff1f32 rbit r1, r2"); |
+ COMPARE(rbit(r10, ip), "e6ffaf3c rbit r10, ip"); |
} |
COMPARE(smmla(r0, r1, r2, r3), "e7503211 smmla r0, r1, r2, r3"); |