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

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

Issue 1145223003: PPC: Cleanup interface descriptors to reflect that vectors are part of loads. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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/ppc/full-codegen-ppc.cc ('k') | src/ppc/lithium-codegen-ppc.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_PPC 7 #if V8_TARGET_ARCH_PPC
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
11 namespace v8 { 11 namespace v8 {
12 namespace internal { 12 namespace internal {
13 13
14 const Register CallInterfaceDescriptor::ContextRegister() { return cp; } 14 const Register CallInterfaceDescriptor::ContextRegister() { return cp; }
15 15
16 16
17 const Register LoadDescriptor::ReceiverRegister() { return r4; } 17 const Register LoadDescriptor::ReceiverRegister() { return r4; }
18 const Register LoadDescriptor::NameRegister() { return r5; } 18 const Register LoadDescriptor::NameRegister() { return r5; }
19 const Register LoadDescriptor::SlotRegister() { return r3; }
19 20
20 21
21 const Register VectorLoadICTrampolineDescriptor::SlotRegister() { return r3; } 22 const Register LoadWithVectorDescriptor::VectorRegister() { return r6; }
22
23
24 const Register VectorLoadICDescriptor::VectorRegister() { return r6; }
25 23
26 24
27 const Register StoreDescriptor::ReceiverRegister() { return r4; } 25 const Register StoreDescriptor::ReceiverRegister() { return r4; }
28 const Register StoreDescriptor::NameRegister() { return r5; } 26 const Register StoreDescriptor::NameRegister() { return r5; }
29 const Register StoreDescriptor::ValueRegister() { return r3; } 27 const Register StoreDescriptor::ValueRegister() { return r3; }
30 28
31 29
32 const Register StoreTransitionDescriptor::MapRegister() { return r6; } 30 const Register StoreTransitionDescriptor::MapRegister() { return r6; }
33 31
34 32
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 Representation::Tagged(), // 378 Representation::Tagged(), //
381 Representation::Tagged(), // 379 Representation::Tagged(), //
382 Representation::Tagged(), // 380 Representation::Tagged(), //
383 }; 381 };
384 data->Initialize(arraysize(registers), registers, representations); 382 data->Initialize(arraysize(registers), registers, representations);
385 } 383 }
386 } 384 }
387 } // namespace v8::internal 385 } // namespace v8::internal
388 386
389 #endif // V8_TARGET_ARCH_PPC 387 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/ppc/full-codegen-ppc.cc ('k') | src/ppc/lithium-codegen-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698