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

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

Issue 1881913002: Revert of [compiler] Add relocatable pointer constants for wasm memory references. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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/x64/assembler-x64.cc ('k') | src/x64/macro-assembler-x64.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_X64_MACRO_ASSEMBLER_X64_H_ 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_
6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ 6 #define V8_X64_MACRO_ASSEMBLER_X64_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/base/flags.h" 10 #include "src/base/flags.h"
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 811
812 // --------------------------------------------------------------------------- 812 // ---------------------------------------------------------------------------
813 // Macro instructions. 813 // Macro instructions.
814 814
815 // Load/store with specific representation. 815 // Load/store with specific representation.
816 void Load(Register dst, const Operand& src, Representation r); 816 void Load(Register dst, const Operand& src, Representation r);
817 void Store(const Operand& dst, Register src, Representation r); 817 void Store(const Operand& dst, Register src, Representation r);
818 818
819 // Load a register with a long value as efficiently as possible. 819 // Load a register with a long value as efficiently as possible.
820 void Set(Register dst, int64_t x); 820 void Set(Register dst, int64_t x);
821 void Set(Register dst, int64_t x, RelocInfo::Mode rmode);
821 void Set(const Operand& dst, intptr_t x); 822 void Set(const Operand& dst, intptr_t x);
822 823
823 void Cvtss2sd(XMMRegister dst, XMMRegister src); 824 void Cvtss2sd(XMMRegister dst, XMMRegister src);
824 void Cvtss2sd(XMMRegister dst, const Operand& src); 825 void Cvtss2sd(XMMRegister dst, const Operand& src);
825 void Cvtsd2ss(XMMRegister dst, XMMRegister src); 826 void Cvtsd2ss(XMMRegister dst, XMMRegister src);
826 void Cvtsd2ss(XMMRegister dst, const Operand& src); 827 void Cvtsd2ss(XMMRegister dst, const Operand& src);
827 828
828 // cvtsi2sd instruction only writes to the low 64-bit of dst register, which 829 // cvtsi2sd instruction only writes to the low 64-bit of dst register, which
829 // hinders register renaming and makes dependence chains longer. So we use 830 // hinders register renaming and makes dependence chains longer. So we use
830 // xorpd to clear the dst register before cvtsi2sd to solve this issue. 831 // xorpd to clear the dst register before cvtsi2sd to solve this issue.
(...skipping 933 matching lines...) Expand 10 before | Expand all | Expand 10 after
1764 } \ 1765 } \
1765 masm-> 1766 masm->
1766 #else 1767 #else
1767 #define ACCESS_MASM(masm) masm-> 1768 #define ACCESS_MASM(masm) masm->
1768 #endif 1769 #endif
1769 1770
1770 } // namespace internal 1771 } // namespace internal
1771 } // namespace v8 1772 } // namespace v8
1772 1773
1773 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1774 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698