Home | History | Annotate | Download | only in ia32

Lines Matching refs:code

8 // - Redistributions of source code must retain the above copyright notice,
33 // The original source code covered by the above license above has been modified
179 // code object moves.
185 // Patch the code at the current address with the supplied instructions.
190 // Indicate that code has changed.
195 // Patch the code at the current PC with a call to the target address.
202 // Create a code patcher.
205 // Add a label for checking the size of the code used for returning.
211 // Patch the code.
214 // Check that the size of the code generated is as expected.
288 && ((buf_[0] & 0x07) == reg.code()); // register codes match.
346 // existing code in it; see CodePatcher::CodePatcher(...).
377 // Finalize code (at this point overflow() may be true, but the gap ensures
380 // Set up code descriptor.
538 EMIT(0x50 | src.code());
552 EMIT(0x58 | dst.code());
619 EMIT(0xB8 | dst.code());
626 EMIT(0xB8 | dst.code());
633 EMIT(0xB8 | dst.code());
648 EMIT(0xC0 | src.code() << 3 | dst.code());
746 EMIT(0x90 | (src.is(eax) ? dst.code() : src.code()));
749 EMIT(0xC0 | src.code() << 3 | dst.code());
891 emit_operand(eax, op); // eax has same code as register al.
899 emit_operand(eax, op); // eax has same code as register ax.
907 EMIT(0xC8 | dst.code());
920 EMIT(0x48 | dst.code());
940 EMIT(0xF8 | src.code());
947 EMIT(0xE8 | reg.code());
963 EMIT(0xC0 | dst.code() << 3 | src.code());
967 EMIT(0xC0 | dst.code() << 3 | src.code());
975 EMIT(0x40 | dst.code());
996 EMIT(0xE0 | src.code());
1003 EMIT(0xD8 | dst.code());
1010 EMIT(0xD0 | dst.code());
1045 EMIT(0xD0 | dst.code());
1048 EMIT(0xD0 | dst.code());
1059 EMIT(0xD8 | dst.code());
1062 EMIT(0xD8 | dst.code());
1073 EMIT(0xF8 | dst.code());
1076 EMIT(0xF8 | dst.code());
1085 EMIT(0xF8 | dst.code());
1109 EMIT(0xE0 | dst.code());
1112 EMIT(0xE0 | dst.code());
1121 EMIT(0xE0 | dst.code());
1138 EMIT(0xE8 | dst.code());
1141 EMIT(0xE8 | dst.code());
1150 EMIT(0xE8 | dst.code());
1195 EMIT(0xC0 | reg.code());
1318 // Labels refer to positions in the (to be) generated code.
1322 // generated code. pos() is the position the label refers to.
1324 // Linked labels refer to unknown positions in the code
1357 // Relative to Code* heap object pointer.
1358 long_at_put(fixup_pos, pos + Code::kHeaderSize - kHeapObjectTag);
1436 int Assembler::CallSize(Handle<Code> code, RelocInfo::Mode rmode) {
1441 void Assembler::call(Handle<Code> code,
1448 emit(reinterpret_cast<intptr_t>(code.location()), rmode, ast_id);
1494 void Assembler::jmp(Handle<Code> code, RelocInfo::Mode rmode) {
1498 emit(reinterpret_cast<intptr_t>(code.location()), rmode);
1544 void Assembler::j(Condition cc, Handle<Code> code) {
1549 emit(reinterpret_cast<intptr_t>(code.location()), RelocInfo::CODE_TARGET);
1917 EMIT(0xC0 | reg.code());
2175 XMMRegister code = { level }; // Emit hint number in Reg position of RegR/M.
2176 emit_sse_operand(code, src);
2404 Register ireg = { reg.code() };
2410 EMIT(0xC0 | dst.code() << 3 | src.code());
2415 EMIT(0xC0 | dst.code() << 3 | src.code());
2448 if (!own_buffer_) FATAL("external code buffer is too small");
2470 // sure to get into problems if we ever run uninitialized code.
2518 EMIT(op2 | dst.code());
2546 pc_[0] = (adr.buf_[0] & ~0x38) | (reg.code() << 3);