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

Side by Side Diff: test/compiler-unittests/x64/instruction-selector-x64-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
« no previous file with comments | « test/compiler-unittests/instruction-selector-unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "test/compiler-unittests/instruction-selector-unittest.h" 5 #include "test/compiler-unittests/instruction-selector-unittest.h"
6 6
7 namespace v8 { 7 namespace v8 {
8 namespace internal { 8 namespace internal {
9 namespace compiler { 9 namespace compiler {
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 static const MemoryAccess kMemoryAccesses[] = { 61 static const MemoryAccess kMemoryAccesses[] = {
62 {kMachInt8, kX64Movsxbl, kX64Movb}, 62 {kMachInt8, kX64Movsxbl, kX64Movb},
63 {kMachUint8, kX64Movzxbl, kX64Movb}, 63 {kMachUint8, kX64Movzxbl, kX64Movb},
64 {kMachInt16, kX64Movsxwl, kX64Movw}, 64 {kMachInt16, kX64Movsxwl, kX64Movw},
65 {kMachUint16, kX64Movzxwl, kX64Movw}, 65 {kMachUint16, kX64Movzxwl, kX64Movw},
66 {kMachInt32, kX64Movl, kX64Movl}, 66 {kMachInt32, kX64Movl, kX64Movl},
67 {kMachUint32, kX64Movl, kX64Movl}, 67 {kMachUint32, kX64Movl, kX64Movl},
68 {kMachInt64, kX64Movq, kX64Movq}, 68 {kMachInt64, kX64Movq, kX64Movq},
69 {kMachUint64, kX64Movq, kX64Movq}, 69 {kMachUint64, kX64Movq, kX64Movq},
70 {kMachFloat32, kX64Movss, kX64Movss},
70 {kMachFloat64, kX64Movsd, kX64Movsd}}; 71 {kMachFloat64, kX64Movsd, kX64Movsd}};
71 72
72 } // namespace 73 } // namespace
73 74
74 75
75 typedef InstructionSelectorTestWithParam<MemoryAccess> 76 typedef InstructionSelectorTestWithParam<MemoryAccess>
76 InstructionSelectorMemoryAccessTest; 77 InstructionSelectorMemoryAccessTest;
77 78
78 79
79 TEST_P(InstructionSelectorMemoryAccessTest, LoadWithParameters) { 80 TEST_P(InstructionSelectorMemoryAccessTest, LoadWithParameters) {
(...skipping 21 matching lines...) Expand all
101 } 102 }
102 103
103 104
104 INSTANTIATE_TEST_CASE_P(InstructionSelectorTest, 105 INSTANTIATE_TEST_CASE_P(InstructionSelectorTest,
105 InstructionSelectorMemoryAccessTest, 106 InstructionSelectorMemoryAccessTest,
106 ::testing::ValuesIn(kMemoryAccesses)); 107 ::testing::ValuesIn(kMemoryAccesses));
107 108
108 } // namespace compiler 109 } // namespace compiler
109 } // namespace internal 110 } // namespace internal
110 } // namespace v8 111 } // namespace v8
OLDNEW
« no previous file with comments | « test/compiler-unittests/instruction-selector-unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698