| OLD | NEW |
| 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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 __ fcompp(); | 383 __ fcompp(); |
| 384 __ fwait(); | 384 __ fwait(); |
| 385 __ frndint(); | 385 __ frndint(); |
| 386 __ fninit(); | 386 __ fninit(); |
| 387 __ nop(); | 387 __ nop(); |
| 388 | 388 |
| 389 // SSE instruction | 389 // SSE instruction |
| 390 { | 390 { |
| 391 // Move operation | 391 // Move operation |
| 392 __ movaps(xmm0, xmm1); | 392 __ movaps(xmm0, xmm1); |
| 393 __ movups(xmm0, xmm1); |
| 394 __ movups(xmm0, Operand(edx, 4)); |
| 395 __ movups(Operand(edx, 4), xmm0); |
| 393 __ shufps(xmm0, xmm0, 0x0); | 396 __ shufps(xmm0, xmm0, 0x0); |
| 394 __ cvtsd2ss(xmm0, xmm1); | 397 __ cvtsd2ss(xmm0, xmm1); |
| 395 __ cvtsd2ss(xmm0, Operand(ebx, ecx, times_4, 10000)); | 398 __ cvtsd2ss(xmm0, Operand(ebx, ecx, times_4, 10000)); |
| 396 | 399 |
| 397 // logic operation | 400 // logic operation |
| 398 __ andps(xmm0, xmm1); | 401 __ andps(xmm0, xmm1); |
| 399 __ andps(xmm0, Operand(ebx, ecx, times_4, 10000)); | 402 __ andps(xmm0, Operand(ebx, ecx, times_4, 10000)); |
| 400 __ orps(xmm0, xmm1); | 403 __ orps(xmm0, xmm1); |
| 401 __ orps(xmm0, Operand(ebx, ecx, times_4, 10000)); | 404 __ orps(xmm0, Operand(ebx, ecx, times_4, 10000)); |
| 402 __ xorps(xmm0, xmm1); | 405 __ xorps(xmm0, xmm1); |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 704 #ifdef OBJECT_PRINT | 707 #ifdef OBJECT_PRINT |
| 705 OFStream os(stdout); | 708 OFStream os(stdout); |
| 706 code->Print(os); | 709 code->Print(os); |
| 707 byte* begin = code->instruction_start(); | 710 byte* begin = code->instruction_start(); |
| 708 byte* end = begin + code->instruction_size(); | 711 byte* end = begin + code->instruction_size(); |
| 709 disasm::Disassembler::Disassemble(stdout, begin, end); | 712 disasm::Disassembler::Disassemble(stdout, begin, end); |
| 710 #endif | 713 #endif |
| 711 } | 714 } |
| 712 | 715 |
| 713 #undef __ | 716 #undef __ |
| OLD | NEW |