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

Side by Side Diff: test/compiler-unittests/ia32/instruction-selector-ia32-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, 4 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 "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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 } 93 }
94 94
95 95
96 static const MemoryAccess kMemoryAccesses[] = { 96 static const MemoryAccess kMemoryAccesses[] = {
97 {kMachInt8, kIA32Movsxbl, kIA32Movb}, 97 {kMachInt8, kIA32Movsxbl, kIA32Movb},
98 {kMachUint8, kIA32Movzxbl, kIA32Movb}, 98 {kMachUint8, kIA32Movzxbl, kIA32Movb},
99 {kMachInt16, kIA32Movsxwl, kIA32Movw}, 99 {kMachInt16, kIA32Movsxwl, kIA32Movw},
100 {kMachUint16, kIA32Movzxwl, kIA32Movw}, 100 {kMachUint16, kIA32Movzxwl, kIA32Movw},
101 {kMachInt32, kIA32Movl, kIA32Movl}, 101 {kMachInt32, kIA32Movl, kIA32Movl},
102 {kMachUint32, kIA32Movl, kIA32Movl}, 102 {kMachUint32, kIA32Movl, kIA32Movl},
103 {kMachFloat32, kIA32Movss, kIA32Movss},
103 {kMachFloat64, kIA32Movsd, kIA32Movsd}}; 104 {kMachFloat64, kIA32Movsd, kIA32Movsd}};
104 105
105 } // namespace 106 } // namespace
106 107
107 108
108 typedef InstructionSelectorTestWithParam<MemoryAccess> 109 typedef InstructionSelectorTestWithParam<MemoryAccess>
109 InstructionSelectorMemoryAccessTest; 110 InstructionSelectorMemoryAccessTest;
110 111
111 112
112 TEST_P(InstructionSelectorMemoryAccessTest, LoadWithParameters) { 113 TEST_P(InstructionSelectorMemoryAccessTest, LoadWithParameters) {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 } 202 }
202 203
203 204
204 INSTANTIATE_TEST_CASE_P(InstructionSelectorTest, 205 INSTANTIATE_TEST_CASE_P(InstructionSelectorTest,
205 InstructionSelectorMemoryAccessTest, 206 InstructionSelectorMemoryAccessTest,
206 ::testing::ValuesIn(kMemoryAccesses)); 207 ::testing::ValuesIn(kMemoryAccesses));
207 208
208 } // namespace compiler 209 } // namespace compiler
209 } // namespace internal 210 } // namespace internal
210 } // namespace v8 211 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698