OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_MIPS64 | 5 #if V8_TARGET_ARCH_MIPS64 |
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 276 matching lines...) Loading... |
287 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 287 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
288 } | 288 } |
289 | 289 |
290 | 290 |
291 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( | 291 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( |
292 CallInterfaceDescriptorData* data) { | 292 CallInterfaceDescriptorData* data) { |
293 Register registers[] = {a2, a1, a0}; | 293 Register registers[] = {a2, a1, a0}; |
294 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 294 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
295 } | 295 } |
296 | 296 |
| 297 void BinaryOpWithVectorDescriptor::InitializePlatformSpecific( |
| 298 CallInterfaceDescriptorData* data) { |
| 299 // register state |
| 300 // a1 -- lhs |
| 301 // a0 -- rhs |
| 302 // a4 -- slot id |
| 303 // a3 -- vector |
| 304 Register registers[] = {a1, a0, a4, a3}; |
| 305 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 306 } |
| 307 |
297 void CountOpDescriptor::InitializePlatformSpecific( | 308 void CountOpDescriptor::InitializePlatformSpecific( |
298 CallInterfaceDescriptorData* data) { | 309 CallInterfaceDescriptorData* data) { |
299 Register registers[] = {a1}; | 310 Register registers[] = {a1}; |
300 data->InitializePlatformSpecific(arraysize(registers), registers); | 311 data->InitializePlatformSpecific(arraysize(registers), registers); |
301 } | 312 } |
302 | 313 |
303 void StringAddDescriptor::InitializePlatformSpecific( | 314 void StringAddDescriptor::InitializePlatformSpecific( |
304 CallInterfaceDescriptorData* data) { | 315 CallInterfaceDescriptorData* data) { |
305 Register registers[] = {a1, a0}; | 316 Register registers[] = {a1, a0}; |
306 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 317 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
(...skipping 95 matching lines...) Loading... |
402 a1, // the JSGeneratorObject to resume | 413 a1, // the JSGeneratorObject to resume |
403 a2 // the resume mode (tagged) | 414 a2 // the resume mode (tagged) |
404 }; | 415 }; |
405 data->InitializePlatformSpecific(arraysize(registers), registers); | 416 data->InitializePlatformSpecific(arraysize(registers), registers); |
406 } | 417 } |
407 | 418 |
408 } // namespace internal | 419 } // namespace internal |
409 } // namespace v8 | 420 } // namespace v8 |
410 | 421 |
411 #endif // V8_TARGET_ARCH_MIPS64 | 422 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |