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

Side by Side Diff: src/compiler/raw-machine-assembler.h

Issue 1756863002: [wasm] Int64Lowering of I64Shl on ia32. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Forgot to turn off the test for arm. Created 4 years, 9 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
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/typer.cc » ('j') | 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 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/compiler/common-operator.h" 9 #include "src/compiler/common-operator.h"
10 #include "src/compiler/graph.h" 10 #include "src/compiler/graph.h"
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 Node* Uint64GreaterThan(Node* a, Node* b) { return Uint64LessThan(b, a); } 317 Node* Uint64GreaterThan(Node* a, Node* b) { return Uint64LessThan(b, a); }
318 Node* Uint64GreaterThanOrEqual(Node* a, Node* b) { 318 Node* Uint64GreaterThanOrEqual(Node* a, Node* b) {
319 return Uint64LessThanOrEqual(b, a); 319 return Uint64LessThanOrEqual(b, a);
320 } 320 }
321 Node* Uint64Div(Node* a, Node* b) { 321 Node* Uint64Div(Node* a, Node* b) {
322 return AddNode(machine()->Uint64Div(), a, b); 322 return AddNode(machine()->Uint64Div(), a, b);
323 } 323 }
324 Node* Uint64Mod(Node* a, Node* b) { 324 Node* Uint64Mod(Node* a, Node* b) {
325 return AddNode(machine()->Uint64Mod(), a, b); 325 return AddNode(machine()->Uint64Mod(), a, b);
326 } 326 }
327 Node* Word32PairShl(Node* low_word, Node* high_word, Node* shift) {
328 return AddNode(machine()->Word32PairShl(), low_word, high_word, shift);
329 }
327 330
328 #define INTPTR_BINOP(prefix, name) \ 331 #define INTPTR_BINOP(prefix, name) \
329 Node* IntPtr##name(Node* a, Node* b) { \ 332 Node* IntPtr##name(Node* a, Node* b) { \
330 return kPointerSize == 8 ? prefix##64##name(a, b) \ 333 return kPointerSize == 8 ? prefix##64##name(a, b) \
331 : prefix##32##name(a, b); \ 334 : prefix##32##name(a, b); \
332 } 335 }
333 336
334 INTPTR_BINOP(Int, Add); 337 INTPTR_BINOP(Int, Add);
335 INTPTR_BINOP(Int, Sub); 338 INTPTR_BINOP(Int, Sub);
336 INTPTR_BINOP(Int, LessThan); 339 INTPTR_BINOP(Int, LessThan);
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 bool deferred_; 716 bool deferred_;
714 friend class RawMachineAssembler; 717 friend class RawMachineAssembler;
715 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); 718 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel);
716 }; 719 };
717 720
718 } // namespace compiler 721 } // namespace compiler
719 } // namespace internal 722 } // namespace internal
720 } // namespace v8 723 } // namespace v8
721 724
722 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 725 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698