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

Side by Side Diff: test/cctest/test-disasm-ia32.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/compiler/test-run-machops.cc ('k') | test/cctest/test-disasm-x64.cc » ('j') | 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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 __ fwait(); 382 __ fwait();
383 __ frndint(); 383 __ frndint();
384 __ fninit(); 384 __ fninit();
385 __ nop(); 385 __ nop();
386 386
387 // SSE instruction 387 // SSE instruction
388 { 388 {
389 // Move operation 389 // Move operation
390 __ movaps(xmm0, xmm1); 390 __ movaps(xmm0, xmm1);
391 __ shufps(xmm0, xmm0, 0x0); 391 __ shufps(xmm0, xmm0, 0x0);
392 __ cvtsd2ss(xmm0, xmm1);
393 __ cvtsd2ss(xmm0, Operand(ebx, ecx, times_4, 10000));
392 394
393 // logic operation 395 // logic operation
394 __ andps(xmm0, xmm1); 396 __ andps(xmm0, xmm1);
395 __ andps(xmm0, Operand(ebx, ecx, times_4, 10000)); 397 __ andps(xmm0, Operand(ebx, ecx, times_4, 10000));
396 __ orps(xmm0, xmm1); 398 __ orps(xmm0, xmm1);
397 __ orps(xmm0, Operand(ebx, ecx, times_4, 10000)); 399 __ orps(xmm0, Operand(ebx, ecx, times_4, 10000));
398 __ xorps(xmm0, xmm1); 400 __ xorps(xmm0, xmm1);
399 __ xorps(xmm0, Operand(ebx, ecx, times_4, 10000)); 401 __ xorps(xmm0, Operand(ebx, ecx, times_4, 10000));
400 402
401 // Arithmetic operation 403 // Arithmetic operation
(...skipping 85 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') | test/cctest/test-disasm-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698