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

Side by Side Diff: src/arm/macro-assembler-arm.h

Issue 2546933002: [Turbofan] Add ARM NEON instructions for implementing SIMD. (Closed)
Patch Set: Fourth review comments. Created 4 years 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/arm/disasm-arm.cc ('k') | src/arm/macro-assembler-arm.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_ARM_MACRO_ASSEMBLER_ARM_H_ 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_
6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 void VmovLow(DwVfpRegister dst, Register src); 554 void VmovLow(DwVfpRegister dst, Register src);
555 555
556 // Simulate s-register moves for imaginary s32 - s63 registers. 556 // Simulate s-register moves for imaginary s32 - s63 registers.
557 void VmovExtended(Register dst, int src_code); 557 void VmovExtended(Register dst, int src_code);
558 void VmovExtended(int dst_code, Register src); 558 void VmovExtended(int dst_code, Register src);
559 // Move between s-registers and imaginary s-registers. 559 // Move between s-registers and imaginary s-registers.
560 void VmovExtended(int dst_code, int src_code, Register scratch); 560 void VmovExtended(int dst_code, int src_code, Register scratch);
561 void VmovExtended(int dst_code, const MemOperand& src, Register scratch); 561 void VmovExtended(int dst_code, const MemOperand& src, Register scratch);
562 void VmovExtended(const MemOperand& dst, int src_code, Register scratch); 562 void VmovExtended(const MemOperand& dst, int src_code, Register scratch);
563 563
564 void ExtractLane(Register dst, QwNeonRegister src, NeonDataType dt, int lane);
565 void ExtractLane(SwVfpRegister dst, QwNeonRegister src, Register scratch,
566 int lane);
567 void ReplaceLane(QwNeonRegister dst, QwNeonRegister src, Register src_lane,
568 NeonDataType dt, int lane);
569 void ReplaceLane(QwNeonRegister dst, QwNeonRegister src,
570 SwVfpRegister src_lane, Register scratch, int lane);
571
564 void LslPair(Register dst_low, Register dst_high, Register src_low, 572 void LslPair(Register dst_low, Register dst_high, Register src_low,
565 Register src_high, Register scratch, Register shift); 573 Register src_high, Register scratch, Register shift);
566 void LslPair(Register dst_low, Register dst_high, Register src_low, 574 void LslPair(Register dst_low, Register dst_high, Register src_low,
567 Register src_high, uint32_t shift); 575 Register src_high, uint32_t shift);
568 void LsrPair(Register dst_low, Register dst_high, Register src_low, 576 void LsrPair(Register dst_low, Register dst_high, Register src_low,
569 Register src_high, Register scratch, Register shift); 577 Register src_high, Register scratch, Register shift);
570 void LsrPair(Register dst_low, Register dst_high, Register src_low, 578 void LsrPair(Register dst_low, Register dst_high, Register src_low,
571 Register src_high, uint32_t shift); 579 Register src_high, uint32_t shift);
572 void AsrPair(Register dst_low, Register dst_high, Register src_low, 580 void AsrPair(Register dst_low, Register dst_high, Register src_low,
573 Register src_high, Register scratch, Register shift); 581 Register src_high, Register scratch, Register shift);
(...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after
1543 inline MemOperand NativeContextMemOperand() { 1551 inline MemOperand NativeContextMemOperand() {
1544 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); 1552 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX);
1545 } 1553 }
1546 1554
1547 #define ACCESS_MASM(masm) masm-> 1555 #define ACCESS_MASM(masm) masm->
1548 1556
1549 } // namespace internal 1557 } // namespace internal
1550 } // namespace v8 1558 } // namespace v8
1551 1559
1552 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1560 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/disasm-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698