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

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

Issue 299423005: Relax register constraints for LMathSqrt. (Closed) Base URL: git@github.com:v8/v8.git@master
Patch Set: x64 fix Created 6 years, 6 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/ia32/lithium-codegen-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 2045 matching lines...) Expand 10 before | Expand all | Expand 10 after
2056 2056
2057 void Assembler::sqrtsd(XMMRegister dst, XMMRegister src) { 2057 void Assembler::sqrtsd(XMMRegister dst, XMMRegister src) {
2058 EnsureSpace ensure_space(this); 2058 EnsureSpace ensure_space(this);
2059 EMIT(0xF2); 2059 EMIT(0xF2);
2060 EMIT(0x0F); 2060 EMIT(0x0F);
2061 EMIT(0x51); 2061 EMIT(0x51);
2062 emit_sse_operand(dst, src); 2062 emit_sse_operand(dst, src);
2063 } 2063 }
2064 2064
2065 2065
2066 void Assembler::sqrtsd(XMMRegister dst, const Operand& src) {
2067 EnsureSpace ensure_space(this);
2068 EMIT(0xF2);
2069 EMIT(0x0F);
2070 EMIT(0x51);
2071 emit_sse_operand(dst, src);
2072 }
2073
2074
2066 void Assembler::andpd(XMMRegister dst, XMMRegister src) { 2075 void Assembler::andpd(XMMRegister dst, XMMRegister src) {
2067 EnsureSpace ensure_space(this); 2076 EnsureSpace ensure_space(this);
2068 EMIT(0x66); 2077 EMIT(0x66);
2069 EMIT(0x0F); 2078 EMIT(0x0F);
2070 EMIT(0x54); 2079 EMIT(0x54);
2071 emit_sse_operand(dst, src); 2080 emit_sse_operand(dst, src);
2072 } 2081 }
2073 2082
2074 2083
2075 void Assembler::orpd(XMMRegister dst, XMMRegister src) { 2084 void Assembler::orpd(XMMRegister dst, XMMRegister src) {
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
2628 fprintf(coverage_log, "%s\n", file_line); 2637 fprintf(coverage_log, "%s\n", file_line);
2629 fflush(coverage_log); 2638 fflush(coverage_log);
2630 } 2639 }
2631 } 2640 }
2632 2641
2633 #endif 2642 #endif
2634 2643
2635 } } // namespace v8::internal 2644 } } // namespace v8::internal
2636 2645
2637 #endif // V8_TARGET_ARCH_IA32 2646 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.h ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698