| OLD | NEW |
| 1 // Copyright 2007-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2007-2008 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 __ adc(edx, 12345); | 217 __ adc(edx, 12345); |
| 218 | 218 |
| 219 __ add(Operand(ebx), Immediate(12)); | 219 __ add(Operand(ebx), Immediate(12)); |
| 220 __ add(Operand(edx, ecx, times_4, 10000), Immediate(12)); | 220 __ add(Operand(edx, ecx, times_4, 10000), Immediate(12)); |
| 221 | 221 |
| 222 __ and_(ebx, 12345); | 222 __ and_(ebx, 12345); |
| 223 | 223 |
| 224 __ cmp(ebx, 12345); | 224 __ cmp(ebx, 12345); |
| 225 __ cmp(Operand(ebx), Immediate(12)); | 225 __ cmp(Operand(ebx), Immediate(12)); |
| 226 __ cmp(Operand(edx, ecx, times_4, 10000), Immediate(12)); | 226 __ cmp(Operand(edx, ecx, times_4, 10000), Immediate(12)); |
| 227 __ cmpb(Operand(eax), 100); |
| 227 | 228 |
| 228 __ or_(ebx, 12345); | 229 __ or_(ebx, 12345); |
| 229 | 230 |
| 230 __ sub(Operand(ebx), Immediate(12)); | 231 __ sub(Operand(ebx), Immediate(12)); |
| 231 __ sub(Operand(edx, ecx, times_4, 10000), Immediate(12)); | 232 __ sub(Operand(edx, ecx, times_4, 10000), Immediate(12)); |
| 232 __ subb(Operand(edx, ecx, times_4, 10000), 100); | |
| 233 __ subb(Operand(eax), 100); | |
| 234 __ subb(eax, Operand(edx, ecx, times_4, 10000)); | |
| 235 | 233 |
| 236 __ xor_(ebx, 12345); | 234 __ xor_(ebx, 12345); |
| 237 | 235 |
| 238 __ imul(edx, ecx, 12); | 236 __ imul(edx, ecx, 12); |
| 239 __ imul(edx, ecx, 1000); | 237 __ imul(edx, ecx, 1000); |
| 240 | 238 |
| 241 __ cld(); | 239 __ cld(); |
| 242 __ rep_movs(); | 240 __ rep_movs(); |
| 243 __ rep_stos(); | 241 __ rep_stos(); |
| 244 __ stos(); | 242 __ stos(); |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 462 CHECK(code->IsCode()); | 460 CHECK(code->IsCode()); |
| 463 #ifdef OBJECT_PRINT | 461 #ifdef OBJECT_PRINT |
| 464 Code::cast(code)->Print(); | 462 Code::cast(code)->Print(); |
| 465 byte* begin = Code::cast(code)->instruction_start(); | 463 byte* begin = Code::cast(code)->instruction_start(); |
| 466 byte* end = begin + Code::cast(code)->instruction_size(); | 464 byte* end = begin + Code::cast(code)->instruction_size(); |
| 467 disasm::Disassembler::Disassemble(stdout, begin, end); | 465 disasm::Disassembler::Disassemble(stdout, begin, end); |
| 468 #endif | 466 #endif |
| 469 } | 467 } |
| 470 | 468 |
| 471 #undef __ | 469 #undef __ |
| OLD | NEW |