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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 __ decq(rdx); | 177 __ decq(rdx); |
178 __ cdq(); | 178 __ cdq(); |
179 | 179 |
180 __ nop(); | 180 __ nop(); |
181 __ idivq(rdx); | 181 __ idivq(rdx); |
182 __ mul(rdx); | 182 __ mul(rdx); |
183 __ negq(rdx); | 183 __ negq(rdx); |
184 __ notq(rdx); | 184 __ notq(rdx); |
185 __ testq(Operand(rbx, rcx, times_4, 10000), rdx); | 185 __ testq(Operand(rbx, rcx, times_4, 10000), rdx); |
186 | 186 |
187 __ imulq(rdx, Operand(rbx, rcx, times_4, 10000)); | |
188 __ imulq(rdx, rcx, Immediate(12)); | 187 __ imulq(rdx, rcx, Immediate(12)); |
189 __ imulq(rdx, rcx, Immediate(1000)); | 188 __ imulq(rdx, rcx, Immediate(1000)); |
| 189 __ imulq(rdx, Operand(rbx, rcx, times_4, 10000)); |
| 190 __ imulq(rdx, Operand(rbx, rcx, times_4, 10000), Immediate(12)); |
190 __ imulq(rdx, Operand(rbx, rcx, times_4, 10000), Immediate(1000)); | 191 __ imulq(rdx, Operand(rbx, rcx, times_4, 10000), Immediate(1000)); |
| 192 __ imull(r15, rcx, Immediate(12)); |
| 193 __ imull(r15, rcx, Immediate(1000)); |
| 194 __ imull(r15, Operand(rbx, rcx, times_4, 10000)); |
| 195 __ imull(r15, Operand(rbx, rcx, times_4, 10000), Immediate(12)); |
| 196 __ imull(r15, Operand(rbx, rcx, times_4, 10000), Immediate(1000)); |
191 | 197 |
192 __ incq(rdx); | 198 __ incq(rdx); |
193 __ incq(Operand(rbx, rcx, times_4, 10000)); | 199 __ incq(Operand(rbx, rcx, times_4, 10000)); |
194 __ pushq(Operand(rbx, rcx, times_4, 10000)); | 200 __ pushq(Operand(rbx, rcx, times_4, 10000)); |
195 __ popq(Operand(rbx, rcx, times_4, 10000)); | 201 __ popq(Operand(rbx, rcx, times_4, 10000)); |
196 // TODO(mstarzinger): The following is protected. | 202 // TODO(mstarzinger): The following is protected. |
197 // __ jmp(Operand(rbx, rcx, times_4, 10000)); | 203 // __ jmp(Operand(rbx, rcx, times_4, 10000)); |
198 | 204 |
199 __ leaq(rdx, Operand(rbx, rcx, times_4, 10000)); | 205 __ leaq(rdx, Operand(rbx, rcx, times_4, 10000)); |
200 __ orq(rdx, Immediate(12345)); | 206 __ orq(rdx, Immediate(12345)); |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 #ifdef OBJECT_PRINT | 473 #ifdef OBJECT_PRINT |
468 OFStream os(stdout); | 474 OFStream os(stdout); |
469 code->Print(os); | 475 code->Print(os); |
470 byte* begin = code->instruction_start(); | 476 byte* begin = code->instruction_start(); |
471 byte* end = begin + code->instruction_size(); | 477 byte* end = begin + code->instruction_size(); |
472 disasm::Disassembler::Disassemble(stdout, begin, end); | 478 disasm::Disassembler::Disassemble(stdout, begin, end); |
473 #endif | 479 #endif |
474 } | 480 } |
475 | 481 |
476 #undef __ | 482 #undef __ |
OLD | NEW |