| 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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 __ fsub(3); | 342 __ fsub(3); |
| 343 __ fmul(3); | 343 __ fmul(3); |
| 344 __ fdiv(3); | 344 __ fdiv(3); |
| 345 | 345 |
| 346 __ faddp(3); | 346 __ faddp(3); |
| 347 __ fsubp(3); | 347 __ fsubp(3); |
| 348 __ fmulp(3); | 348 __ fmulp(3); |
| 349 __ fdivp(3); | 349 __ fdivp(3); |
| 350 __ fcompp(); | 350 __ fcompp(); |
| 351 __ fwait(); | 351 __ fwait(); |
| 352 __ frndint(); |
| 353 __ fninit(); |
| 352 __ nop(); | 354 __ nop(); |
| 353 | 355 |
| 354 // SSE instruction | 356 // SSE instruction |
| 355 { | 357 { |
| 356 if (CpuFeatures::IsSupported(SSE2)) { | 358 if (CpuFeatures::IsSupported(SSE2)) { |
| 357 CpuFeatureScope fscope(&assm, SSE2); | 359 CpuFeatureScope fscope(&assm, SSE2); |
| 358 // Move operation | 360 // Move operation |
| 359 __ movaps(xmm0, xmm1); | 361 __ movaps(xmm0, xmm1); |
| 360 __ shufps(xmm0, xmm0, 0x0); | 362 __ shufps(xmm0, xmm0, 0x0); |
| 361 | 363 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 CHECK(code->IsCode()); | 458 CHECK(code->IsCode()); |
| 457 #ifdef OBJECT_PRINT | 459 #ifdef OBJECT_PRINT |
| 458 Code::cast(code)->Print(); | 460 Code::cast(code)->Print(); |
| 459 byte* begin = Code::cast(code)->instruction_start(); | 461 byte* begin = Code::cast(code)->instruction_start(); |
| 460 byte* end = begin + Code::cast(code)->instruction_size(); | 462 byte* end = begin + Code::cast(code)->instruction_size(); |
| 461 disasm::Disassembler::Disassemble(stdout, begin, end); | 463 disasm::Disassembler::Disassemble(stdout, begin, end); |
| 462 #endif | 464 #endif |
| 463 } | 465 } |
| 464 | 466 |
| 465 #undef __ | 467 #undef __ |
| OLD | NEW |