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

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

Issue 2593803003: s390: exploit high-word facility for Smi Ops (Closed)
Patch Set: fix native failures Created 3 years, 12 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/s390/disasm-s390.cc ('k') | src/s390/macro-assembler-s390.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 #ifndef V8_S390_MACRO_ASSEMBLER_S390_H_ 5 #ifndef V8_S390_MACRO_ASSEMBLER_S390_H_
6 #define V8_S390_MACRO_ASSEMBLER_S390_H_ 6 #define V8_S390_MACRO_ASSEMBLER_S390_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 810 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 821
822 void StoreHalfWord(Register src, const MemOperand& mem, 822 void StoreHalfWord(Register src, const MemOperand& mem,
823 Register scratch = r0); 823 Register scratch = r0);
824 void StoreByte(Register src, const MemOperand& mem, Register scratch = r0); 824 void StoreByte(Register src, const MemOperand& mem, Register scratch = r0);
825 825
826 void LoadRepresentation(Register dst, const MemOperand& mem, Representation r, 826 void LoadRepresentation(Register dst, const MemOperand& mem, Representation r,
827 Register scratch = no_reg); 827 Register scratch = no_reg);
828 void StoreRepresentation(Register src, const MemOperand& mem, 828 void StoreRepresentation(Register src, const MemOperand& mem,
829 Representation r, Register scratch = no_reg); 829 Representation r, Register scratch = no_reg);
830 830
831 void AddSmiLiteral(Register dst, Register src, Smi* smi, Register scratch); 831 void AddSmiLiteral(Register dst, Register src, Smi* smi,
832 void SubSmiLiteral(Register dst, Register src, Smi* smi, Register scratch); 832 Register scratch = r0);
833 void SubSmiLiteral(Register dst, Register src, Smi* smi,
834 Register scratch = r0);
833 void CmpSmiLiteral(Register src1, Smi* smi, Register scratch); 835 void CmpSmiLiteral(Register src1, Smi* smi, Register scratch);
834 void CmpLogicalSmiLiteral(Register src1, Smi* smi, Register scratch); 836 void CmpLogicalSmiLiteral(Register src1, Smi* smi, Register scratch);
835 void AndSmiLiteral(Register dst, Register src, Smi* smi); 837 void AndSmiLiteral(Register dst, Register src, Smi* smi);
836 838
837 // Set new rounding mode RN to FPSCR 839 // Set new rounding mode RN to FPSCR
838 void SetRoundingMode(FPRoundingMode RN); 840 void SetRoundingMode(FPRoundingMode RN);
839 841
840 // reset rounding mode to default (kRoundToNearest) 842 // reset rounding mode to default (kRoundToNearest)
841 void ResetRoundingMode(); 843 void ResetRoundingMode();
842 844
(...skipping 967 matching lines...) Expand 10 before | Expand all | Expand 10 after
1810 inline MemOperand NativeContextMemOperand() { 1812 inline MemOperand NativeContextMemOperand() {
1811 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); 1813 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX);
1812 } 1814 }
1813 1815
1814 #define ACCESS_MASM(masm) masm-> 1816 #define ACCESS_MASM(masm) masm->
1815 1817
1816 } // namespace internal 1818 } // namespace internal
1817 } // namespace v8 1819 } // namespace v8
1818 1820
1819 #endif // V8_S390_MACRO_ASSEMBLER_S390_H_ 1821 #endif // V8_S390_MACRO_ASSEMBLER_S390_H_
OLDNEW
« no previous file with comments | « src/s390/disasm-s390.cc ('k') | src/s390/macro-assembler-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698