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

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

Issue 3505003: Mark ptest instruction as requiring SSE4.1. (Closed)
Patch Set: Created 10 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
« no previous file with comments | « src/ia32/assembler-ia32.h ('k') | no next file » | 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 2396 matching lines...) Expand 10 before | Expand all | Expand 10 after
2407 EnsureSpace ensure_space(this); 2407 EnsureSpace ensure_space(this);
2408 last_pc_ = pc_; 2408 last_pc_ = pc_;
2409 EMIT(0x66); 2409 EMIT(0x66);
2410 EMIT(0x0F); 2410 EMIT(0x0F);
2411 EMIT(0xEF); 2411 EMIT(0xEF);
2412 emit_sse_operand(dst, src); 2412 emit_sse_operand(dst, src);
2413 } 2413 }
2414 2414
2415 2415
2416 void Assembler::ptest(XMMRegister dst, XMMRegister src) { 2416 void Assembler::ptest(XMMRegister dst, XMMRegister src) {
2417 ASSERT(CpuFeatures::IsEnabled(SSE2)); 2417 ASSERT(CpuFeatures::IsEnabled(SSE4_1));
2418 EnsureSpace ensure_space(this); 2418 EnsureSpace ensure_space(this);
2419 last_pc_ = pc_; 2419 last_pc_ = pc_;
2420 EMIT(0x66); 2420 EMIT(0x66);
2421 EMIT(0x0F); 2421 EMIT(0x0F);
2422 EMIT(0x38); 2422 EMIT(0x38);
2423 EMIT(0x17); 2423 EMIT(0x17);
2424 emit_sse_operand(dst, src); 2424 emit_sse_operand(dst, src);
2425 } 2425 }
2426 2426
2427 2427
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
2691 fprintf(coverage_log, "%s\n", file_line); 2691 fprintf(coverage_log, "%s\n", file_line);
2692 fflush(coverage_log); 2692 fflush(coverage_log);
2693 } 2693 }
2694 } 2694 }
2695 2695
2696 #endif 2696 #endif
2697 2697
2698 } } // namespace v8::internal 2698 } } // namespace v8::internal
2699 2699
2700 #endif // V8_TARGET_ARCH_IA32 2700 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698