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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 __ movdqu(Operand(ebx, ecx, times_4, 10000), xmm0); | 364 __ movdqu(Operand(ebx, ecx, times_4, 10000), xmm0); |
365 | 365 |
366 __ addsd(xmm1, xmm0); | 366 __ addsd(xmm1, xmm0); |
367 __ mulsd(xmm1, xmm0); | 367 __ mulsd(xmm1, xmm0); |
368 __ subsd(xmm1, xmm0); | 368 __ subsd(xmm1, xmm0); |
369 __ divsd(xmm1, xmm0); | 369 __ divsd(xmm1, xmm0); |
370 __ ucomisd(xmm0, xmm1); | 370 __ ucomisd(xmm0, xmm1); |
371 __ cmpltsd(xmm0, xmm1); | 371 __ cmpltsd(xmm0, xmm1); |
372 | 372 |
373 __ andps(xmm0, xmm1); | 373 __ andps(xmm0, xmm1); |
| 374 __ orps(xmm0, xmm1); |
374 __ andpd(xmm0, xmm1); | 375 __ andpd(xmm0, xmm1); |
375 __ psllq(xmm0, 17); | 376 __ psllq(xmm0, 17); |
376 __ psllq(xmm0, xmm1); | 377 __ psllq(xmm0, xmm1); |
377 __ psrlq(xmm0, 17); | 378 __ psrlq(xmm0, 17); |
378 __ psrlq(xmm0, xmm1); | 379 __ psrlq(xmm0, xmm1); |
379 __ por(xmm0, xmm1); | 380 __ por(xmm0, xmm1); |
380 } | 381 } |
381 } | 382 } |
382 | 383 |
383 // cmov. | 384 // cmov. |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 CHECK(code->IsCode()); | 430 CHECK(code->IsCode()); |
430 #ifdef OBJECT_PRINT | 431 #ifdef OBJECT_PRINT |
431 Code::cast(code)->Print(); | 432 Code::cast(code)->Print(); |
432 byte* begin = Code::cast(code)->instruction_start(); | 433 byte* begin = Code::cast(code)->instruction_start(); |
433 byte* end = begin + Code::cast(code)->instruction_size(); | 434 byte* end = begin + Code::cast(code)->instruction_size(); |
434 disasm::Disassembler::Disassemble(stdout, begin, end); | 435 disasm::Disassembler::Disassemble(stdout, begin, end); |
435 #endif | 436 #endif |
436 } | 437 } |
437 | 438 |
438 #undef __ | 439 #undef __ |
OLD | NEW |