| 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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 __ fsub(3); | 323 __ fsub(3); |
| 324 __ fmul(3); | 324 __ fmul(3); |
| 325 __ fdiv(3); | 325 __ fdiv(3); |
| 326 | 326 |
| 327 __ faddp(3); | 327 __ faddp(3); |
| 328 __ fsubp(3); | 328 __ fsubp(3); |
| 329 __ fmulp(3); | 329 __ fmulp(3); |
| 330 __ fdivp(3); | 330 __ fdivp(3); |
| 331 __ fcompp(); | 331 __ fcompp(); |
| 332 __ fwait(); | 332 __ fwait(); |
| 333 __ frndint(); |
| 334 __ fninit(); |
| 333 __ nop(); | 335 __ nop(); |
| 334 | 336 |
| 335 // SSE instruction | 337 // SSE instruction |
| 336 { | 338 { |
| 337 // Move operation | 339 // Move operation |
| 338 __ cvttss2si(rdx, Operand(rbx, rcx, times_4, 10000)); | 340 __ cvttss2si(rdx, Operand(rbx, rcx, times_4, 10000)); |
| 339 __ cvttss2si(rdx, xmm1); | 341 __ cvttss2si(rdx, xmm1); |
| 340 __ movaps(xmm0, xmm1); | 342 __ movaps(xmm0, xmm1); |
| 341 | 343 |
| 342 // logic operation | 344 // logic operation |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 CHECK(code->IsCode()); | 422 CHECK(code->IsCode()); |
| 421 #ifdef OBJECT_PRINT | 423 #ifdef OBJECT_PRINT |
| 422 Code::cast(code)->Print(); | 424 Code::cast(code)->Print(); |
| 423 byte* begin = Code::cast(code)->instruction_start(); | 425 byte* begin = Code::cast(code)->instruction_start(); |
| 424 byte* end = begin + Code::cast(code)->instruction_size(); | 426 byte* end = begin + Code::cast(code)->instruction_size(); |
| 425 disasm::Disassembler::Disassemble(stdout, begin, end); | 427 disasm::Disassembler::Disassemble(stdout, begin, end); |
| 426 #endif | 428 #endif |
| 427 } | 429 } |
| 428 | 430 |
| 429 #undef __ | 431 #undef __ |
| OLD | NEW |