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

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

Issue 1611513003: [wasm] Implemented F32Trunc as a turbofan graph based on int32 instructions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 Node* BuildF64Min(Node* left, Node* right); 169 Node* BuildF64Min(Node* left, Node* right);
170 Node* BuildF64Max(Node* left, Node* right); 170 Node* BuildF64Max(Node* left, Node* right);
171 Node* BuildI32SConvertF32(Node* input); 171 Node* BuildI32SConvertF32(Node* input);
172 Node* BuildI32SConvertF64(Node* input); 172 Node* BuildI32SConvertF64(Node* input);
173 Node* BuildI32UConvertF32(Node* input); 173 Node* BuildI32UConvertF32(Node* input);
174 Node* BuildI32UConvertF64(Node* input); 174 Node* BuildI32UConvertF64(Node* input);
175 Node* BuildI32Ctz(Node* input); 175 Node* BuildI32Ctz(Node* input);
176 Node* BuildI32Popcnt(Node* input); 176 Node* BuildI32Popcnt(Node* input);
177 Node* BuildI64Ctz(Node* input); 177 Node* BuildI64Ctz(Node* input);
178 Node* BuildI64Popcnt(Node* input); 178 Node* BuildI64Popcnt(Node* input);
179 Node* BuildF32Trunc(Node* input);
179 180
180 Node** Realloc(Node** buffer, size_t count) { 181 Node** Realloc(Node** buffer, size_t count) {
181 Node** buf = Buffer(count); 182 Node** buf = Buffer(count);
182 if (buf != buffer) memcpy(buf, buffer, count * sizeof(Node*)); 183 if (buf != buffer) memcpy(buf, buffer, count * sizeof(Node*));
183 return buf; 184 return buf;
184 } 185 }
185 }; 186 };
186 } // namespace compiler 187 } // namespace compiler
187 } // namespace internal 188 } // namespace internal
188 } // namespace v8 189 } // namespace v8
189 190
190 #endif // V8_COMPILER_WASM_COMPILER_H_ 191 #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