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

Side by Side Diff: test/unittests/compiler/machine-operator-unittest.cc

Issue 1223613002: [turbofan] Add Uint64LessThanOrEqual to 64-bit TurboFan backends. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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
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 "src/compiler/machine-operator.h" 5 #include "src/compiler/machine-operator.h"
6 #include "src/compiler/opcodes.h" 6 #include "src/compiler/opcodes.h"
7 #include "src/compiler/operator.h" 7 #include "src/compiler/operator.h"
8 #include "src/compiler/operator-properties.h" 8 #include "src/compiler/operator-properties.h"
9 #include "test/unittests/test-utils.h" 9 #include "test/unittests/test-utils.h"
10 10
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 PURE(Uint32Div, 2, 1, 1), // -- 202 PURE(Uint32Div, 2, 1, 1), // --
203 PURE(Int32Mod, 2, 1, 1), // -- 203 PURE(Int32Mod, 2, 1, 1), // --
204 PURE(Uint32Mod, 2, 1, 1), // -- 204 PURE(Uint32Mod, 2, 1, 1), // --
205 PURE(Int32LessThan, 2, 0, 1), // -- 205 PURE(Int32LessThan, 2, 0, 1), // --
206 PURE(Int32LessThanOrEqual, 2, 0, 1), // -- 206 PURE(Int32LessThanOrEqual, 2, 0, 1), // --
207 PURE(Uint32LessThan, 2, 0, 1), // -- 207 PURE(Uint32LessThan, 2, 0, 1), // --
208 PURE(Uint32LessThanOrEqual, 2, 0, 1), // -- 208 PURE(Uint32LessThanOrEqual, 2, 0, 1), // --
209 PURE(Int64Add, 2, 0, 1), // -- 209 PURE(Int64Add, 2, 0, 1), // --
210 PURE(Int64Sub, 2, 0, 1), // -- 210 PURE(Int64Sub, 2, 0, 1), // --
211 PURE(Int64Mul, 2, 0, 1), // -- 211 PURE(Int64Mul, 2, 0, 1), // --
212 PURE(Int64Div, 2, 0, 1), // -- 212 PURE(Int64Div, 2, 1, 1), // --
213 PURE(Uint64Div, 2, 0, 1), // -- 213 PURE(Uint64Div, 2, 1, 1), // --
214 PURE(Int64Mod, 2, 0, 1), // -- 214 PURE(Int64Mod, 2, 1, 1), // --
215 PURE(Uint64Mod, 2, 0, 1), // -- 215 PURE(Uint64Mod, 2, 1, 1), // --
216 PURE(Int64LessThan, 2, 0, 1), // -- 216 PURE(Int64LessThan, 2, 0, 1), // --
217 PURE(Int64LessThanOrEqual, 2, 0, 1), // -- 217 PURE(Int64LessThanOrEqual, 2, 0, 1), // --
218 PURE(Uint64LessThan, 2, 0, 1), // -- 218 PURE(Uint64LessThan, 2, 0, 1), // --
219 PURE(Uint64LessThanOrEqual, 2, 0, 1), // --
219 PURE(ChangeFloat32ToFloat64, 1, 0, 1), // -- 220 PURE(ChangeFloat32ToFloat64, 1, 0, 1), // --
220 PURE(ChangeFloat64ToInt32, 1, 0, 1), // -- 221 PURE(ChangeFloat64ToInt32, 1, 0, 1), // --
221 PURE(ChangeFloat64ToUint32, 1, 0, 1), // -- 222 PURE(ChangeFloat64ToUint32, 1, 0, 1), // --
222 PURE(ChangeInt32ToInt64, 1, 0, 1), // -- 223 PURE(ChangeInt32ToInt64, 1, 0, 1), // --
223 PURE(ChangeUint32ToFloat64, 1, 0, 1), // -- 224 PURE(ChangeUint32ToFloat64, 1, 0, 1), // --
224 PURE(ChangeUint32ToUint64, 1, 0, 1), // -- 225 PURE(ChangeUint32ToUint64, 1, 0, 1), // --
225 PURE(TruncateFloat64ToFloat32, 1, 0, 1), // -- 226 PURE(TruncateFloat64ToFloat32, 1, 0, 1), // --
226 PURE(TruncateFloat64ToInt32, 1, 0, 1), // -- 227 PURE(TruncateFloat64ToInt32, 1, 0, 1), // --
227 PURE(TruncateInt64ToInt32, 1, 0, 1), // -- 228 PURE(TruncateInt64ToInt32, 1, 0, 1), // --
228 PURE(Float32Abs, 1, 0, 1), // -- 229 PURE(Float32Abs, 1, 0, 1), // --
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 EXPECT_EQ(machine.Uint64Div(), machine.UintDiv()); 395 EXPECT_EQ(machine.Uint64Div(), machine.UintDiv());
395 EXPECT_EQ(machine.Int64Mod(), machine.IntMod()); 396 EXPECT_EQ(machine.Int64Mod(), machine.IntMod());
396 EXPECT_EQ(machine.Uint64Mod(), machine.UintMod()); 397 EXPECT_EQ(machine.Uint64Mod(), machine.UintMod());
397 EXPECT_EQ(machine.Int64LessThan(), machine.IntLessThan()); 398 EXPECT_EQ(machine.Int64LessThan(), machine.IntLessThan());
398 EXPECT_EQ(machine.Int64LessThanOrEqual(), machine.IntLessThanOrEqual()); 399 EXPECT_EQ(machine.Int64LessThanOrEqual(), machine.IntLessThanOrEqual());
399 } 400 }
400 401
401 } // namespace compiler 402 } // namespace compiler
402 } // namespace internal 403 } // namespace internal
403 } // namespace v8 404 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-run-machops.cc ('k') | test/unittests/compiler/raw-machine-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698