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 398 matching lines...) Loading... |
409 __ movsd(Operand(ebx, ecx, times_4, 10000), xmm1); | 409 __ movsd(Operand(ebx, ecx, times_4, 10000), xmm1); |
410 // 128 bit move instructions. | 410 // 128 bit move instructions. |
411 __ movdqa(xmm0, Operand(ebx, ecx, times_4, 10000)); | 411 __ movdqa(xmm0, Operand(ebx, ecx, times_4, 10000)); |
412 __ movdqa(Operand(ebx, ecx, times_4, 10000), xmm0); | 412 __ movdqa(Operand(ebx, ecx, times_4, 10000), xmm0); |
413 __ movdqu(xmm0, Operand(ebx, ecx, times_4, 10000)); | 413 __ movdqu(xmm0, Operand(ebx, ecx, times_4, 10000)); |
414 __ movdqu(Operand(ebx, ecx, times_4, 10000), xmm0); | 414 __ movdqu(Operand(ebx, ecx, times_4, 10000), xmm0); |
415 | 415 |
416 __ addsd(xmm1, xmm0); | 416 __ addsd(xmm1, xmm0); |
417 __ mulsd(xmm1, xmm0); | 417 __ mulsd(xmm1, xmm0); |
418 __ subsd(xmm1, xmm0); | 418 __ subsd(xmm1, xmm0); |
| 419 __ subsd(xmm1, Operand(ebx, ecx, times_4, 10000)); |
419 __ divsd(xmm1, xmm0); | 420 __ divsd(xmm1, xmm0); |
420 __ ucomisd(xmm0, xmm1); | 421 __ ucomisd(xmm0, xmm1); |
421 __ cmpltsd(xmm0, xmm1); | 422 __ cmpltsd(xmm0, xmm1); |
422 | 423 |
423 __ andpd(xmm0, xmm1); | 424 __ andpd(xmm0, xmm1); |
424 __ psllq(xmm0, 17); | 425 __ psllq(xmm0, 17); |
425 __ psllq(xmm0, xmm1); | 426 __ psllq(xmm0, xmm1); |
426 __ psrlq(xmm0, 17); | 427 __ psrlq(xmm0, 17); |
427 __ psrlq(xmm0, xmm1); | 428 __ psrlq(xmm0, xmm1); |
428 __ por(xmm0, xmm1); | 429 __ por(xmm0, xmm1); |
(...skipping 51 matching lines...) Loading... |
480 #ifdef OBJECT_PRINT | 481 #ifdef OBJECT_PRINT |
481 OFStream os(stdout); | 482 OFStream os(stdout); |
482 code->Print(os); | 483 code->Print(os); |
483 byte* begin = code->instruction_start(); | 484 byte* begin = code->instruction_start(); |
484 byte* end = begin + code->instruction_size(); | 485 byte* end = begin + code->instruction_size(); |
485 disasm::Disassembler::Disassemble(stdout, begin, end); | 486 disasm::Disassembler::Disassemble(stdout, begin, end); |
486 #endif | 487 #endif |
487 } | 488 } |
488 | 489 |
489 #undef __ | 490 #undef __ |
OLD | NEW |