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

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

Issue 1420653005: [x64] Implemennt vroundsd AVX instruction. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 __ vmulsd(xmm0, xmm1, xmm2); 533 __ vmulsd(xmm0, xmm1, xmm2);
534 __ vmulsd(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000)); 534 __ vmulsd(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000));
535 __ vsubsd(xmm0, xmm1, xmm2); 535 __ vsubsd(xmm0, xmm1, xmm2);
536 __ vsubsd(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000)); 536 __ vsubsd(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000));
537 __ vdivsd(xmm0, xmm1, xmm2); 537 __ vdivsd(xmm0, xmm1, xmm2);
538 __ vdivsd(xmm0, xmm1, Operand(rbx, rcx, times_2, 10000)); 538 __ vdivsd(xmm0, xmm1, Operand(rbx, rcx, times_2, 10000));
539 __ vminsd(xmm8, xmm1, xmm2); 539 __ vminsd(xmm8, xmm1, xmm2);
540 __ vminsd(xmm9, xmm1, Operand(rbx, rcx, times_8, 10000)); 540 __ vminsd(xmm9, xmm1, Operand(rbx, rcx, times_8, 10000));
541 __ vmaxsd(xmm8, xmm1, xmm2); 541 __ vmaxsd(xmm8, xmm1, xmm2);
542 __ vmaxsd(xmm9, xmm1, Operand(rbx, rcx, times_1, 10000)); 542 __ vmaxsd(xmm9, xmm1, Operand(rbx, rcx, times_1, 10000));
543 __ vroundsd(xmm8, xmm3, xmm0, kRoundDown);
543 __ vsqrtsd(xmm8, xmm1, xmm2); 544 __ vsqrtsd(xmm8, xmm1, xmm2);
544 __ vsqrtsd(xmm9, xmm1, Operand(rbx, rcx, times_1, 10000)); 545 __ vsqrtsd(xmm9, xmm1, Operand(rbx, rcx, times_1, 10000));
545 __ vucomisd(xmm9, xmm1); 546 __ vucomisd(xmm9, xmm1);
546 __ vucomisd(xmm8, Operand(rbx, rdx, times_2, 10981)); 547 __ vucomisd(xmm8, Operand(rbx, rdx, times_2, 10981));
547 548
548 __ vcvtss2sd(xmm4, xmm9, xmm11); 549 __ vcvtss2sd(xmm4, xmm9, xmm11);
549 __ vcvtsd2ss(xmm9, xmm3, xmm2); 550 __ vcvtsd2ss(xmm9, xmm3, xmm2);
550 __ vcvtss2sd(xmm4, xmm9, Operand(rbx, rcx, times_1, 10000)); 551 __ vcvtss2sd(xmm4, xmm9, Operand(rbx, rcx, times_1, 10000));
551 __ vcvtsd2ss(xmm9, xmm3, Operand(rbx, rcx, times_1, 10000)); 552 __ vcvtsd2ss(xmm9, xmm3, Operand(rbx, rcx, times_1, 10000));
552 __ vcvtlsi2sd(xmm5, xmm9, rcx); 553 __ vcvtlsi2sd(xmm5, xmm9, rcx);
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 #ifdef OBJECT_PRINT 764 #ifdef OBJECT_PRINT
764 OFStream os(stdout); 765 OFStream os(stdout);
765 code->Print(os); 766 code->Print(os);
766 byte* begin = code->instruction_start(); 767 byte* begin = code->instruction_start();
767 byte* end = begin + code->instruction_size(); 768 byte* end = begin + code->instruction_size();
768 disasm::Disassembler::Disassemble(stdout, begin, end); 769 disasm::Disassembler::Disassemble(stdout, begin, end);
769 #endif 770 #endif
770 } 771 }
771 772
772 #undef __ 773 #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