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

Side by Side Diff: test/cctest/test-disasm-x64.cc

Issue 1404903004: [x64] Use vcvtlsi2sd when AVX is enabled (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix the test on Win64 Created 5 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 | « test/cctest/test-assembler-x64.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 __ vsubsd(xmm0, xmm1, xmm2); 523 __ vsubsd(xmm0, xmm1, xmm2);
524 __ vsubsd(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000)); 524 __ vsubsd(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000));
525 __ vdivsd(xmm0, xmm1, xmm2); 525 __ vdivsd(xmm0, xmm1, xmm2);
526 __ vdivsd(xmm0, xmm1, Operand(rbx, rcx, times_2, 10000)); 526 __ vdivsd(xmm0, xmm1, Operand(rbx, rcx, times_2, 10000));
527 __ vminsd(xmm8, xmm1, xmm2); 527 __ vminsd(xmm8, xmm1, xmm2);
528 __ vminsd(xmm9, xmm1, Operand(rbx, rcx, times_8, 10000)); 528 __ vminsd(xmm9, xmm1, Operand(rbx, rcx, times_8, 10000));
529 __ vmaxsd(xmm8, xmm1, xmm2); 529 __ vmaxsd(xmm8, xmm1, xmm2);
530 __ vmaxsd(xmm9, xmm1, Operand(rbx, rcx, times_1, 10000)); 530 __ vmaxsd(xmm9, xmm1, Operand(rbx, rcx, times_1, 10000));
531 __ vucomisd(xmm9, xmm1); 531 __ vucomisd(xmm9, xmm1);
532 __ vucomisd(xmm8, Operand(rbx, rdx, times_2, 10981)); 532 __ vucomisd(xmm8, Operand(rbx, rdx, times_2, 10981));
533 __ vcvtlsi2sd(xmm5, xmm9, rcx);
534 __ vcvtlsi2sd(xmm9, xmm3, Operand(rbx, r9, times_4, 10000));
533 535
534 __ vandps(xmm0, xmm9, xmm2); 536 __ vandps(xmm0, xmm9, xmm2);
535 __ vandps(xmm9, xmm1, Operand(rbx, rcx, times_4, 10000)); 537 __ vandps(xmm9, xmm1, Operand(rbx, rcx, times_4, 10000));
536 __ vxorps(xmm0, xmm1, xmm9); 538 __ vxorps(xmm0, xmm1, xmm9);
537 __ vxorps(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000)); 539 __ vxorps(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000));
538 540
539 __ vandpd(xmm0, xmm9, xmm2); 541 __ vandpd(xmm0, xmm9, xmm2);
540 __ vandpd(xmm9, xmm1, Operand(rbx, rcx, times_4, 10000)); 542 __ vandpd(xmm9, xmm1, Operand(rbx, rcx, times_4, 10000));
541 __ vxorpd(xmm0, xmm1, xmm9); 543 __ vxorpd(xmm0, xmm1, xmm9);
542 __ vxorpd(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000)); 544 __ vxorpd(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000));
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 #ifdef OBJECT_PRINT 729 #ifdef OBJECT_PRINT
728 OFStream os(stdout); 730 OFStream os(stdout);
729 code->Print(os); 731 code->Print(os);
730 byte* begin = code->instruction_start(); 732 byte* begin = code->instruction_start();
731 byte* end = begin + code->instruction_size(); 733 byte* end = begin + code->instruction_size();
732 disasm::Disassembler::Disassemble(stdout, begin, end); 734 disasm::Disassembler::Disassemble(stdout, begin, end);
733 #endif 735 #endif
734 } 736 }
735 737
736 #undef __ 738 #undef __
OLDNEW
« no previous file with comments | « test/cctest/test-assembler-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698