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

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

Issue 7778013: NewGC: Merge bleeding edge up to 9009. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: Created 9 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 1948 matching lines...) Expand 10 before | Expand all | Expand 10 after
1959 void Assembler::ucomisd(XMMRegister dst, XMMRegister src) { 1959 void Assembler::ucomisd(XMMRegister dst, XMMRegister src) {
1960 ASSERT(CpuFeatures::IsEnabled(SSE2)); 1960 ASSERT(CpuFeatures::IsEnabled(SSE2));
1961 EnsureSpace ensure_space(this); 1961 EnsureSpace ensure_space(this);
1962 EMIT(0x66); 1962 EMIT(0x66);
1963 EMIT(0x0F); 1963 EMIT(0x0F);
1964 EMIT(0x2E); 1964 EMIT(0x2E);
1965 emit_sse_operand(dst, src); 1965 emit_sse_operand(dst, src);
1966 } 1966 }
1967 1967
1968 1968
1969 void Assembler::roundsd(XMMRegister dst, XMMRegister src, RoundingMode mode) {
1970 ASSERT(CpuFeatures::IsEnabled(SSE4_1));
1971 EnsureSpace ensure_space(this);
1972 EMIT(0x66);
1973 EMIT(0x0F);
1974 EMIT(0x3A);
1975 EMIT(0x0B);
1976 emit_sse_operand(dst, src);
1977 // Mask precision exeption.
1978 EMIT(static_cast<byte>(mode) | 0x8);
1979 }
1980
1969 void Assembler::movmskpd(Register dst, XMMRegister src) { 1981 void Assembler::movmskpd(Register dst, XMMRegister src) {
1970 ASSERT(CpuFeatures::IsEnabled(SSE2)); 1982 ASSERT(CpuFeatures::IsEnabled(SSE2));
1971 EnsureSpace ensure_space(this); 1983 EnsureSpace ensure_space(this);
1972 EMIT(0x66); 1984 EMIT(0x66);
1973 EMIT(0x0F); 1985 EMIT(0x0F);
1974 EMIT(0x50); 1986 EMIT(0x50);
1975 emit_sse_operand(dst, src); 1987 emit_sse_operand(dst, src);
1976 } 1988 }
1977 1989
1978 1990
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
2494 fprintf(coverage_log, "%s\n", file_line); 2506 fprintf(coverage_log, "%s\n", file_line);
2495 fflush(coverage_log); 2507 fflush(coverage_log);
2496 } 2508 }
2497 } 2509 }
2498 2510
2499 #endif 2511 #endif
2500 2512
2501 } } // namespace v8::internal 2513 } } // namespace v8::internal
2502 2514
2503 #endif // V8_TARGET_ARCH_IA32 2515 #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