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

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

Issue 1413903003: [x64] Implement vcvtsd2si AVX instruction. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 __ vcvtsd2ss(xmm9, xmm3, xmm2); 550 __ vcvtsd2ss(xmm9, xmm3, xmm2);
551 __ vcvtss2sd(xmm4, xmm9, Operand(rbx, rcx, times_1, 10000)); 551 __ vcvtss2sd(xmm4, xmm9, Operand(rbx, rcx, times_1, 10000));
552 __ vcvtsd2ss(xmm9, xmm3, Operand(rbx, rcx, times_1, 10000)); 552 __ vcvtsd2ss(xmm9, xmm3, Operand(rbx, rcx, times_1, 10000));
553 __ vcvtlsi2sd(xmm5, xmm9, rcx); 553 __ vcvtlsi2sd(xmm5, xmm9, rcx);
554 __ vcvtlsi2sd(xmm9, xmm3, Operand(rbx, r9, times_4, 10000)); 554 __ vcvtlsi2sd(xmm9, xmm3, Operand(rbx, r9, times_4, 10000));
555 __ vcvtqsi2sd(xmm5, xmm9, r11); 555 __ vcvtqsi2sd(xmm5, xmm9, r11);
556 __ vcvttsd2si(r9, xmm6); 556 __ vcvttsd2si(r9, xmm6);
557 __ vcvttsd2si(rax, Operand(rbx, r9, times_4, 10000)); 557 __ vcvttsd2si(rax, Operand(rbx, r9, times_4, 10000));
558 __ vcvttsd2siq(rdi, xmm9); 558 __ vcvttsd2siq(rdi, xmm9);
559 __ vcvttsd2siq(r8, Operand(r9, rbx, times_4, 10000)); 559 __ vcvttsd2siq(r8, Operand(r9, rbx, times_4, 10000));
560 __ vcvtsd2si(rdi, xmm9);
560 561
561 __ vmovaps(xmm10, xmm11); 562 __ vmovaps(xmm10, xmm11);
562 __ vmovapd(xmm7, xmm0); 563 __ vmovapd(xmm7, xmm0);
563 __ vmovmskpd(r9, xmm4); 564 __ vmovmskpd(r9, xmm4);
564 565
565 __ vandps(xmm0, xmm9, xmm2); 566 __ vandps(xmm0, xmm9, xmm2);
566 __ vandps(xmm9, xmm1, Operand(rbx, rcx, times_4, 10000)); 567 __ vandps(xmm9, xmm1, Operand(rbx, rcx, times_4, 10000));
567 __ vxorps(xmm0, xmm1, xmm9); 568 __ vxorps(xmm0, xmm1, xmm9);
568 __ vxorps(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000)); 569 __ vxorps(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000));
569 570
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 #ifdef OBJECT_PRINT 766 #ifdef OBJECT_PRINT
766 OFStream os(stdout); 767 OFStream os(stdout);
767 code->Print(os); 768 code->Print(os);
768 byte* begin = code->instruction_start(); 769 byte* begin = code->instruction_start();
769 byte* end = begin + code->instruction_size(); 770 byte* end = begin + code->instruction_size();
770 disasm::Disassembler::Disassemble(stdout, begin, end); 771 disasm::Disassembler::Disassemble(stdout, begin, end);
771 #endif 772 #endif
772 } 773 }
773 774
774 #undef __ 775 #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