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

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

Issue 1775903002: [wasm] Int64Lowering of I64XConvertFXX instructions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase 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/assembler.cc ('k') | 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 Node* BuildF64Atan(Node* input); 200 Node* BuildF64Atan(Node* input);
201 Node* BuildF64Cos(Node* input); 201 Node* BuildF64Cos(Node* input);
202 Node* BuildF64Sin(Node* input); 202 Node* BuildF64Sin(Node* input);
203 Node* BuildF64Tan(Node* input); 203 Node* BuildF64Tan(Node* input);
204 Node* BuildF64Exp(Node* input); 204 Node* BuildF64Exp(Node* input);
205 Node* BuildF64Log(Node* input); 205 Node* BuildF64Log(Node* input);
206 Node* BuildF64Pow(Node* left, Node* right); 206 Node* BuildF64Pow(Node* left, Node* right);
207 Node* BuildF64Atan2(Node* left, Node* right); 207 Node* BuildF64Atan2(Node* left, Node* right);
208 Node* BuildF64Mod(Node* left, Node* right); 208 Node* BuildF64Mod(Node* left, Node* right);
209 209
210 Node* BuildConversionInstruction( 210 Node* BuildIntToFloatConversionInstruction(
211 Node* input, ExternalReference ref, 211 Node* input, ExternalReference ref,
212 MachineRepresentation parameter_representation, 212 MachineRepresentation parameter_representation,
213 const MachineType result_type); 213 const MachineType result_type);
214 Node* BuildF32SConvertI64(Node* input); 214 Node* BuildF32SConvertI64(Node* input);
215 Node* BuildF32UConvertI64(Node* input); 215 Node* BuildF32UConvertI64(Node* input);
216 Node* BuildF64SConvertI64(Node* input); 216 Node* BuildF64SConvertI64(Node* input);
217 Node* BuildF64UConvertI64(Node* input); 217 Node* BuildF64UConvertI64(Node* input);
218 218
219 Node* BuildFloatToIntConversionInstruction(
220 Node* input, ExternalReference ref,
221 MachineRepresentation parameter_representation,
222 const MachineType result_type);
223 Node* BuildI64SConvertF32(Node* input);
224 Node* BuildI64UConvertF32(Node* input);
225 Node* BuildI64SConvertF64(Node* input);
226 Node* BuildI64UConvertF64(Node* input);
227
219 Node** Realloc(Node** buffer, size_t count) { 228 Node** Realloc(Node** buffer, size_t count) {
220 Node** buf = Buffer(count); 229 Node** buf = Buffer(count);
221 if (buf != buffer) memcpy(buf, buffer, count * sizeof(Node*)); 230 if (buf != buffer) memcpy(buf, buffer, count * sizeof(Node*));
222 return buf; 231 return buf;
223 } 232 }
224 }; 233 };
225 } // namespace compiler 234 } // namespace compiler
226 } // namespace internal 235 } // namespace internal
227 } // namespace v8 236 } // namespace v8
228 237
229 #endif // V8_COMPILER_WASM_COMPILER_H_ 238 #endif // V8_COMPILER_WASM_COMPILER_H_
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698