OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |