Index: src/s390/interface-descriptors-s390.cc |
diff --git a/src/s390/interface-descriptors-s390.cc b/src/s390/interface-descriptors-s390.cc |
index a7efd7a0dda63d6088ceefd0a42b2b2ce646f771..4cdcd5452161ee6c09f0497e6a41ba68159793b2 100644 |
--- a/src/s390/interface-descriptors-s390.cc |
+++ b/src/s390/interface-descriptors-s390.cc |
@@ -266,6 +266,17 @@ void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
+void BinaryOpWithVectorDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ // register state |
+ // r3 -- lhs |
+ // r2 -- rhs |
+ // r6 -- slot id |
+ // r5 -- vector |
+ 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
|
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
void CountOpDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
Register registers[] = {r4}; |