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

Side by Side Diff: src/crankshaft/arm64/delayed-masm-arm64-inl.h

Issue 2812573003: Reland "ARM64: Add NEON support" (Closed)
Patch Set: Add trace directory to gitignore Created 3 years, 8 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/crankshaft/arm64/delayed-masm-arm64.h ('k') | src/crankshaft/arm64/lithium-codegen-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 #ifndef V8_CRANKSHAFT_ARM64_DELAYED_MASM_ARM64_INL_H_ 5 #ifndef V8_CRANKSHAFT_ARM64_DELAYED_MASM_ARM64_INL_H_
6 #define V8_CRANKSHAFT_ARM64_DELAYED_MASM_ARM64_INL_H_ 6 #define V8_CRANKSHAFT_ARM64_DELAYED_MASM_ARM64_INL_H_
7 7
8 #include "src/arm64/macro-assembler-arm64-inl.h" 8 #include "src/arm64/macro-assembler-arm64-inl.h"
9 #include "src/crankshaft/arm64/delayed-masm-arm64.h" 9 #include "src/crankshaft/arm64/delayed-masm-arm64.h"
10 10
(...skipping 26 matching lines...) Expand all
37 37
38 38
39 void DelayedMasm::Mov(const Register& rd, 39 void DelayedMasm::Mov(const Register& rd,
40 const Operand& operand, 40 const Operand& operand,
41 DiscardMoveMode discard_mode) { 41 DiscardMoveMode discard_mode) {
42 EmitPending(); 42 EmitPending();
43 DCHECK(!IsScratchRegister(rd) || scratch_register_acquired_); 43 DCHECK(!IsScratchRegister(rd) || scratch_register_acquired_);
44 __ Mov(rd, operand, discard_mode); 44 __ Mov(rd, operand, discard_mode);
45 } 45 }
46 46
47 47 void DelayedMasm::Fmov(VRegister fd, VRegister fn) {
48 void DelayedMasm::Fmov(FPRegister fd, FPRegister fn) {
49 EmitPending(); 48 EmitPending();
50 __ Fmov(fd, fn); 49 __ Fmov(fd, fn);
51 } 50 }
52 51
53 52 void DelayedMasm::Fmov(VRegister fd, double imm) {
54 void DelayedMasm::Fmov(FPRegister fd, double imm) {
55 EmitPending(); 53 EmitPending();
56 __ Fmov(fd, imm); 54 __ Fmov(fd, imm);
57 } 55 }
58 56
59 57
60 void DelayedMasm::LoadObject(Register result, Handle<Object> object) { 58 void DelayedMasm::LoadObject(Register result, Handle<Object> object) {
61 EmitPending(); 59 EmitPending();
62 DCHECK(!IsScratchRegister(result) || scratch_register_acquired_); 60 DCHECK(!IsScratchRegister(result) || scratch_register_acquired_);
63 __ LoadObject(result, object); 61 __ LoadObject(result, object);
64 } 62 }
65 63
66 void DelayedMasm::InitializeRootRegister() { masm_->InitializeRootRegister(); } 64 void DelayedMasm::InitializeRootRegister() { masm_->InitializeRootRegister(); }
67 65
68 #undef __ 66 #undef __
69 67
70 } // namespace internal 68 } // namespace internal
71 } // namespace v8 69 } // namespace v8
72 70
73 #endif // V8_CRANKSHAFT_ARM64_DELAYED_MASM_ARM64_INL_H_ 71 #endif // V8_CRANKSHAFT_ARM64_DELAYED_MASM_ARM64_INL_H_
OLDNEW
« no previous file with comments | « src/crankshaft/arm64/delayed-masm-arm64.h ('k') | src/crankshaft/arm64/lithium-codegen-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698