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

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

Issue 507040: -Inlined double variant of compare iff one of the sides is a constant smi and... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years 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 | Annotate | Revision Log
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 1986 matching lines...) Expand 10 before | Expand all | Expand 10 after
1997 ASSERT(CpuFeatures::IsEnabled(SSE2)); 1997 ASSERT(CpuFeatures::IsEnabled(SSE2));
1998 EnsureSpace ensure_space(this); 1998 EnsureSpace ensure_space(this);
1999 last_pc_ = pc_; 1999 last_pc_ = pc_;
2000 EMIT(0xF2); 2000 EMIT(0xF2);
2001 EMIT(0x0F); 2001 EMIT(0x0F);
2002 EMIT(0x5E); 2002 EMIT(0x5E);
2003 emit_sse_operand(dst, src); 2003 emit_sse_operand(dst, src);
2004 } 2004 }
2005 2005
2006 2006
2007 void Assembler::xorpd(XMMRegister dst, XMMRegister src) {
2008 ASSERT(CpuFeatures::IsEnabled(SSE2));
2009 EnsureSpace ensure_space(this);
2010 last_pc_ = pc_;
2011 EMIT(0x66);
2012 EMIT(0x0F);
2013 EMIT(0x57);
2014 emit_sse_operand(dst, src);
2015 }
2016
2017
2007 void Assembler::comisd(XMMRegister dst, XMMRegister src) { 2018 void Assembler::comisd(XMMRegister dst, XMMRegister src) {
2008 ASSERT(CpuFeatures::IsEnabled(SSE2)); 2019 ASSERT(CpuFeatures::IsEnabled(SSE2));
2009 EnsureSpace ensure_space(this); 2020 EnsureSpace ensure_space(this);
2010 last_pc_ = pc_; 2021 last_pc_ = pc_;
2011 EMIT(0x66); 2022 EMIT(0x66);
2012 EMIT(0x0F); 2023 EMIT(0x0F);
2013 EMIT(0x2F); 2024 EMIT(0x2F);
2014 emit_sse_operand(dst, src); 2025 emit_sse_operand(dst, src);
2015 } 2026 }
2016 2027
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
2284 push_insn[1] = 13; // Skip over coverage insns. 2295 push_insn[1] = 13; // Skip over coverage insns.
2285 if (coverage_log != NULL) { 2296 if (coverage_log != NULL) {
2286 fprintf(coverage_log, "%s\n", file_line); 2297 fprintf(coverage_log, "%s\n", file_line);
2287 fflush(coverage_log); 2298 fflush(coverage_log);
2288 } 2299 }
2289 } 2300 }
2290 2301
2291 #endif 2302 #endif
2292 2303
2293 } } // namespace v8::internal 2304 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.h ('k') | src/ia32/codegen-ia32.h » ('j') | src/ia32/codegen-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698