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

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

Issue 639283003: [turbofan] IA: TruncateFloat64ToFloat32 supports mem operand (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: ia32 port Created 6 years, 2 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/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 1942 matching lines...) Expand 10 before | Expand all | Expand 10 after
1953 1953
1954 void Assembler::cvtss2sd(XMMRegister dst, XMMRegister src) { 1954 void Assembler::cvtss2sd(XMMRegister dst, XMMRegister src) {
1955 EnsureSpace ensure_space(this); 1955 EnsureSpace ensure_space(this);
1956 EMIT(0xF3); 1956 EMIT(0xF3);
1957 EMIT(0x0F); 1957 EMIT(0x0F);
1958 EMIT(0x5A); 1958 EMIT(0x5A);
1959 emit_sse_operand(dst, src); 1959 emit_sse_operand(dst, src);
1960 } 1960 }
1961 1961
1962 1962
1963 void Assembler::cvtsd2ss(XMMRegister dst, XMMRegister src) { 1963 void Assembler::cvtsd2ss(XMMRegister dst, const Operand& src) {
1964 EnsureSpace ensure_space(this); 1964 EnsureSpace ensure_space(this);
1965 EMIT(0xF2); 1965 EMIT(0xF2);
1966 EMIT(0x0F); 1966 EMIT(0x0F);
1967 EMIT(0x5A); 1967 EMIT(0x5A);
1968 emit_sse_operand(dst, src); 1968 emit_sse_operand(dst, src);
1969 } 1969 }
1970 1970
1971 1971
1972 void Assembler::addsd(XMMRegister dst, XMMRegister src) { 1972 void Assembler::addsd(XMMRegister dst, XMMRegister src) {
1973 EnsureSpace ensure_space(this); 1973 EnsureSpace ensure_space(this);
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
2667 fprintf(coverage_log, "%s\n", file_line); 2667 fprintf(coverage_log, "%s\n", file_line);
2668 fflush(coverage_log); 2668 fflush(coverage_log);
2669 } 2669 }
2670 } 2670 }
2671 2671
2672 #endif 2672 #endif
2673 2673
2674 } } // namespace v8::internal 2674 } } // namespace v8::internal
2675 2675
2676 #endif // V8_TARGET_ARCH_IA32 2676 #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