| 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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 __ subps(xmm1, xmm0); | 404 __ subps(xmm1, xmm0); |
| 405 __ subps(xmm1, Operand(ebx, ecx, times_4, 10000)); | 405 __ subps(xmm1, Operand(ebx, ecx, times_4, 10000)); |
| 406 __ mulps(xmm1, xmm0); | 406 __ mulps(xmm1, xmm0); |
| 407 __ mulps(xmm1, Operand(ebx, ecx, times_4, 10000)); | 407 __ mulps(xmm1, Operand(ebx, ecx, times_4, 10000)); |
| 408 __ divps(xmm1, xmm0); | 408 __ divps(xmm1, xmm0); |
| 409 __ divps(xmm1, Operand(ebx, ecx, times_4, 10000)); | 409 __ divps(xmm1, Operand(ebx, ecx, times_4, 10000)); |
| 410 } | 410 } |
| 411 { | 411 { |
| 412 __ cvttss2si(edx, Operand(ebx, ecx, times_4, 10000)); | 412 __ cvttss2si(edx, Operand(ebx, ecx, times_4, 10000)); |
| 413 __ cvtsi2sd(xmm1, Operand(ebx, ecx, times_4, 10000)); | 413 __ cvtsi2sd(xmm1, Operand(ebx, ecx, times_4, 10000)); |
| 414 __ cvtss2sd(xmm1, Operand(ebx, ecx, times_4, 10000)); |
| 415 __ cvtss2sd(xmm1, xmm0); |
| 414 __ movsd(xmm1, Operand(ebx, ecx, times_4, 10000)); | 416 __ movsd(xmm1, Operand(ebx, ecx, times_4, 10000)); |
| 415 __ movsd(Operand(ebx, ecx, times_4, 10000), xmm1); | 417 __ movsd(Operand(ebx, ecx, times_4, 10000), xmm1); |
| 416 // 128 bit move instructions. | 418 // 128 bit move instructions. |
| 417 __ movdqa(xmm0, Operand(ebx, ecx, times_4, 10000)); | 419 __ movdqa(xmm0, Operand(ebx, ecx, times_4, 10000)); |
| 418 __ movdqa(Operand(ebx, ecx, times_4, 10000), xmm0); | 420 __ movdqa(Operand(ebx, ecx, times_4, 10000), xmm0); |
| 419 __ movdqu(xmm0, Operand(ebx, ecx, times_4, 10000)); | 421 __ movdqu(xmm0, Operand(ebx, ecx, times_4, 10000)); |
| 420 __ movdqu(Operand(ebx, ecx, times_4, 10000), xmm0); | 422 __ movdqu(Operand(ebx, ecx, times_4, 10000), xmm0); |
| 421 | 423 |
| 422 __ addsd(xmm1, xmm0); | 424 __ addsd(xmm1, xmm0); |
| 423 __ mulsd(xmm1, xmm0); | 425 __ mulsd(xmm1, xmm0); |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 __ |
| OLD | NEW |