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

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

Issue 2139513002: [Turbofan] Support 128 bit moves/swaps for x64. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Macroassembler supports xorps/vxorps. Created 4 years, 5 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/x64/macro-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 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 __ vcvttsd2si(r9, xmm6); 592 __ vcvttsd2si(r9, xmm6);
593 __ vcvttsd2si(rax, Operand(rbx, r9, times_4, 10000)); 593 __ vcvttsd2si(rax, Operand(rbx, r9, times_4, 10000));
594 __ vcvttsd2siq(rdi, xmm9); 594 __ vcvttsd2siq(rdi, xmm9);
595 __ vcvttsd2siq(r8, Operand(r9, rbx, times_4, 10000)); 595 __ vcvttsd2siq(r8, Operand(r9, rbx, times_4, 10000));
596 __ vcvtsd2si(rdi, xmm9); 596 __ vcvtsd2si(rdi, xmm9);
597 597
598 __ vmovaps(xmm10, xmm11); 598 __ vmovaps(xmm10, xmm11);
599 __ vmovapd(xmm7, xmm0); 599 __ vmovapd(xmm7, xmm0);
600 __ vmovmskpd(r9, xmm4); 600 __ vmovmskpd(r9, xmm4);
601 601
602 __ vmovups(xmm5, xmm1);
603 __ vmovups(xmm5, Operand(rdx, 4));
604 __ vmovups(Operand(rdx, 4), xmm5);
605
602 __ vandps(xmm0, xmm9, xmm2); 606 __ vandps(xmm0, xmm9, xmm2);
603 __ vandps(xmm9, xmm1, Operand(rbx, rcx, times_4, 10000)); 607 __ vandps(xmm9, xmm1, Operand(rbx, rcx, times_4, 10000));
604 __ vxorps(xmm0, xmm1, xmm9); 608 __ vxorps(xmm0, xmm1, xmm9);
605 __ vxorps(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000)); 609 __ vxorps(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000));
606 610
607 __ vandpd(xmm0, xmm9, xmm2); 611 __ vandpd(xmm0, xmm9, xmm2);
608 __ vandpd(xmm9, xmm1, Operand(rbx, rcx, times_4, 10000)); 612 __ vandpd(xmm9, xmm1, Operand(rbx, rcx, times_4, 10000));
609 __ vorpd(xmm0, xmm1, xmm9); 613 __ vorpd(xmm0, xmm1, xmm9);
610 __ vorpd(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000)); 614 __ vorpd(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000));
611 __ vxorpd(xmm0, xmm1, xmm9); 615 __ vxorpd(xmm0, xmm1, xmm9);
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 #ifdef OBJECT_PRINT 825 #ifdef OBJECT_PRINT
822 OFStream os(stdout); 826 OFStream os(stdout);
823 code->Print(os); 827 code->Print(os);
824 byte* begin = code->instruction_start(); 828 byte* begin = code->instruction_start();
825 byte* end = begin + code->instruction_size(); 829 byte* end = begin + code->instruction_size();
826 disasm::Disassembler::Disassemble(stdout, begin, end); 830 disasm::Disassembler::Disassemble(stdout, begin, end);
827 #endif 831 #endif
828 } 832 }
829 833
830 #undef __ 834 #undef __
OLDNEW
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698