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 1391963005: [x64] Use vmovapd and vmovsd when AVX is enabled. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix Win compile. 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-code-stubs-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 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 __ vsubss(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000)); 504 __ vsubss(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000));
505 __ vdivss(xmm0, xmm1, xmm2); 505 __ vdivss(xmm0, xmm1, xmm2);
506 __ vdivss(xmm0, xmm1, Operand(rbx, rcx, times_2, 10000)); 506 __ vdivss(xmm0, xmm1, Operand(rbx, rcx, times_2, 10000));
507 __ vminss(xmm8, xmm1, xmm2); 507 __ vminss(xmm8, xmm1, xmm2);
508 __ vminss(xmm9, xmm1, Operand(rbx, rcx, times_8, 10000)); 508 __ vminss(xmm9, xmm1, Operand(rbx, rcx, times_8, 10000));
509 __ vmaxss(xmm8, xmm1, xmm2); 509 __ vmaxss(xmm8, xmm1, xmm2);
510 __ vmaxss(xmm9, xmm1, Operand(rbx, rcx, times_1, 10000)); 510 __ vmaxss(xmm9, xmm1, Operand(rbx, rcx, times_1, 10000));
511 __ vucomiss(xmm9, xmm1); 511 __ vucomiss(xmm9, xmm1);
512 __ vucomiss(xmm8, Operand(rbx, rdx, times_2, 10981)); 512 __ vucomiss(xmm8, Operand(rbx, rdx, times_2, 10981));
513 513
514 __ vmovapd(xmm7, xmm0);
515 __ vmovsd(xmm6, xmm2);
516 __ vmovsd(xmm9, Operand(rbx, rcx, times_4, 10000));
517 __ vmovsd(Operand(rbx, rcx, times_4, 10000), xmm0);
518
514 __ vaddsd(xmm0, xmm1, xmm2); 519 __ vaddsd(xmm0, xmm1, xmm2);
515 __ vaddsd(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000)); 520 __ vaddsd(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000));
516 __ vmulsd(xmm0, xmm1, xmm2); 521 __ vmulsd(xmm0, xmm1, xmm2);
517 __ vmulsd(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000)); 522 __ vmulsd(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000));
518 __ vsubsd(xmm0, xmm1, xmm2); 523 __ vsubsd(xmm0, xmm1, xmm2);
519 __ vsubsd(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000)); 524 __ vsubsd(xmm0, xmm1, Operand(rbx, rcx, times_4, 10000));
520 __ vdivsd(xmm0, xmm1, xmm2); 525 __ vdivsd(xmm0, xmm1, xmm2);
521 __ vdivsd(xmm0, xmm1, Operand(rbx, rcx, times_2, 10000)); 526 __ vdivsd(xmm0, xmm1, Operand(rbx, rcx, times_2, 10000));
522 __ vminsd(xmm8, xmm1, xmm2); 527 __ vminsd(xmm8, xmm1, xmm2);
523 __ vminsd(xmm9, xmm1, Operand(rbx, rcx, times_8, 10000)); 528 __ vminsd(xmm9, xmm1, Operand(rbx, rcx, times_8, 10000));
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 #ifdef OBJECT_PRINT 727 #ifdef OBJECT_PRINT
723 OFStream os(stdout); 728 OFStream os(stdout);
724 code->Print(os); 729 code->Print(os);
725 byte* begin = code->instruction_start(); 730 byte* begin = code->instruction_start();
726 byte* end = begin + code->instruction_size(); 731 byte* end = begin + code->instruction_size();
727 disasm::Disassembler::Disassemble(stdout, begin, end); 732 disasm::Disassembler::Disassemble(stdout, begin, end);
728 #endif 733 #endif
729 } 734 }
730 735
731 #undef __ 736 #undef __
OLDNEW
« no previous file with comments | « test/cctest/test-code-stubs-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698