Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1027)

Unified Diff: test/cctest/test-assembler-arm.cc

Issue 2322923002: [arm] Fix arm assembler test 4. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-assembler-arm.cc
diff --git a/test/cctest/test-assembler-arm.cc b/test/cctest/test-assembler-arm.cc
index 6f4124e4c5dde589871dc892593a39ff74daf669..c9c31ba626cecd2dc5761587bbcc8c63a55ee0fd 100644
--- a/test/cctest/test-assembler-arm.cc
+++ b/test/cctest/test-assembler-arm.cc
@@ -267,12 +267,12 @@ TEST(4) {
// Load t.x and t.y, switch values, and store back to the struct.
__ vldr(s0, r4, offsetof(T, x));
- __ vldr(s31, r4, offsetof(T, y));
- __ vmov(s16, s0);
- __ vmov(s0, s31);
- __ vmov(s31, s16);
+ __ vldr(s1, r4, offsetof(T, y));
+ __ vmov(s2, s0);
+ __ vmov(s0, s1);
+ __ vmov(s1, s2);
__ vstr(s0, r4, offsetof(T, x));
- __ vstr(s31, r4, offsetof(T, y));
+ __ vstr(s1, r4, offsetof(T, y));
// Move a literal into a register that can be encoded in the instruction.
__ vmov(d4, 1.0);
@@ -285,13 +285,13 @@ TEST(4) {
// Convert from floating point to integer.
__ vmov(d4, 2.0);
- __ vcvt_s32_f64(s31, d4);
- __ vstr(s31, r4, offsetof(T, i));
+ __ vcvt_s32_f64(s1, d4);
+ __ vstr(s1, r4, offsetof(T, i));
// Convert from integer to floating point.
__ mov(lr, Operand(42));
- __ vmov(s31, lr);
- __ vcvt_f64_s32(d4, s31);
+ __ vmov(s1, lr);
+ __ vcvt_f64_s32(d4, s1);
__ vstr(d4, r4, offsetof(T, f));
// Convert from fixed point to floating point.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698