Revision: 23422
Author:   [email protected]
Date:     Tue Aug 26 19:34:15 2014 UTC
Log:      MIPS: Added vector-based loadic hydrogen stubs. Not yet callable.

Port r23405 (12573f34)

Original commit message:
The next step is to integrate the use of vector[slot] into the IC
infrastructure so it can do the right thing for a vector-based ic.
Then these stubs can be installed. For now, they immediately bail out
to the miss handler.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/505303002
https://code.google.com/p/v8/source/detail?r=23422

Modified:
 /branches/bleeding_edge/src/mips/code-stubs-mips.cc
 /branches/bleeding_edge/src/mips64/code-stubs-mips64.cc

=======================================
--- /branches/bleeding_edge/src/mips/code-stubs-mips.cc Tue Aug 26 17:57:18 2014 UTC +++ /branches/bleeding_edge/src/mips/code-stubs-mips.cc Tue Aug 26 19:34:15 2014 UTC
@@ -4795,6 +4795,20 @@
   __ Ret(USE_DELAY_SLOT);
   __ Addu(sp, sp, a1);
 }
+
+
+void LoadICTrampolineStub::Generate(MacroAssembler* masm) {
+ EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister());
+  VectorLoadStub stub(isolate(), state_);
+  __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET);
+}
+
+
+void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) {
+ EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister());
+  VectorKeyedLoadStub stub(isolate());
+  __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET);
+}


 void ProfileEntryHookStub::MaybeCallEntryHook(MacroAssembler* masm) {
=======================================
--- /branches/bleeding_edge/src/mips64/code-stubs-mips64.cc Tue Aug 26 17:57:18 2014 UTC +++ /branches/bleeding_edge/src/mips64/code-stubs-mips64.cc Tue Aug 26 19:34:15 2014 UTC
@@ -4832,6 +4832,20 @@
   __ Ret(USE_DELAY_SLOT);
   __ Daddu(sp, sp, a1);
 }
+
+
+void LoadICTrampolineStub::Generate(MacroAssembler* masm) {
+ EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister());
+  VectorLoadStub stub(isolate(), state_);
+  __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET);
+}
+
+
+void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) {
+ EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister());
+  VectorKeyedLoadStub stub(isolate());
+  __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET);
+}


 void ProfileEntryHookStub::MaybeCallEntryHook(MacroAssembler* masm) {

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to