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

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

Issue 1661463002: [wasm] Provide backoff implementations for the Fxx rounding instructions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@trunc64-external-reference
Patch Set: rebase. Created 4 years, 10 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/fast-accessor-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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 Node* BuildF64Min(Node* left, Node* right); 170 Node* BuildF64Min(Node* left, Node* right);
171 Node* BuildF64Max(Node* left, Node* right); 171 Node* BuildF64Max(Node* left, Node* right);
172 Node* BuildI32SConvertF32(Node* input); 172 Node* BuildI32SConvertF32(Node* input);
173 Node* BuildI32SConvertF64(Node* input); 173 Node* BuildI32SConvertF64(Node* input);
174 Node* BuildI32UConvertF32(Node* input); 174 Node* BuildI32UConvertF32(Node* input);
175 Node* BuildI32UConvertF64(Node* input); 175 Node* BuildI32UConvertF64(Node* input);
176 Node* BuildI32Ctz(Node* input); 176 Node* BuildI32Ctz(Node* input);
177 Node* BuildI32Popcnt(Node* input); 177 Node* BuildI32Popcnt(Node* input);
178 Node* BuildI64Ctz(Node* input); 178 Node* BuildI64Ctz(Node* input);
179 Node* BuildI64Popcnt(Node* input); 179 Node* BuildI64Popcnt(Node* input);
180 Node* BuildRoundingInstruction(Node* input, ExternalReference ref,
181 MachineType type);
180 Node* BuildF32Trunc(Node* input); 182 Node* BuildF32Trunc(Node* input);
183 Node* BuildF32Floor(Node* input);
184 Node* BuildF32Ceil(Node* input);
185 Node* BuildF32NearestInt(Node* input);
181 Node* BuildF64Trunc(Node* input); 186 Node* BuildF64Trunc(Node* input);
187 Node* BuildF64Floor(Node* input);
188 Node* BuildF64Ceil(Node* input);
189 Node* BuildF64NearestInt(Node* input);
182 190
183 Node** Realloc(Node** buffer, size_t count) { 191 Node** Realloc(Node** buffer, size_t count) {
184 Node** buf = Buffer(count); 192 Node** buf = Buffer(count);
185 if (buf != buffer) memcpy(buf, buffer, count * sizeof(Node*)); 193 if (buf != buffer) memcpy(buf, buffer, count * sizeof(Node*));
186 return buf; 194 return buf;
187 } 195 }
188 }; 196 };
189 } // namespace compiler 197 } // namespace compiler
190 } // namespace internal 198 } // namespace internal
191 } // namespace v8 199 } // namespace v8
192 200
193 #endif // V8_COMPILER_WASM_COMPILER_H_ 201 #endif // V8_COMPILER_WASM_COMPILER_H_
OLDNEW
« no previous file with comments | « src/compiler/fast-accessor-assembler.cc ('k') | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698