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

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

Issue 16082008: Increase sanity of integer division handling on ARM (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed Rodolph's comments Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/hydrogen-instructions.cc ('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 2333 matching lines...) Expand 10 before | Expand all | Expand 10 after
2344 ASSERT(IsEnabled(SSE2)); 2344 ASSERT(IsEnabled(SSE2));
2345 EnsureSpace ensure_space(this); 2345 EnsureSpace ensure_space(this);
2346 EMIT(0x66); 2346 EMIT(0x66);
2347 EMIT(0x0F); 2347 EMIT(0x0F);
2348 EMIT(0x7E); 2348 EMIT(0x7E);
2349 emit_sse_operand(src, dst); 2349 emit_sse_operand(src, dst);
2350 } 2350 }
2351 2351
2352 2352
2353 void Assembler::extractps(Register dst, XMMRegister src, byte imm8) { 2353 void Assembler::extractps(Register dst, XMMRegister src, byte imm8) {
2354 ASSERT(CpuFeatures::IsSupported(SSE4_1)); 2354 ASSERT(IsEnabled(SSE4_1));
2355 ASSERT(is_uint8(imm8)); 2355 ASSERT(is_uint8(imm8));
2356 EnsureSpace ensure_space(this); 2356 EnsureSpace ensure_space(this);
2357 EMIT(0x66); 2357 EMIT(0x66);
2358 EMIT(0x0F); 2358 EMIT(0x0F);
2359 EMIT(0x3A); 2359 EMIT(0x3A);
2360 EMIT(0x17); 2360 EMIT(0x17);
2361 emit_sse_operand(dst, src); 2361 emit_sse_operand(dst, src);
2362 EMIT(imm8); 2362 EMIT(imm8);
2363 } 2363 }
2364 2364
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
2695 fprintf(coverage_log, "%s\n", file_line); 2695 fprintf(coverage_log, "%s\n", file_line);
2696 fflush(coverage_log); 2696 fflush(coverage_log);
2697 } 2697 }
2698 } 2698 }
2699 2699
2700 #endif 2700 #endif
2701 2701
2702 } } // namespace v8::internal 2702 } } // namespace v8::internal
2703 2703
2704 #endif // V8_TARGET_ARCH_IA32 2704 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698