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

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

Issue 1421733003: [x64] Make MathMinMax use AVX instructions when available. (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 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 __ vmovapd(xmm7, xmm0); 558 __ vmovapd(xmm7, xmm0);
559 __ vmovmskpd(r9, xmm4); 559 __ vmovmskpd(r9, xmm4);
560 560
561 __ vandps(xmm0, xmm9, xmm2); 561 __ vandps(xmm0, xmm9, xmm2);
562 __ vandps(xmm9, xmm1, Operand(rbx, rcx, times_4, 10000)); 562 __ vandps(xmm9, xmm1, Operand(rbx, rcx, times_4, 10000));
563 __ vxorps(xmm0, xmm1, xmm9); 563 __ vxorps(xmm0, xmm1, xmm9);
564 __ vxorps(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000)); 564 __ vxorps(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000));
565 565
566 __ vandpd(xmm0, xmm9, xmm2); 566 __ vandpd(xmm0, xmm9, xmm2);
567 __ vandpd(xmm9, xmm1, Operand(rbx, rcx, times_4, 10000)); 567 __ vandpd(xmm9, xmm1, Operand(rbx, rcx, times_4, 10000));
568 __ vorpd(xmm0, xmm1, xmm9);
569 __ vorpd(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000));
568 __ vxorpd(xmm0, xmm1, xmm9); 570 __ vxorpd(xmm0, xmm1, xmm9);
569 __ vxorpd(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000)); 571 __ vxorpd(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000));
570 572
571 __ vpcmpeqd(xmm0, xmm15, xmm5); 573 __ vpcmpeqd(xmm0, xmm15, xmm5);
572 __ vpcmpeqd(xmm15, xmm0, Operand(rbx, rcx, times_4, 10000)); 574 __ vpcmpeqd(xmm15, xmm0, Operand(rbx, rcx, times_4, 10000));
573 __ vpsllq(xmm0, xmm15, 21); 575 __ vpsllq(xmm0, xmm15, 21);
574 __ vpsrlq(xmm15, xmm0, 21); 576 __ vpsrlq(xmm15, xmm0, 21);
575 } 577 }
576 } 578 }
577 579
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
759 #ifdef OBJECT_PRINT 761 #ifdef OBJECT_PRINT
760 OFStream os(stdout); 762 OFStream os(stdout);
761 code->Print(os); 763 code->Print(os);
762 byte* begin = code->instruction_start(); 764 byte* begin = code->instruction_start();
763 byte* end = begin + code->instruction_size(); 765 byte* end = begin + code->instruction_size();
764 disasm::Disassembler::Disassemble(stdout, begin, end); 766 disasm::Disassembler::Disassemble(stdout, begin, end);
765 #endif 767 #endif
766 } 768 }
767 769
768 #undef __ 770 #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