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

Side by Side Diff: src/compiler/wasm-compiler.h

Issue 1755013003: [wasm] add rotate opcodes (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: no renumbering 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 | « no previous file | src/compiler/wasm-compiler.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_WASM_COMPILER_H_ 5 #ifndef V8_COMPILER_WASM_COMPILER_H_
6 #define V8_COMPILER_WASM_COMPILER_H_ 6 #define V8_COMPILER_WASM_COMPILER_H_
7 7
8 // Clients of this interface shouldn't depend on lots of compiler internals. 8 // Clients of this interface shouldn't depend on lots of compiler internals.
9 // Do not include anything from src/compiler here! 9 // Do not include anything from src/compiler here!
10 #include "src/wasm/wasm-opcodes.h" 10 #include "src/wasm/wasm-opcodes.h"
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 Node* BuildRoundingInstruction(Node* input, ExternalReference ref, 183 Node* BuildRoundingInstruction(Node* input, ExternalReference ref,
184 MachineType type); 184 MachineType type);
185 Node* BuildF32Trunc(Node* input); 185 Node* BuildF32Trunc(Node* input);
186 Node* BuildF32Floor(Node* input); 186 Node* BuildF32Floor(Node* input);
187 Node* BuildF32Ceil(Node* input); 187 Node* BuildF32Ceil(Node* input);
188 Node* BuildF32NearestInt(Node* input); 188 Node* BuildF32NearestInt(Node* input);
189 Node* BuildF64Trunc(Node* input); 189 Node* BuildF64Trunc(Node* input);
190 Node* BuildF64Floor(Node* input); 190 Node* BuildF64Floor(Node* input);
191 Node* BuildF64Ceil(Node* input); 191 Node* BuildF64Ceil(Node* input);
192 Node* BuildF64NearestInt(Node* input); 192 Node* BuildF64NearestInt(Node* input);
193 Node* BuildI32Rol(Node* left, Node* right);
194 Node* BuildI64Rol(Node* left, Node* right);
193 195
194 Node** Realloc(Node** buffer, size_t count) { 196 Node** Realloc(Node** buffer, size_t count) {
195 Node** buf = Buffer(count); 197 Node** buf = Buffer(count);
196 if (buf != buffer) memcpy(buf, buffer, count * sizeof(Node*)); 198 if (buf != buffer) memcpy(buf, buffer, count * sizeof(Node*));
197 return buf; 199 return buf;
198 } 200 }
199 }; 201 };
200 } // namespace compiler 202 } // namespace compiler
201 } // namespace internal 203 } // namespace internal
202 } // namespace v8 204 } // namespace v8
203 205
204 #endif // V8_COMPILER_WASM_COMPILER_H_ 206 #endif // V8_COMPILER_WASM_COMPILER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698