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

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

Issue 974313002: [turbofan] Support for %_DoubleHi, %_DoubleLo and %_ConstructDouble. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed Svens comment. Created 5 years, 9 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/ia32/disasm-ia32.cc ('k') | src/ia32/macro-assembler-ia32.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_IA32_MACRO_ASSEMBLER_IA32_H_ 5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_
6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_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 795 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 void Ret(int bytes_dropped, Register scratch); 806 void Ret(int bytes_dropped, Register scratch);
807 807
808 // Emit code to discard a non-negative number of pointer-sized elements 808 // Emit code to discard a non-negative number of pointer-sized elements
809 // from the stack, clobbering only the esp register. 809 // from the stack, clobbering only the esp register.
810 void Drop(int element_count); 810 void Drop(int element_count);
811 811
812 void Call(Label* target) { call(target); } 812 void Call(Label* target) { call(target); }
813 void Push(Register src) { push(src); } 813 void Push(Register src) { push(src); }
814 void Pop(Register dst) { pop(dst); } 814 void Pop(Register dst) { pop(dst); }
815 815
816 // Non-SSE2 instructions.
817 void Pextrd(Register dst, XMMRegister src, int8_t imm8);
818 void Pinsrd(XMMRegister dst, Register src, int8_t imm8) {
819 Pinsrd(dst, Operand(src), imm8);
820 }
821 void Pinsrd(XMMRegister dst, const Operand& src, int8_t imm8);
822
816 // Emit call to the code we are currently generating. 823 // Emit call to the code we are currently generating.
817 void CallSelf() { 824 void CallSelf() {
818 Handle<Code> self(reinterpret_cast<Code**>(CodeObject().location())); 825 Handle<Code> self(reinterpret_cast<Code**>(CodeObject().location()));
819 call(self, RelocInfo::CODE_TARGET); 826 call(self, RelocInfo::CODE_TARGET);
820 } 827 }
821 828
822 // Move if the registers are not identical. 829 // Move if the registers are not identical.
823 void Move(Register target, Register source); 830 void Move(Register target, Register source);
824 831
825 // Move a constant into a destination using the most efficient encoding. 832 // Move a constant into a destination using the most efficient encoding.
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 } \ 1094 } \
1088 masm-> 1095 masm->
1089 #else 1096 #else
1090 #define ACCESS_MASM(masm) masm-> 1097 #define ACCESS_MASM(masm) masm->
1091 #endif 1098 #endif
1092 1099
1093 1100
1094 } } // namespace v8::internal 1101 } } // namespace v8::internal
1095 1102
1096 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1103 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/disasm-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698