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

Side by Side Diff: test/compiler-unittests/arm64/instruction-selector-arm64-unittest.cc

Issue 500343002: [turbofan] Add backend support for load/store float32 values. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <list> 5 #include <list>
6 6
7 #include "test/compiler-unittests/instruction-selector-unittest.h" 7 #include "test/compiler-unittests/instruction-selector-unittest.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 323
324 static const MemoryAccess kMemoryAccesses[] = { 324 static const MemoryAccess kMemoryAccesses[] = {
325 {kMachInt8, kArm64Ldrsb, kArm64Strb}, 325 {kMachInt8, kArm64Ldrsb, kArm64Strb},
326 {kMachUint8, kArm64Ldrb, kArm64Strb}, 326 {kMachUint8, kArm64Ldrb, kArm64Strb},
327 {kMachInt16, kArm64Ldrsh, kArm64Strh}, 327 {kMachInt16, kArm64Ldrsh, kArm64Strh},
328 {kMachUint16, kArm64Ldrh, kArm64Strh}, 328 {kMachUint16, kArm64Ldrh, kArm64Strh},
329 {kMachInt32, kArm64LdrW, kArm64StrW}, 329 {kMachInt32, kArm64LdrW, kArm64StrW},
330 {kMachUint32, kArm64LdrW, kArm64StrW}, 330 {kMachUint32, kArm64LdrW, kArm64StrW},
331 {kMachInt64, kArm64Ldr, kArm64Str}, 331 {kMachInt64, kArm64Ldr, kArm64Str},
332 {kMachUint64, kArm64Ldr, kArm64Str}, 332 {kMachUint64, kArm64Ldr, kArm64Str},
333 {kMachFloat32, kArm64LdrS, kArm64StrS},
333 {kMachFloat64, kArm64LdrD, kArm64StrD}}; 334 {kMachFloat64, kArm64LdrD, kArm64StrD}};
334 335
335 336
336 typedef InstructionSelectorTestWithParam<MemoryAccess> 337 typedef InstructionSelectorTestWithParam<MemoryAccess>
337 InstructionSelectorMemoryAccessTest; 338 InstructionSelectorMemoryAccessTest;
338 339
339 340
340 TEST_P(InstructionSelectorMemoryAccessTest, LoadWithParameters) { 341 TEST_P(InstructionSelectorMemoryAccessTest, LoadWithParameters) {
341 const MemoryAccess memacc = GetParam(); 342 const MemoryAccess memacc = GetParam();
342 StreamBuilder m(this, memacc.type, kMachPtr, kMachInt32); 343 StreamBuilder m(this, memacc.type, kMachPtr, kMachInt32);
(...skipping 21 matching lines...) Expand all
364 } 365 }
365 366
366 367
367 INSTANTIATE_TEST_CASE_P(InstructionSelectorTest, 368 INSTANTIATE_TEST_CASE_P(InstructionSelectorTest,
368 InstructionSelectorMemoryAccessTest, 369 InstructionSelectorMemoryAccessTest,
369 ::testing::ValuesIn(kMemoryAccesses)); 370 ::testing::ValuesIn(kMemoryAccesses));
370 371
371 } // namespace compiler 372 } // namespace compiler
372 } // namespace internal 373 } // namespace internal
373 } // namespace v8 374 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698