| 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 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 __ andpd(xmm0, xmm1); | 451 __ andpd(xmm0, xmm1); |
| 452 | 452 |
| 453 __ pslld(xmm0, 6); | 453 __ pslld(xmm0, 6); |
| 454 __ psrld(xmm0, 6); | 454 __ psrld(xmm0, 6); |
| 455 __ psllq(xmm0, 6); | 455 __ psllq(xmm0, 6); |
| 456 __ psrlq(xmm0, 6); | 456 __ psrlq(xmm0, 6); |
| 457 | 457 |
| 458 __ pcmpeqd(xmm1, xmm0); | 458 __ pcmpeqd(xmm1, xmm0); |
| 459 | 459 |
| 460 __ punpckldq(xmm1, xmm11); | 460 __ punpckldq(xmm1, xmm11); |
| 461 __ punpckldq(xmm5, Operand(rdx, 4)); |
| 461 __ punpckhdq(xmm8, xmm15); | 462 __ punpckhdq(xmm8, xmm15); |
| 462 } | 463 } |
| 463 | 464 |
| 464 // cmov. | 465 // cmov. |
| 465 { | 466 { |
| 466 __ cmovq(overflow, rax, Operand(rax, 0)); | 467 __ cmovq(overflow, rax, Operand(rax, 0)); |
| 467 __ cmovq(no_overflow, rax, Operand(rax, 1)); | 468 __ cmovq(no_overflow, rax, Operand(rax, 1)); |
| 468 __ cmovq(below, rax, Operand(rax, 2)); | 469 __ cmovq(below, rax, Operand(rax, 2)); |
| 469 __ cmovq(above_equal, rax, Operand(rax, 3)); | 470 __ cmovq(above_equal, rax, Operand(rax, 3)); |
| 470 __ cmovq(equal, rax, Operand(rbx, 0)); | 471 __ cmovq(equal, rax, Operand(rbx, 0)); |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 511 __ movups(xmm5, Operand(rdx, 4)); | 512 __ movups(xmm5, Operand(rdx, 4)); |
| 512 __ movups(Operand(rdx, 4), xmm5); | 513 __ movups(Operand(rdx, 4), xmm5); |
| 513 __ paddd(xmm5, xmm1); | 514 __ paddd(xmm5, xmm1); |
| 514 __ paddd(xmm5, Operand(rdx, 4)); | 515 __ paddd(xmm5, Operand(rdx, 4)); |
| 515 __ psubd(xmm5, xmm1); | 516 __ psubd(xmm5, xmm1); |
| 516 __ psubd(xmm5, Operand(rdx, 4)); | 517 __ psubd(xmm5, Operand(rdx, 4)); |
| 517 __ pmulld(xmm5, xmm1); | 518 __ pmulld(xmm5, xmm1); |
| 518 __ pmulld(xmm5, Operand(rdx, 4)); | 519 __ pmulld(xmm5, Operand(rdx, 4)); |
| 519 __ pmuludq(xmm5, xmm1); | 520 __ pmuludq(xmm5, xmm1); |
| 520 __ pmuludq(xmm5, Operand(rdx, 4)); | 521 __ pmuludq(xmm5, Operand(rdx, 4)); |
| 521 __ punpackldq(xmm5, xmm1); | |
| 522 __ punpackldq(xmm5, Operand(rdx, 4)); | |
| 523 __ psrldq(xmm5, 123); | 522 __ psrldq(xmm5, 123); |
| 524 __ pshufd(xmm5, xmm1, 3); | 523 __ pshufd(xmm5, xmm1, 3); |
| 525 __ cvtps2dq(xmm5, xmm1); | 524 __ cvtps2dq(xmm5, xmm1); |
| 526 __ cvtps2dq(xmm5, Operand(rdx, 4)); | 525 __ cvtps2dq(xmm5, Operand(rdx, 4)); |
| 527 __ cvtdq2ps(xmm5, xmm1); | 526 __ cvtdq2ps(xmm5, xmm1); |
| 528 __ cvtdq2ps(xmm5, Operand(rdx, 4)); | 527 __ cvtdq2ps(xmm5, Operand(rdx, 4)); |
| 529 } | 528 } |
| 530 } | 529 } |
| 531 | 530 |
| 532 // AVX instruction | 531 // AVX instruction |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 822 #ifdef OBJECT_PRINT | 821 #ifdef OBJECT_PRINT |
| 823 OFStream os(stdout); | 822 OFStream os(stdout); |
| 824 code->Print(os); | 823 code->Print(os); |
| 825 byte* begin = code->instruction_start(); | 824 byte* begin = code->instruction_start(); |
| 826 byte* end = begin + code->instruction_size(); | 825 byte* end = begin + code->instruction_size(); |
| 827 disasm::Disassembler::Disassemble(stdout, begin, end); | 826 disasm::Disassembler::Disassemble(stdout, begin, end); |
| 828 #endif | 827 #endif |
| 829 } | 828 } |
| 830 | 829 |
| 831 #undef __ | 830 #undef __ |
| OLD | NEW |