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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 __ |
OLD | NEW |