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

Side by Side Diff: src/s390/interface-descriptors-s390.cc

Issue 2264353003: s390: [interpreter] Make the binary op with Smi bytecode handlers collect type feedback. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 3 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 | no next file » | 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 #if V8_TARGET_ARCH_S390 5 #if V8_TARGET_ARCH_S390
6 6
7 #include "src/interface-descriptors.h" 7 #include "src/interface-descriptors.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 Register registers[] = {r3, r2}; 259 Register registers[] = {r3, r2};
260 data->InitializePlatformSpecific(arraysize(registers), registers); 260 data->InitializePlatformSpecific(arraysize(registers), registers);
261 } 261 }
262 262
263 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( 263 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific(
264 CallInterfaceDescriptorData* data) { 264 CallInterfaceDescriptorData* data) {
265 Register registers[] = {r4, r3, r2}; 265 Register registers[] = {r4, r3, r2};
266 data->InitializePlatformSpecific(arraysize(registers), registers); 266 data->InitializePlatformSpecific(arraysize(registers), registers);
267 } 267 }
268 268
269 void BinaryOpWithVectorDescriptor::InitializePlatformSpecific(
270 CallInterfaceDescriptorData* data) {
271 // register state
272 // r3 -- lhs
273 // r2 -- rhs
274 // r6 -- slot id
275 // r5 -- vector
276 Register registers[] = {r3, r2, r6, r5};
john.yan 2016/08/23 16:31:55 was it a intent to use r3 first?
JaideepBajwa 2016/08/23 17:46:34 yes r3 should be first, the register array is pass
277 data->InitializePlatformSpecific(arraysize(registers), registers);
278 }
279
269 void CountOpDescriptor::InitializePlatformSpecific( 280 void CountOpDescriptor::InitializePlatformSpecific(
270 CallInterfaceDescriptorData* data) { 281 CallInterfaceDescriptorData* data) {
271 Register registers[] = {r4}; 282 Register registers[] = {r4};
272 data->InitializePlatformSpecific(arraysize(registers), registers); 283 data->InitializePlatformSpecific(arraysize(registers), registers);
273 } 284 }
274 285
275 void StringAddDescriptor::InitializePlatformSpecific( 286 void StringAddDescriptor::InitializePlatformSpecific(
276 CallInterfaceDescriptorData* data) { 287 CallInterfaceDescriptorData* data) {
277 Register registers[] = {r3, r2}; 288 Register registers[] = {r3, r2};
278 data->InitializePlatformSpecific(arraysize(registers), registers); 289 data->InitializePlatformSpecific(arraysize(registers), registers);
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 r3, // the JSGeneratorObject to resume 381 r3, // the JSGeneratorObject to resume
371 r4 // the resume mode (tagged) 382 r4 // the resume mode (tagged)
372 }; 383 };
373 data->InitializePlatformSpecific(arraysize(registers), registers); 384 data->InitializePlatformSpecific(arraysize(registers), registers);
374 } 385 }
375 386
376 } // namespace internal 387 } // namespace internal
377 } // namespace v8 388 } // namespace v8
378 389
379 #endif // V8_TARGET_ARCH_S390 390 #endif // V8_TARGET_ARCH_S390
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698