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

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

Issue 10937013: Fixed minus zero test (fixes v8:2133). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Removed tab. Created 8 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/assembler-ia32.h ('k') | src/ia32/code-stubs-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 (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 2087 matching lines...) Expand 10 before | Expand all | Expand 10 after
2098 void Assembler::movmskpd(Register dst, XMMRegister src) { 2098 void Assembler::movmskpd(Register dst, XMMRegister src) {
2099 ASSERT(CpuFeatures::IsEnabled(SSE2)); 2099 ASSERT(CpuFeatures::IsEnabled(SSE2));
2100 EnsureSpace ensure_space(this); 2100 EnsureSpace ensure_space(this);
2101 EMIT(0x66); 2101 EMIT(0x66);
2102 EMIT(0x0F); 2102 EMIT(0x0F);
2103 EMIT(0x50); 2103 EMIT(0x50);
2104 emit_sse_operand(dst, src); 2104 emit_sse_operand(dst, src);
2105 } 2105 }
2106 2106
2107 2107
2108 void Assembler::pcmpeqd(XMMRegister dst, XMMRegister src) {
2109 ASSERT(CpuFeatures::IsEnabled(SSE2));
2110 EnsureSpace ensure_space(this);
2111 EMIT(0x66);
2112 EMIT(0x0F);
2113 EMIT(0x76);
2114 emit_sse_operand(dst, src);
2115 }
2116
2117
2108 void Assembler::cmpltsd(XMMRegister dst, XMMRegister src) { 2118 void Assembler::cmpltsd(XMMRegister dst, XMMRegister src) {
2109 ASSERT(CpuFeatures::IsEnabled(SSE2)); 2119 ASSERT(CpuFeatures::IsEnabled(SSE2));
2110 EnsureSpace ensure_space(this); 2120 EnsureSpace ensure_space(this);
2111 EMIT(0xF2); 2121 EMIT(0xF2);
2112 EMIT(0x0F); 2122 EMIT(0x0F);
2113 EMIT(0xC2); 2123 EMIT(0xC2);
2114 emit_sse_operand(dst, src); 2124 emit_sse_operand(dst, src);
2115 EMIT(1); // LT == 1 2125 EMIT(1); // LT == 1
2116 } 2126 }
2117 2127
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
2636 fprintf(coverage_log, "%s\n", file_line); 2646 fprintf(coverage_log, "%s\n", file_line);
2637 fflush(coverage_log); 2647 fflush(coverage_log);
2638 } 2648 }
2639 } 2649 }
2640 2650
2641 #endif 2651 #endif
2642 2652
2643 } } // namespace v8::internal 2653 } } // namespace v8::internal
2644 2654
2645 #endif // V8_TARGET_ARCH_IA32 2655 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.h ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698