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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 __ nop(); | 379 __ nop(); |
380 | 380 |
381 // SSE instruction | 381 // SSE instruction |
382 { | 382 { |
383 // Move operation | 383 // Move operation |
384 __ cvttss2si(rdx, Operand(rbx, rcx, times_4, 10000)); | 384 __ cvttss2si(rdx, Operand(rbx, rcx, times_4, 10000)); |
385 __ cvttss2si(rdx, xmm1); | 385 __ cvttss2si(rdx, xmm1); |
386 __ cvtsd2ss(xmm0, xmm1); | 386 __ cvtsd2ss(xmm0, xmm1); |
387 __ cvtsd2ss(xmm0, Operand(rbx, rcx, times_4, 10000)); | 387 __ cvtsd2ss(xmm0, Operand(rbx, rcx, times_4, 10000)); |
388 __ movaps(xmm0, xmm1); | 388 __ movaps(xmm0, xmm1); |
| 389 __ shufps(xmm0, xmm9, 0x0); |
389 | 390 |
390 // logic operation | 391 // logic operation |
391 __ andps(xmm0, xmm1); | 392 __ andps(xmm0, xmm1); |
392 __ andps(xmm0, Operand(rbx, rcx, times_4, 10000)); | 393 __ andps(xmm0, Operand(rbx, rcx, times_4, 10000)); |
393 __ orps(xmm0, xmm1); | 394 __ orps(xmm0, xmm1); |
394 __ orps(xmm0, Operand(rbx, rcx, times_4, 10000)); | 395 __ orps(xmm0, Operand(rbx, rcx, times_4, 10000)); |
395 __ xorps(xmm0, xmm1); | 396 __ xorps(xmm0, xmm1); |
396 __ xorps(xmm0, Operand(rbx, rcx, times_4, 10000)); | 397 __ xorps(xmm0, Operand(rbx, rcx, times_4, 10000)); |
397 | 398 |
398 // Arithmetic operation | 399 // Arithmetic operation |
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
946 #ifdef OBJECT_PRINT | 947 #ifdef OBJECT_PRINT |
947 OFStream os(stdout); | 948 OFStream os(stdout); |
948 code->Print(os); | 949 code->Print(os); |
949 byte* begin = code->instruction_start(); | 950 byte* begin = code->instruction_start(); |
950 byte* end = begin + code->instruction_size(); | 951 byte* end = begin + code->instruction_size(); |
951 disasm::Disassembler::Disassemble(stdout, begin, end); | 952 disasm::Disassembler::Disassemble(stdout, begin, end); |
952 #endif | 953 #endif |
953 } | 954 } |
954 | 955 |
955 #undef __ | 956 #undef __ |
OLD | NEW |