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

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

Issue 639283003: [turbofan] IA: TruncateFloat64ToFloat32 supports mem operand (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: ia32 port 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 | Annotate | Revision Log
« no previous file with comments | « test/cctest/test-disasm-ia32.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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 __ fwait(); 373 __ fwait();
374 __ frndint(); 374 __ frndint();
375 __ fninit(); 375 __ fninit();
376 __ nop(); 376 __ nop();
377 377
378 // SSE instruction 378 // SSE instruction
379 { 379 {
380 // Move operation 380 // Move operation
381 __ cvttss2si(rdx, Operand(rbx, rcx, times_4, 10000)); 381 __ cvttss2si(rdx, Operand(rbx, rcx, times_4, 10000));
382 __ cvttss2si(rdx, xmm1); 382 __ cvttss2si(rdx, xmm1);
383 __ cvtsd2ss(xmm0, xmm1);
384 __ cvtsd2ss(xmm0, Operand(rbx, rcx, times_4, 10000));
383 __ movaps(xmm0, xmm1); 385 __ movaps(xmm0, xmm1);
384 386
385 // logic operation 387 // logic operation
386 __ andps(xmm0, xmm1); 388 __ andps(xmm0, xmm1);
387 __ andps(xmm0, Operand(rbx, rcx, times_4, 10000)); 389 __ andps(xmm0, Operand(rbx, rcx, times_4, 10000));
388 __ orps(xmm0, xmm1); 390 __ orps(xmm0, xmm1);
389 __ orps(xmm0, Operand(rbx, rcx, times_4, 10000)); 391 __ orps(xmm0, Operand(rbx, rcx, times_4, 10000));
390 __ xorps(xmm0, xmm1); 392 __ xorps(xmm0, xmm1);
391 __ xorps(xmm0, Operand(rbx, rcx, times_4, 10000)); 393 __ xorps(xmm0, Operand(rbx, rcx, times_4, 10000));
392 394
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 #ifdef OBJECT_PRINT 475 #ifdef OBJECT_PRINT
474 OFStream os(stdout); 476 OFStream os(stdout);
475 code->Print(os); 477 code->Print(os);
476 byte* begin = code->instruction_start(); 478 byte* begin = code->instruction_start();
477 byte* end = begin + code->instruction_size(); 479 byte* end = begin + code->instruction_size();
478 disasm::Disassembler::Disassemble(stdout, begin, end); 480 disasm::Disassembler::Disassemble(stdout, begin, end);
479 #endif 481 #endif
480 } 482 }
481 483
482 #undef __ 484 #undef __
OLDNEW
« no previous file with comments | « test/cctest/test-disasm-ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698