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

Side by Side Diff: src/ia32/assembler-ia32.cc

Issue 1589363002: [turbofan] Add the RoundInt32ToFloat32 operator to turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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/assembler-ia32.h ('k') | src/x64/assembler-x64.h » ('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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 1982 matching lines...) Expand 10 before | Expand all | Expand 10 after
1993 1993
1994 void Assembler::cvtsd2si(Register dst, XMMRegister src) { 1994 void Assembler::cvtsd2si(Register dst, XMMRegister src) {
1995 EnsureSpace ensure_space(this); 1995 EnsureSpace ensure_space(this);
1996 EMIT(0xF2); 1996 EMIT(0xF2);
1997 EMIT(0x0F); 1997 EMIT(0x0F);
1998 EMIT(0x2D); 1998 EMIT(0x2D);
1999 emit_sse_operand(dst, src); 1999 emit_sse_operand(dst, src);
2000 } 2000 }
2001 2001
2002 2002
2003 void Assembler::cvtsi2ss(XMMRegister dst, const Operand& src) {
2004 EnsureSpace ensure_space(this);
2005 EMIT(0xF3);
2006 EMIT(0x0F);
2007 EMIT(0x2A);
2008 emit_sse_operand(dst, src);
2009 }
2010
2011
2003 void Assembler::cvtsi2sd(XMMRegister dst, const Operand& src) { 2012 void Assembler::cvtsi2sd(XMMRegister dst, const Operand& src) {
2004 EnsureSpace ensure_space(this); 2013 EnsureSpace ensure_space(this);
2005 EMIT(0xF2); 2014 EMIT(0xF2);
2006 EMIT(0x0F); 2015 EMIT(0x0F);
2007 EMIT(0x2A); 2016 EMIT(0x2A);
2008 emit_sse_operand(dst, src); 2017 emit_sse_operand(dst, src);
2009 } 2018 }
2010 2019
2011 2020
2012 void Assembler::cvtss2sd(XMMRegister dst, const Operand& src) { 2021 void Assembler::cvtss2sd(XMMRegister dst, const Operand& src) {
(...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after
2940 fflush(coverage_log); 2949 fflush(coverage_log);
2941 } 2950 }
2942 } 2951 }
2943 2952
2944 #endif 2953 #endif
2945 2954
2946 } // namespace internal 2955 } // namespace internal
2947 } // namespace v8 2956 } // namespace v8
2948 2957
2949 #endif // V8_TARGET_ARCH_IA32 2958 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.h ('k') | src/x64/assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698