Index: test/cctest/test-assembler-arm.cc |
diff --git a/test/cctest/test-assembler-arm.cc b/test/cctest/test-assembler-arm.cc |
index c79e74019ec0eeacaed2b3c219310777eda97de4..cb677b3bb6b99c43082b728ca7a0055e0f9d175c 100644 |
--- a/test/cctest/test-assembler-arm.cc |
+++ b/test/cctest/test-assembler-arm.cc |
@@ -1049,6 +1049,8 @@ TEST(13) { |
double i; |
double j; |
double k; |
+ uint32_t low; |
+ uint32_t high; |
} T; |
T t; |
@@ -1113,6 +1115,11 @@ TEST(13) { |
__ vmov(d22, VmovIndexHi, r2); |
__ add(r4, r0, Operand(OFFSET_OF(T, i))); |
__ vstm(ia_w, r4, d20, d22); |
+ // Move d22 into low and high. |
+ __ vmov(r4, VmovIndexLo, d22); |
+ __ str(r4, MemOperand(r0, OFFSET_OF(T, low))); |
+ __ vmov(r4, VmovIndexHi, d22); |
+ __ str(r4, MemOperand(r0, OFFSET_OF(T, high))); |
__ ldm(ia_w, sp, r4.bit() | pc.bit()); |
@@ -1144,6 +1151,8 @@ TEST(13) { |
CHECK_EQ(14.7610017472335499, t.i); |
CHECK_EQ(16.0, t.j); |
CHECK_EQ(73.8818412254460241, t.k); |
+ CHECK_EQ(372106121, t.low); |
+ CHECK_EQ(1079146608, t.high); |
} |
} |