| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 __ andq(rdx, Operand(rsp, 4)); | 97 __ andq(rdx, Operand(rsp, 4)); |
| 98 __ cmpq(rdx, Immediate(3)); | 98 __ cmpq(rdx, Immediate(3)); |
| 99 __ cmpq(rdx, Operand(rsp, 4)); | 99 __ cmpq(rdx, Operand(rsp, 4)); |
| 100 __ cmpq(Operand(rbp, rcx, times_4, 0), Immediate(1000)); | 100 __ cmpq(Operand(rbp, rcx, times_4, 0), Immediate(1000)); |
| 101 __ cmpb(rbx, Operand(rbp, rcx, times_2, 0)); | 101 __ cmpb(rbx, Operand(rbp, rcx, times_2, 0)); |
| 102 __ cmpb(Operand(rbp, rcx, times_2, 0), rbx); | 102 __ cmpb(Operand(rbp, rcx, times_2, 0), rbx); |
| 103 __ orq(rdx, Immediate(3)); | 103 __ orq(rdx, Immediate(3)); |
| 104 __ xorq(rdx, Immediate(3)); | 104 __ xorq(rdx, Immediate(3)); |
| 105 __ nop(); | 105 __ nop(); |
| 106 __ cpuid(); | 106 __ cpuid(); |
| 107 __ movsxbl(rdx, Operand(rcx, 0)); |
| 107 __ movsxbq(rdx, Operand(rcx, 0)); | 108 __ movsxbq(rdx, Operand(rcx, 0)); |
| 109 __ movsxwl(rdx, Operand(rcx, 0)); |
| 108 __ movsxwq(rdx, Operand(rcx, 0)); | 110 __ movsxwq(rdx, Operand(rcx, 0)); |
| 109 __ movzxbl(rdx, Operand(rcx, 0)); | 111 __ movzxbl(rdx, Operand(rcx, 0)); |
| 110 __ movzxwl(rdx, Operand(rcx, 0)); | 112 __ movzxwl(rdx, Operand(rcx, 0)); |
| 111 __ movzxbq(rdx, Operand(rcx, 0)); | 113 __ movzxbq(rdx, Operand(rcx, 0)); |
| 112 __ movzxwq(rdx, Operand(rcx, 0)); | 114 __ movzxwq(rdx, Operand(rcx, 0)); |
| 113 | 115 |
| 114 __ nop(); | 116 __ nop(); |
| 115 __ imulq(rdx, rcx); | 117 __ imulq(rdx, rcx); |
| 116 __ shld(rdx, rcx); | 118 __ shld(rdx, rcx); |
| 117 __ shrd(rdx, rcx); | 119 __ shrd(rdx, rcx); |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 436 CHECK(code->IsCode()); | 438 CHECK(code->IsCode()); |
| 437 #ifdef OBJECT_PRINT | 439 #ifdef OBJECT_PRINT |
| 438 Code::cast(code)->Print(); | 440 Code::cast(code)->Print(); |
| 439 byte* begin = Code::cast(code)->instruction_start(); | 441 byte* begin = Code::cast(code)->instruction_start(); |
| 440 byte* end = begin + Code::cast(code)->instruction_size(); | 442 byte* end = begin + Code::cast(code)->instruction_size(); |
| 441 disasm::Disassembler::Disassemble(stdout, begin, end); | 443 disasm::Disassembler::Disassemble(stdout, begin, end); |
| 442 #endif | 444 #endif |
| 443 } | 445 } |
| 444 | 446 |
| 445 #undef __ | 447 #undef __ |
| OLD | NEW |