| OLD | NEW |
| 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 PURE(Word32Clz, 1, 0, 1), // -- | 201 PURE(Word32Clz, 1, 0, 1), // -- |
| 202 PURE(Word64And, 2, 0, 1), // -- | 202 PURE(Word64And, 2, 0, 1), // -- |
| 203 PURE(Word64Or, 2, 0, 1), // -- | 203 PURE(Word64Or, 2, 0, 1), // -- |
| 204 PURE(Word64Xor, 2, 0, 1), // -- | 204 PURE(Word64Xor, 2, 0, 1), // -- |
| 205 PURE(Word64Shl, 2, 0, 1), // -- | 205 PURE(Word64Shl, 2, 0, 1), // -- |
| 206 PURE(Word64Shr, 2, 0, 1), // -- | 206 PURE(Word64Shr, 2, 0, 1), // -- |
| 207 PURE(Word64Sar, 2, 0, 1), // -- | 207 PURE(Word64Sar, 2, 0, 1), // -- |
| 208 PURE(Word64Ror, 2, 0, 1), // -- | 208 PURE(Word64Ror, 2, 0, 1), // -- |
| 209 PURE(Word64Equal, 2, 0, 1), // -- | 209 PURE(Word64Equal, 2, 0, 1), // -- |
| 210 PURE(Int32Add, 2, 0, 1), // -- | 210 PURE(Int32Add, 2, 0, 1), // -- |
| 211 PURE(Int32AddWithOverflow, 2, 0, 2), // -- | |
| 212 PURE(Int32Sub, 2, 0, 1), // -- | 211 PURE(Int32Sub, 2, 0, 1), // -- |
| 213 PURE(Int32SubWithOverflow, 2, 0, 2), // -- | |
| 214 PURE(Int32Mul, 2, 0, 1), // -- | 212 PURE(Int32Mul, 2, 0, 1), // -- |
| 215 PURE(Int32MulHigh, 2, 0, 1), // -- | 213 PURE(Int32MulHigh, 2, 0, 1), // -- |
| 216 PURE(Int32Div, 2, 1, 1), // -- | 214 PURE(Int32Div, 2, 1, 1), // -- |
| 217 PURE(Uint32Div, 2, 1, 1), // -- | 215 PURE(Uint32Div, 2, 1, 1), // -- |
| 218 PURE(Int32Mod, 2, 1, 1), // -- | 216 PURE(Int32Mod, 2, 1, 1), // -- |
| 219 PURE(Uint32Mod, 2, 1, 1), // -- | 217 PURE(Uint32Mod, 2, 1, 1), // -- |
| 220 PURE(Int32LessThan, 2, 0, 1), // -- | 218 PURE(Int32LessThan, 2, 0, 1), // -- |
| 221 PURE(Int32LessThanOrEqual, 2, 0, 1), // -- | 219 PURE(Int32LessThanOrEqual, 2, 0, 1), // -- |
| 222 PURE(Uint32LessThan, 2, 0, 1), // -- | 220 PURE(Uint32LessThan, 2, 0, 1), // -- |
| 223 PURE(Uint32LessThanOrEqual, 2, 0, 1), // -- | 221 PURE(Uint32LessThanOrEqual, 2, 0, 1), // -- |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 EXPECT_EQ(machine.Uint64Div(), machine.UintDiv()); | 413 EXPECT_EQ(machine.Uint64Div(), machine.UintDiv()); |
| 416 EXPECT_EQ(machine.Int64Mod(), machine.IntMod()); | 414 EXPECT_EQ(machine.Int64Mod(), machine.IntMod()); |
| 417 EXPECT_EQ(machine.Uint64Mod(), machine.UintMod()); | 415 EXPECT_EQ(machine.Uint64Mod(), machine.UintMod()); |
| 418 EXPECT_EQ(machine.Int64LessThan(), machine.IntLessThan()); | 416 EXPECT_EQ(machine.Int64LessThan(), machine.IntLessThan()); |
| 419 EXPECT_EQ(machine.Int64LessThanOrEqual(), machine.IntLessThanOrEqual()); | 417 EXPECT_EQ(machine.Int64LessThanOrEqual(), machine.IntLessThanOrEqual()); |
| 420 } | 418 } |
| 421 | 419 |
| 422 } // namespace compiler | 420 } // namespace compiler |
| 423 } // namespace internal | 421 } // namespace internal |
| 424 } // namespace v8 | 422 } // namespace v8 |
| OLD | NEW |