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

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

Issue 1756863002: [wasm] Int64Lowering of I64Shl on ia32. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Forgot to turn off the test for arm. Created 4 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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 351
352 // Expression support 352 // Expression support
353 // cvtsi2sd instruction only writes to the low 64-bit of dst register, which 353 // cvtsi2sd instruction only writes to the low 64-bit of dst register, which
354 // hinders register renaming and makes dependence chains longer. So we use 354 // hinders register renaming and makes dependence chains longer. So we use
355 // xorps to clear the dst register before cvtsi2sd to solve this issue. 355 // xorps to clear the dst register before cvtsi2sd to solve this issue.
356 void Cvtsi2sd(XMMRegister dst, Register src) { Cvtsi2sd(dst, Operand(src)); } 356 void Cvtsi2sd(XMMRegister dst, Register src) { Cvtsi2sd(dst, Operand(src)); }
357 void Cvtsi2sd(XMMRegister dst, const Operand& src); 357 void Cvtsi2sd(XMMRegister dst, const Operand& src);
358 358
359 void Cvtui2ss(XMMRegister dst, Register src, Register tmp); 359 void Cvtui2ss(XMMRegister dst, Register src, Register tmp);
360 360
361 void PairShl(Register dst, Register src, uint8_t imm8);
362 void PairShl_cl(Register dst, Register src);
363
361 // Support for constant splitting. 364 // Support for constant splitting.
362 bool IsUnsafeImmediate(const Immediate& x); 365 bool IsUnsafeImmediate(const Immediate& x);
363 void SafeMove(Register dst, const Immediate& x); 366 void SafeMove(Register dst, const Immediate& x);
364 void SafePush(const Immediate& x); 367 void SafePush(const Immediate& x);
365 368
366 // Compare object type for heap object. 369 // Compare object type for heap object.
367 // Incoming register is heap_object and outgoing register is map. 370 // Incoming register is heap_object and outgoing register is map.
368 void CmpObjectType(Register heap_object, InstanceType type, Register map); 371 void CmpObjectType(Register heap_object, InstanceType type, Register map);
369 372
370 // Compare instance type for map. 373 // Compare instance type for map.
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after
1029 } \ 1032 } \
1030 masm-> 1033 masm->
1031 #else 1034 #else
1032 #define ACCESS_MASM(masm) masm-> 1035 #define ACCESS_MASM(masm) masm->
1033 #endif 1036 #endif
1034 1037
1035 } // namespace internal 1038 } // namespace internal
1036 } // namespace v8 1039 } // namespace v8
1037 1040
1038 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1041 #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