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

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

Issue 641153003: [turbofan]IA: ChangeFloat32ToFloat64 supports mem operand (Closed) Base URL: https://github.com/v8/v8.git@bleeding_edge
Patch Set: Created 6 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/compiler/test-run-machops.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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 __ subps(xmm1, xmm0); 404 __ subps(xmm1, xmm0);
405 __ subps(xmm1, Operand(ebx, ecx, times_4, 10000)); 405 __ subps(xmm1, Operand(ebx, ecx, times_4, 10000));
406 __ mulps(xmm1, xmm0); 406 __ mulps(xmm1, xmm0);
407 __ mulps(xmm1, Operand(ebx, ecx, times_4, 10000)); 407 __ mulps(xmm1, Operand(ebx, ecx, times_4, 10000));
408 __ divps(xmm1, xmm0); 408 __ divps(xmm1, xmm0);
409 __ divps(xmm1, Operand(ebx, ecx, times_4, 10000)); 409 __ divps(xmm1, Operand(ebx, ecx, times_4, 10000));
410 } 410 }
411 { 411 {
412 __ cvttss2si(edx, Operand(ebx, ecx, times_4, 10000)); 412 __ cvttss2si(edx, Operand(ebx, ecx, times_4, 10000));
413 __ cvtsi2sd(xmm1, Operand(ebx, ecx, times_4, 10000)); 413 __ cvtsi2sd(xmm1, Operand(ebx, ecx, times_4, 10000));
414 __ cvtss2sd(xmm1, Operand(ebx, ecx, times_4, 10000));
415 __ cvtss2sd(xmm1, xmm0);
414 __ movsd(xmm1, Operand(ebx, ecx, times_4, 10000)); 416 __ movsd(xmm1, Operand(ebx, ecx, times_4, 10000));
415 __ movsd(Operand(ebx, ecx, times_4, 10000), xmm1); 417 __ movsd(Operand(ebx, ecx, times_4, 10000), xmm1);
416 // 128 bit move instructions. 418 // 128 bit move instructions.
417 __ movdqa(xmm0, Operand(ebx, ecx, times_4, 10000)); 419 __ movdqa(xmm0, Operand(ebx, ecx, times_4, 10000));
418 __ movdqa(Operand(ebx, ecx, times_4, 10000), xmm0); 420 __ movdqa(Operand(ebx, ecx, times_4, 10000), xmm0);
419 __ movdqu(xmm0, Operand(ebx, ecx, times_4, 10000)); 421 __ movdqu(xmm0, Operand(ebx, ecx, times_4, 10000));
420 __ movdqu(Operand(ebx, ecx, times_4, 10000), xmm0); 422 __ movdqu(Operand(ebx, ecx, times_4, 10000), xmm0);
421 423
422 __ addsd(xmm1, xmm0); 424 __ addsd(xmm1, xmm0);
423 __ mulsd(xmm1, xmm0); 425 __ mulsd(xmm1, xmm0);
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 #ifdef OBJECT_PRINT 489 #ifdef OBJECT_PRINT
488 OFStream os(stdout); 490 OFStream os(stdout);
489 code->Print(os); 491 code->Print(os);
490 byte* begin = code->instruction_start(); 492 byte* begin = code->instruction_start();
491 byte* end = begin + code->instruction_size(); 493 byte* end = begin + code->instruction_size();
492 disasm::Disassembler::Disassemble(stdout, begin, end); 494 disasm::Disassembler::Disassemble(stdout, begin, end);
493 #endif 495 #endif
494 } 496 }
495 497
496 #undef __ 498 #undef __
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-run-machops.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698