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

Side by Side Diff: src/arm64/deoptimizer-arm64.cc

Issue 2896303003: Reland of Reland of "ARM64: Add NEON support" (Closed)
Patch Set: Created 3 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/arm64/decoder-arm64-inl.h ('k') | src/arm64/disasm-arm64.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/api.h" 5 #include "src/api.h"
6 #include "src/arm64/assembler-arm64-inl.h" 6 #include "src/arm64/assembler-arm64-inl.h"
7 #include "src/arm64/frames-arm64.h" 7 #include "src/arm64/frames-arm64.h"
8 #include "src/arm64/macro-assembler-arm64-inl.h" 8 #include "src/arm64/macro-assembler-arm64-inl.h"
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/deoptimizer.h" 10 #include "src/deoptimizer.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 void Deoptimizer::TableEntryGenerator::Generate() { 112 void Deoptimizer::TableEntryGenerator::Generate() {
113 GeneratePrologue(); 113 GeneratePrologue();
114 114
115 // TODO(all): This code needs to be revisited. We probably only need to save 115 // TODO(all): This code needs to be revisited. We probably only need to save
116 // caller-saved registers here. Callee-saved registers can be stored directly 116 // caller-saved registers here. Callee-saved registers can be stored directly
117 // in the input frame. 117 // in the input frame.
118 118
119 // Save all allocatable double registers. 119 // Save all allocatable double registers.
120 CPURegList saved_double_registers( 120 CPURegList saved_double_registers(
121 CPURegister::kFPRegister, kDRegSizeInBits, 121 CPURegister::kVRegister, kDRegSizeInBits,
122 RegisterConfiguration::Crankshaft()->allocatable_double_codes_mask()); 122 RegisterConfiguration::Crankshaft()->allocatable_double_codes_mask());
123 __ PushCPURegList(saved_double_registers); 123 __ PushCPURegList(saved_double_registers);
124 124
125 // Save all allocatable float registers. 125 // Save all allocatable float registers.
126 CPURegList saved_float_registers( 126 CPURegList saved_float_registers(
127 CPURegister::kFPRegister, kSRegSizeInBits, 127 CPURegister::kVRegister, kSRegSizeInBits,
128 RegisterConfiguration::Crankshaft()->allocatable_float_codes_mask()); 128 RegisterConfiguration::Crankshaft()->allocatable_float_codes_mask());
129 __ PushCPURegList(saved_float_registers); 129 __ PushCPURegList(saved_float_registers);
130 130
131 // We save all the registers expcept jssp, sp and lr. 131 // We save all the registers expcept jssp, sp and lr.
132 CPURegList saved_registers(CPURegister::kRegister, kXRegSizeInBits, 0, 27); 132 CPURegList saved_registers(CPURegister::kRegister, kXRegSizeInBits, 0, 27);
133 saved_registers.Combine(fp); 133 saved_registers.Combine(fp);
134 __ PushCPURegList(saved_registers); 134 __ PushCPURegList(saved_registers);
135 135
136 __ Mov(x3, Operand(ExternalReference(Isolate::kCEntryFPAddress, isolate()))); 136 __ Mov(x3, Operand(ExternalReference(Isolate::kCEntryFPAddress, isolate())));
137 __ Str(fp, MemOperand(x3)); 137 __ Str(fp, MemOperand(x3));
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { 381 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) {
382 // No embedded constant pool support. 382 // No embedded constant pool support.
383 UNREACHABLE(); 383 UNREACHABLE();
384 } 384 }
385 385
386 386
387 #undef __ 387 #undef __
388 388
389 } // namespace internal 389 } // namespace internal
390 } // namespace v8 390 } // namespace v8
OLDNEW
« no previous file with comments | « src/arm64/decoder-arm64-inl.h ('k') | src/arm64/disasm-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698