NIns 191 nanojit/Assembler.cpp verbose_only( nBytes += (end - start) * sizeof(NIns); ) NIns 569 nanojit/Assembler.cpp nPatchBranch((NIns*)lr->jmp, frag->fragEntry); NIns 596 nanojit/Assembler.cpp NIns* Assembler::asm_exit(LInsp guard) NIns 599 nanojit/Assembler.cpp NIns* at = 0; NIns 615 nanojit/Assembler.cpp NIns* Assembler::asm_leave_trace(LInsp guard) NIns 647 nanojit/Assembler.cpp NIns* jmpTarget = _nIns; // target in exit path for our mainline conditional jump NIns 735 nanojit/Assembler.cpp NIns* where = iter.key(); NIns 740 nanojit/Assembler.cpp NIns** native_table = (NIns**) where; NIns 743 nanojit/Assembler.cpp NIns* ntarget = lstate->addr; NIns 754 nanojit/Assembler.cpp NIns* ntarget = lstate->addr; NIns 778 nanojit/Assembler.cpp NIns* fragEntry = genPrologue(); NIns 794 nanojit/Assembler.cpp verbose_only( exitBytes -= (_nExitIns - _nExitSlot) * sizeof(NIns); ) NIns 795 nanojit/Assembler.cpp verbose_only( codeBytes -= (_nIns - _nSlot) * sizeof(NIns); ) NIns 800 nanojit/Assembler.cpp verbose_only( exitBytes -= (_nExitIns - exitStart) * sizeof(NIns); ) NIns 801 nanojit/Assembler.cpp verbose_only( codeBytes -= (_nIns - codeStart) * sizeof(NIns); ) NIns 1252 nanojit/Assembler.cpp NIns *branch = asm_branch(op == LIR_jf, cond, 0); NIns 1307 nanojit/Assembler.cpp NIns** native_table = new (_dataAlloc) NIns*[count]; NIns 1309 nanojit/Assembler.cpp _patches.put((NIns*)native_table, ins); NIns 1345 nanojit/Assembler.cpp NIns* exit = asm_exit(ins); // does intersectRegisterState() NIns 1360 nanojit/Assembler.cpp NIns* exit = asm_exit(ins); // does intersectRegisterState() NIns 1370 nanojit/Assembler.cpp NIns *exit = asm_exit(ins); NIns 1506 nanojit/Assembler.cpp si->table = (NIns **) alloc.alloc(si->count * sizeof(NIns*)); NIns 127 nanojit/Assembler.h NIns* codeStart; NIns 128 nanojit/Assembler.h NIns* codeExitStart; NIns 156 nanojit/Assembler.h NIns *addr; NIns 157 nanojit/Assembler.h LabelState(NIns *a, RegAlloc &r) : regs(r), addr(a) NIns 170 nanojit/Assembler.h void add(LIns *label, NIns *addr, RegAlloc ®s); NIns 257 nanojit/Assembler.h NIns* genPrologue(); NIns 258 nanojit/Assembler.h NIns* genEpilogue(); NIns 287 nanojit/Assembler.h void codeAlloc(NIns *&start, NIns *&end, NIns *&eip NIns 313 nanojit/Assembler.h NIns *codeStart, *codeEnd; // current normal code chunk NIns 314 nanojit/Assembler.h NIns *exitStart, *exitEnd; // current exit code chunk NIns 315 nanojit/Assembler.h NIns* _nIns; // current instruction in current normal code chunk NIns 316 nanojit/Assembler.h NIns* _nExitIns; // current instruction in current exit code chunk NIns 327 nanojit/Assembler.h NIns* _epilogue; NIns 330 nanojit/Assembler.h NIns* pedanticTop; NIns 338 nanojit/Assembler.h NIns* asm_exit(LInsp guard); NIns 339 nanojit/Assembler.h NIns* asm_leave_trace(LInsp guard); NIns 367 nanojit/Assembler.h NIns* asm_branch(bool branchOnFalse, LInsp cond, NIns* targ); NIns 368 nanojit/Assembler.h void asm_switch(LIns* ins, NIns* target); NIns 369 nanojit/Assembler.h void asm_jtbl(LIns* ins, NIns** table); NIns 370 nanojit/Assembler.h void emitJumpTable(SwitchInfo* si, NIns* target); NIns 381 nanojit/Assembler.h static void nPatchBranch(NIns* branch, NIns* location); NIns 343 nanojit/CodeAlloc.cpp b->end = (NIns*) (uintptr_t(mem) + bytes - sizeofMinBlock); NIns 385 nanojit/CodeAlloc.cpp holeStart = (NIns*) ((uintptr_t(holeStart) + sizeof(NIns*)-1) & ~(sizeof(NIns*)-1)); NIns 386 nanojit/CodeAlloc.cpp holeEnd = (NIns*) (uintptr_t(holeEnd) & ~(sizeof(NIns*)-1)); NIns 473 nanojit/CodeAlloc.cpp if (!containsPtr((NIns*)b, (NIns*)((uintptr_t)b + bytesPerAlloc), p)) NIns 46 nanojit/CodeAlloc.h inline bool containsPtr(const NIns* start, const NIns* end, const NIns* ptr) { NIns 73 nanojit/CodeAlloc.h NIns* end; // points just past the end NIns 78 nanojit/CodeAlloc.h NIns code[1]; // more follows NIns 81 nanojit/CodeAlloc.h NIns* start() { return &code[0]; } NIns 90 nanojit/CodeAlloc.h bool contains(NIns* p) const { return containsPtr(&code[0], end, p); } NIns 123 nanojit/CodeAlloc.h static CodeList* getBlock(NIns* start, NIns* end); NIns 156 nanojit/CodeAlloc.h void alloc(NIns* &start, NIns* &end); NIns 159 nanojit/CodeAlloc.h void free(NIns* start, NIns* end); NIns 172 nanojit/CodeAlloc.h void addRemainder(CodeList* &code, NIns* start, NIns* end, NIns* holeStart, NIns* holeEnd); NIns 175 nanojit/CodeAlloc.h static void add(CodeList* &code, NIns* start, NIns* end); NIns 181 nanojit/CodeAlloc.h static bool contains(const CodeList* code, NIns* p); NIns 197 nanojit/CodeAlloc.h CodePointerKind classifyPtr(NIns *p); NIns 63 nanojit/Fragmento.h NIns* code() { return _code; } NIns 64 nanojit/Fragmento.h void setCode(NIns* codee) { _code = codee; } NIns 72 nanojit/Fragmento.h NIns* fragEntry; NIns 86 nanojit/Fragmento.h NIns* _code; // ptr to start of code NIns 114 nanojit/LIR.h NIns** table; // Jump table; a jump address is NIns* NIns 463 nanojit/NativeARM.cpp NIns* NIns 488 nanojit/NativeARM.cpp NIns *patchEntry = _nIns; NIns 557 nanojit/NativeARM.cpp NIns* NIns 912 nanojit/NativeARM.cpp BranchWithLink((NIns*)call->_address); NIns 1023 nanojit/NativeARM.cpp static inline NIns NIns 1140 nanojit/NativeARM.cpp NIns cond = *branch & 0xF0000000; NIns 1141 nanojit/NativeARM.cpp *branch = (NIns)( cond | (0xA<<24) | ((offset>>2) & 0xFFFFFF) ); NIns 1148 nanojit/NativeARM.cpp NIns cond = *branch & 0xF0000000; NIns 1149 nanojit/NativeARM.cpp *branch++ = (NIns)( cond | (0x51<<20) | (PC<<16) | (PC<<12) | (4)); NIns 1150 nanojit/NativeARM.cpp *branch++ = (NIns)target; NIns 1157 nanojit/NativeARM.cpp NIns *addr = branch+2; NIns 1158 nanojit/NativeARM.cpp int offset = (*branch & 0xFFF) / sizeof(NIns); NIns 1166 nanojit/NativeARM.cpp *addr = (NIns) target; NIns 1262 nanojit/NativeARM.cpp NIns merged; NIns 1293 nanojit/NativeARM.cpp NIns merged; NIns 1455 nanojit/NativeARM.cpp *(--_nIns) = (NIns) imm64_1; NIns 1456 nanojit/NativeARM.cpp *(--_nIns) = (NIns) imm64_0; NIns 1665 nanojit/NativeARM.cpp NIns* target = _nIns; NIns 1695 nanojit/NativeARM.cpp *(--_nIns) = (NIns)( COND_AL | (0xA<<24) | ((offs>>2) & 0xFFFFFF) ); NIns 1700 nanojit/NativeARM.cpp *(--_nIns) = (NIns)((addr)); NIns 1703 nanojit/NativeARM.cpp *(--_nIns) = (NIns)( COND_AL | (0x51<<20) | (PC<<16) | (PC<<12) | (4)); NIns 1741 nanojit/NativeARM.cpp *(--_nIns) = (NIns)( (COND_AL) | (0xB<<24) | (offs2) ); NIns 1755 nanojit/NativeARM.cpp *(--_nIns) = (NIns)( (0xF << 28) | (0x5<<25) | (H) | (offs2) ); NIns 1788 nanojit/NativeARM.cpp *(--_nIns) = (NIns)( (COND_AL) | (0x12<<20) | (0xFFF<<8) | (0x3<<4) | (addr) ); NIns 1817 nanojit/NativeARM.cpp *(--_nIns) = (NIns)( COND_AL | (0x59<<20) | (b<<16) | (d<<12) | off ); NIns 1821 nanojit/NativeARM.cpp *(--_nIns) = (NIns)( COND_AL | (0x51<<20) | (b<<16) | (d<<12) | -off ); NIns 1834 nanojit/NativeARM.cpp *(--_nIns) = (NIns)( COND_AL | (0x79<<20) | (b<<16) | (d<<12) | IP ); NIns 1982 nanojit/NativeARM.cpp *(--_nIns) = (NIns)( ((_c)<<28) | (0xA<<24) | (((offs)>>2) & 0xFFFFFF) ); NIns 1986 nanojit/NativeARM.cpp *(--_nIns) = (NIns)(_t); NIns 1987 nanojit/NativeARM.cpp *(--_nIns) = (NIns)( COND_AL | (0x51<<20) | (PC<<16) | (PC<<12) | 0x4 ); NIns 1991 nanojit/NativeARM.cpp *(_nSlot++) = (NIns)(_t); NIns 1994 nanojit/NativeARM.cpp *(--_nIns) = (NIns)( ((_c)<<28) | (0x51<<20) | (PC<<16) | (PC<<12) | ((-offs) & 0xFFF) ); NIns 2000 nanojit/NativeARM.cpp *(--_nIns) = (NIns)(_t); NIns 2004 nanojit/NativeARM.cpp *(--_nIns) = (NIns)( COND_AL | (0xA<<24) | 0x0 ); NIns 2006 nanojit/NativeARM.cpp *(--_nIns) = (NIns)( ((_c)<<28) | (0x51<<20) | (PC<<16) | (PC<<12) | 0x0 ); NIns 2104 nanojit/NativeARM.cpp NIns* NIns 2169 nanojit/NativeARM.cpp NIns *at = _nIns; NIns 2668 nanojit/NativeARM.cpp SWAP(NIns*, _nIns, _nExitIns); NIns 2669 nanojit/NativeARM.cpp SWAP(NIns*, _nSlot, _nExitSlot); // this one is ARM-specific NIns 2670 nanojit/NativeARM.cpp SWAP(NIns*, codeStart, exitStart); NIns 2671 nanojit/NativeARM.cpp SWAP(NIns*, codeEnd, exitEnd); NIns 93 nanojit/NativeARM.h const size_t LARGEST_BRANCH_PATCH = 2 * sizeof(NIns); NIns 172 nanojit/NativeARM.h NIns* epilogue; NIns 230 nanojit/NativeARM.h void BranchWithLink(NIns* addr); \ NIns 232 nanojit/NativeARM.h void JMP_far(NIns*); \ NIns 233 nanojit/NativeARM.h void B_cond_chk(ConditionCode, NIns*, bool); \ NIns 259 nanojit/NativeARM.h #define IMM32(imm) *(--_nIns) = (NIns)((imm)); NIns 291 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0x12<<20) | (0xFFF<<8) | (1<<4) | (_r)); \ NIns 331 nanojit/NativeARM.h *(--_nIns) = (NIns) ((cond)<<28 | OP_IMM | (ARM_##op)<<21 | (S)<<20 | (rl)<<16 | (rd)<<12 | (op2imm));\ NIns 354 nanojit/NativeARM.h *(--_nIns) = (NIns) ((cond)<<28 |(ARM_##op)<<21 | (S)<<20 | (rl)<<16 | (rd)<<12 | (rr));\ NIns 380 nanojit/NativeARM.h *(--_nIns) = (NIns) ((cond)<<28 |(ARM_##op)<<21 | (S)<<20 | (rl)<<16 | (rd)<<12 | (imm)<<7 | (sh)<<4 | (rr));\ NIns 405 nanojit/NativeARM.h *(--_nIns) = (NIns) ((cond)<<28 |(ARM_##op)<<21 | (S)<<20 | (rl)<<16 | (rd)<<12 | (rs)<<8 | (sh)<<4 | (rr));\ NIns 481 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | 0xc00090 | (_d_hi)<<16 | (_d)<<12 | (_r)<<8 | (_l) );\ NIns 501 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (_d)<<16 | (_r)<<8 | 0x90 | (_l) ); \ NIns 592 nanojit/NativeARM.h *(--_nIns) = (NIns)(COND_AL | (0x79<<20) | ((_b)<<16) | ((_d)<<12) | ((_s)<<7) | (_x));\ NIns 607 nanojit/NativeARM.h *(--_nIns) = (NIns)( (_cond)<<28 | 3<<24 | 0<<20 | (((_imm)>>12)&0xf)<<16 | (_d)<<12 | ((_imm)&0xfff) ); \ NIns 621 nanojit/NativeARM.h *(--_nIns) = (NIns)( (_cond)<<28 | 3<<24 | 4<<20 | (((_imm)>>12)&0xf)<<16 | (_d)<<12 | ((_imm)&0xfff) ); \ NIns 639 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0x55<<20) | ((_n)<<16) | ((_d)<<12) | ((-_off)&0xfff) ); \ NIns 642 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0x5D<<20) | ((_n)<<16) | ((_d)<<12) | ((_off)&0xfff) ); \ NIns 657 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0x15<<20) | ((_n)<<16) | ((_d)<<12) | ((0xB)<<4) | (((-_off)&0xf0)<<4) | ((-_off)&0xf) ); \ NIns 660 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0x1D<<20) | ((_n)<<16) | ((_d)<<12) | ((0xB)<<4) | (((_off)&0xf0)<<4) | ((_off)&0xf) ); \ NIns 669 nanojit/NativeARM.h if ((_off)<0) *(--_nIns) = (NIns)( COND_AL | (0x50<<20) | ((_n)<<16) | ((_d)<<12) | ((-(_off))&0xFFF) ); \ NIns 670 nanojit/NativeARM.h else *(--_nIns) = (NIns)( COND_AL | (0x58<<20) | ((_n)<<16) | ((_d)<<12) | ((_off)&0xFFF) ); \ NIns 676 nanojit/NativeARM.h #define BKPT_insn ((NIns)( COND_AL | (0x12<<20) | (0x7<<4) )) NIns 677 nanojit/NativeARM.h #define BKPTi_insn(id) ((NIns)(BKPT_insn | ((id << 4) & 0xfff00) | (id & 0xf))); NIns 689 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0x92<<20) | (SP<<16) | rmask(_r) ); \ NIns 696 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0x92<<20) | (SP<<16) | (_mask) ); \ NIns 703 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0x8B<<20) | (SP<<16) | rmask(_r) ); \ NIns 710 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0x8B<<20) | (SP<<16) | (_mask) ); \ NIns 747 nanojit/NativeARM.h *(--_nIns) = (NIns)( ( _opp<<28) | (0x3A<<20) | ((_r)<<12) | (0) ); \ NIns 748 nanojit/NativeARM.h *(--_nIns) = (NIns)( (_cond<<28) | (0x3A<<20) | ((_r)<<12) | (1) ); \ NIns 771 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0x1D<<20) | ((_b)<<16) | ((_d)<<12) | ((((_off)>>4)&0xF)<<8) | (0xF<<4) | ((_off)&0xF) ); \ NIns 776 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0x1D<<20) | ((_d)<<16) | ((_d)<<12) | ((((rem)>>4)&0xF)<<8) | (0xF<<4) | ((rem)&0xF) ); \ NIns 777 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | OP_IMM | (1<<23) | ((_b)<<16) | ((_d)<<12) | (0xFF) ); \ NIns 781 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0x19<<20) | ((_b)<<16) | ((_d)<<12) | (0xF<<4) | (_d) ); \ NIns 783 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | OP_IMM | (1<<23) | ((_d)<<16) | ((_d)<<12) | rem ); \ NIns 784 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0x1A<<20) | ((_d)<<12) | (2<<7)| (_d) ); \ NIns 785 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0x3B<<20) | ((_d)<<12) | (((_off)>>2)&0xFF) ); \ NIns 791 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0x15<<20) | ((_b)<<16) | ((_d)<<12) | ((((-(_off))>>4)&0xF)<<8) | (0xF<<4) | ((-(_off))&0xF) ); \ NIns 797 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0x15<<20) | ((_d)<<16) | ((_d)<<12) | ((((rem)>>4)&0xF)<<8) | (0xF<<4) | ((rem)&0xF) ); \ NIns 798 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | OP_IMM | (1<<22) | ((_b)<<16) | ((_d)<<12) | (0xFF) ); \ NIns 811 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0xC4<<20) | ((_Rn)<<16) | ((_Rd)<<12) | (0xB1<<4) | (FpRegNum(_Dm)) ); \ NIns 819 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0xC5<<20) | ((_Rn)<<16) | ((_Rd)<<12) | (0xB1<<4) | (FpRegNum(_Dm)) ); \ NIns 827 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0xE3<<20) | (FpRegNum(_Dn)<<16) | ((_Rd)<<12) | (0xB<<8) | (1<<4) ); \ NIns 835 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0xE1<<20) | (FpRegNum(_Dn)<<16) | ((_Rd)<<12) | (0xB<<8) | (1<<4) ); \ NIns 850 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0xD0<<20) | ((_Rn)<<16) | (FpRegNum(_Dd)<<12) | (0xB<<8) | negflag | ((offs>>2)&0xff) ); \ NIns 865 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0xD1<<20) | ((_Rn)<<16) | (FpRegNum(_Dd)<<12) | (0xB<<8) | negflag | ((offs>>2)&0xff) ); \ NIns 874 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0xEB8<<16) | (FpRegNum(_Dd)<<12) | (0x2F<<6) | (0<<5) | (0x7) ); \ NIns 883 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0xEB8<<16) | (FpRegNum(_Dd)<<12) | (0x2D<<6) | (0<<5) | (0x7) ); \ NIns 891 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0xE0<<20) | (0x7<<16) | ((_Rd)<<12) | (0xA<<8) | (0<<7) | (0x1<<4) ); \ NIns 899 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0xEB1<<16) | (FpRegNum(_Dd)<<12) | (0xB4<<4) | (FpRegNum(_Dm)) ); \ NIns 907 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0xE3<<20) | (FpRegNum(_Dn)<<16) | (FpRegNum(_Dd)<<12) | (0xB0<<4) | (FpRegNum(_Dm)) ); \ NIns 915 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0xE3<<20) | (FpRegNum(_Dn)<<16) | (FpRegNum(_Dd)<<12) | (0xB4<<4) | (FpRegNum(_Dm)) ); \ NIns 923 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0xE2<<20) | (FpRegNum(_Dn)<<16) | (FpRegNum(_Dd)<<12) | (0xB0<<4) | (FpRegNum(_Dm)) ); \ NIns 931 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0xE8<<20) | (FpRegNum(_Dn)<<16) | (FpRegNum(_Dd)<<12) | (0xB0<<4) | (FpRegNum(_Dm)) ); \ NIns 938 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | 0x0EF1FA10); \ NIns 947 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0xEB4<<16) | (FpRegNum(_Dd)<<12) | (0xB<<8) | ((_E)<<7) | (0x4<<4) | (FpRegNum(_Dm)) ); \ NIns 955 nanojit/NativeARM.h *(--_nIns) = (NIns)( COND_AL | (0xEB0<<16) | (FpRegNum(_Dd)<<12) | (0xB4<<4) | (FpRegNum(_Dm)) ); \ NIns 94 nanojit/NativePPC.cpp NIns* Assembler::genPrologue() { NIns 110 nanojit/NativePPC.cpp NIns *patchEntry = _nIns; NIns 119 nanojit/NativePPC.cpp NIns* Assembler::genEpilogue() { NIns 306 nanojit/NativePPC.cpp underrunProtect(5*sizeof(NIns)); // must be contiguous to be patchable NIns 442 nanojit/NativePPC.cpp NIns* Assembler::asm_branch(bool onfalse, LIns *cond, NIns * const targ) { NIns 447 nanojit/NativePPC.cpp NIns *patch; NIns 459 nanojit/NativePPC.cpp NIns* Assembler::asm_branch_near(bool onfalse, LIns *cond, NIns * const targ) { NIns 463 nanojit/NativePPC.cpp NIns *patch = 0; NIns 472 nanojit/NativePPC.cpp NIns *skip = _nIns; NIns 520 nanojit/NativePPC.cpp NIns *Assembler::asm_branch_far(bool onfalse, LIns *cond, NIns * const targ) { NIns 715 nanojit/NativePPC.cpp br((NIns*)call->_address, 1); NIns 1096 nanojit/NativePPC.cpp ptrdiff_t absaddr = addr - (NIns*)0; // ptr diff implies >>2 NIns 1130 nanojit/NativePPC.cpp int instr = (bytes + sizeof(NIns) - 1) / sizeof(NIns); NIns 1131 nanojit/NativePPC.cpp NIns *pc = _nIns; NIns 1132 nanojit/NativePPC.cpp NIns *top = codeStart; // this may be in a normal code chunk or an exit code chunk NIns 1184 nanojit/NativePPC.cpp NIns *after = _nIns; NIns 1390 nanojit/NativePPC.cpp SWAP(NIns*, _nIns, _nExitIns); NIns 1391 nanojit/NativePPC.cpp SWAP(NIns*, codeStart, exitStart); NIns 1392 nanojit/NativePPC.cpp SWAP(NIns*, codeEnd, exitEnd); NIns 285 nanojit/NativePPC.h void br(NIns *addr, int link); \ NIns 286 nanojit/NativePPC.h void br_far(NIns *addr, int link); \ NIns 292 nanojit/NativePPC.h NIns* asm_branch_far(bool onfalse, LIns *cond, NIns * const targ); \ NIns 293 nanojit/NativePPC.h NIns* asm_branch_near(bool onfalse, LIns *cond, NIns * const targ); \ NIns 302 nanojit/NativePPC.h const size_t LARGEST_BRANCH_PATCH = 4 * sizeof(NIns); NIns 306 nanojit/NativePPC.h *(--_nIns) = (NIns) (ins);\ NIns 80 nanojit/NativeSparc.cpp NIns* Assembler::genPrologue() NIns 103 nanojit/NativeSparc.cpp NIns *patchEntry = _nIns; NIns 145 nanojit/NativeSparc.cpp NIns *Assembler::genEpilogue() NIns 493 nanojit/NativeSparc.cpp NIns* Assembler::asm_branch(bool branchOnFalse, LInsp cond, NIns* targ) NIns 495 nanojit/NativeSparc.cpp NIns* at = 0; NIns 971 nanojit/NativeSparc.cpp NIns * Assembler::asm_fbranch(bool branchOnFalse, LIns *cond, NIns *targ) NIns 973 nanojit/NativeSparc.cpp NIns *at = 0; NIns 1061 nanojit/NativeSparc.cpp NIns *eip = _nIns; NIns 1087 nanojit/NativeSparc.cpp SWAP(NIns*, _nIns, _nExitIns); NIns 1088 nanojit/NativeSparc.cpp SWAP(NIns*, codeStart, exitStart); NIns 1089 nanojit/NativeSparc.cpp SWAP(NIns*, codeEnd, exitEnd); NIns 84 nanojit/NativeSparc.h const size_t LARGEST_BRANCH_PATCH = 2 * sizeof(NIns); NIns 213 nanojit/NativeSparc.h NIns* asm_fbranch(bool, LIns*, NIns*); NIns 263 nanojit/NativeX64.cpp *(--_nIns) = (NIns) d; NIns 873 nanojit/NativeX64.cpp NIns *target = (NIns*)call->_address; NIns 1055 nanojit/NativeX64.cpp NIns* Assembler::asm_branch(bool onFalse, LIns *cond, NIns *target) { NIns 1124 nanojit/NativeX64.cpp NIns *patch = _nIns; // addr of instr to patch NIns 1194 nanojit/NativeX64.cpp NIns* Assembler::asm_fbranch(bool onFalse, LIns *cond, NIns *target) { NIns 1196 nanojit/NativeX64.cpp NIns *patch; NIns 1210 nanojit/NativeX64.cpp NIns *skip = _nIns; NIns 1548 nanojit/NativeX64.cpp } else if (isTargetWithinS32((NIns*)v)) { NIns 1629 nanojit/NativeX64.cpp if (isS32((uintptr_t)negateMask) || isTargetWithinS32((NIns*)negateMask)) { NIns 1636 nanojit/NativeX64.cpp XORPSM(rr, (NIns*)negateMask); NIns 1677 nanojit/NativeX64.cpp NIns* Assembler::genPrologue() { NIns 1697 nanojit/NativeX64.cpp NIns *patchEntry = _nIns; NIns 1704 nanojit/NativeX64.cpp NIns* Assembler::genEpilogue() { NIns 1724 nanojit/NativeX64.cpp NIns *next = 0; NIns 1806 nanojit/NativeX64.cpp NIns *pc = _nIns; NIns 1807 nanojit/NativeX64.cpp NIns *top = codeStart; // this may be in a normal code chunk or an exit code chunk NIns 1890 nanojit/NativeX64.cpp SWAP(NIns*, _nIns, _nExitIns); NIns 1891 nanojit/NativeX64.cpp SWAP(NIns*, codeStart, exitStart); NIns 1892 nanojit/NativeX64.cpp SWAP(NIns*, codeEnd, exitEnd); NIns 357 nanojit/NativeX64.h void JMP(NIns*);\ NIns 358 nanojit/NativeX64.h void JMPl(NIns*);\ NIns 361 nanojit/NativeX64.h void emit_target8(size_t underrun, uint64_t op, NIns* target);\ NIns 362 nanojit/NativeX64.h void emit_target32(size_t underrun, uint64_t op, NIns* target);\ NIns 381 nanojit/NativeX64.h void emitxm_rel(uint64_t op, Register r, NIns* addr64);\ NIns 382 nanojit/NativeX64.h bool isTargetWithinS8(NIns* target);\ NIns 383 nanojit/NativeX64.h bool isTargetWithinS32(NIns* target);\ NIns 393 nanojit/NativeX64.h void dis(NIns *p, int bytes);\ NIns 397 nanojit/NativeX64.h NIns* asm_fbranch(bool, LIns*, NIns*);\ NIns 521 nanojit/NativeX64.h void JMP8(size_t n, NIns* t);\ NIns 522 nanojit/NativeX64.h void JMP32(size_t n, NIns* t);\ NIns 523 nanojit/NativeX64.h void JMPX(Register indexreg, NIns** table);\ NIns 525 nanojit/NativeX64.h void JO(size_t n, NIns* t);\ NIns 526 nanojit/NativeX64.h void JE(size_t n, NIns* t);\ NIns 527 nanojit/NativeX64.h void JL(size_t n, NIns* t);\ NIns 528 nanojit/NativeX64.h void JLE(size_t n, NIns* t);\ NIns 529 nanojit/NativeX64.h void JG(size_t n, NIns* t);\ NIns 530 nanojit/NativeX64.h void JGE(size_t n, NIns* t);\ NIns 531 nanojit/NativeX64.h void JB(size_t n, NIns* t);\ NIns 532 nanojit/NativeX64.h void JBE(size_t n, NIns* t);\ NIns 533 nanojit/NativeX64.h void JA(size_t n, NIns* t);\ NIns 534 nanojit/NativeX64.h void JAE(size_t n, NIns* t);\ NIns 535 nanojit/NativeX64.h void JP(size_t n, NIns* t);\ NIns 536 nanojit/NativeX64.h void JNO(size_t n, NIns* t);\ NIns 537 nanojit/NativeX64.h void JNE(size_t n, NIns* t);\ NIns 538 nanojit/NativeX64.h void JNL(size_t n, NIns* t);\ NIns 539 nanojit/NativeX64.h void JNLE(size_t n, NIns* t);\ NIns 540 nanojit/NativeX64.h void JNG(size_t n, NIns* t);\ NIns 541 nanojit/NativeX64.h void JNGE(size_t n, NIns* t);\ NIns 542 nanojit/NativeX64.h void JNB(size_t n, NIns* t);\ NIns 543 nanojit/NativeX64.h void JNBE(size_t n, NIns* t);\ NIns 544 nanojit/NativeX64.h void JNA(size_t n, NIns* t);\ NIns 545 nanojit/NativeX64.h void JNAE(size_t n, NIns* t);\ NIns 546 nanojit/NativeX64.h void JO8(size_t n, NIns* t);\ NIns 547 nanojit/NativeX64.h void JE8(size_t n, NIns* t);\ NIns 548 nanojit/NativeX64.h void JL8(size_t n, NIns* t);\ NIns 549 nanojit/NativeX64.h void JLE8(size_t n, NIns* t);\ NIns 550 nanojit/NativeX64.h void JG8(size_t n, NIns* t);\ NIns 551 nanojit/NativeX64.h void JGE8(size_t n, NIns* t);\ NIns 552 nanojit/NativeX64.h void JB8(size_t n, NIns* t);\ NIns 553 nanojit/NativeX64.h void JBE8(size_t n, NIns* t);\ NIns 554 nanojit/NativeX64.h void JA8(size_t n, NIns* t);\ NIns 555 nanojit/NativeX64.h void JAE8(size_t n, NIns* t);\ NIns 556 nanojit/NativeX64.h void JP8(size_t n, NIns* t);\ NIns 557 nanojit/NativeX64.h void JNO8(size_t n, NIns* t);\ NIns 558 nanojit/NativeX64.h void JNE8(size_t n, NIns* t);\ NIns 559 nanojit/NativeX64.h void JNL8(size_t n, NIns* t);\ NIns 560 nanojit/NativeX64.h void JNLE8(size_t n, NIns* t);\ NIns 561 nanojit/NativeX64.h void JNG8(size_t n, NIns* t);\ NIns 562 nanojit/NativeX64.h void JNGE8(size_t n, NIns* t);\ NIns 563 nanojit/NativeX64.h void JNB8(size_t n, NIns* t);\ NIns 564 nanojit/NativeX64.h void JNBE8(size_t n, NIns* t);\ NIns 565 nanojit/NativeX64.h void JNA8(size_t n, NIns* t);\ NIns 566 nanojit/NativeX64.h void JNAE8(size_t n, NIns* t);\ NIns 567 nanojit/NativeX64.h void CALL(size_t n, NIns* t);\ NIns 572 nanojit/NativeX64.h void XORPSM(Register r, NIns* a64);\ NIns 582 nanojit/NativeX64.h const size_t LARGEST_BRANCH_PATCH = 16 * sizeof(NIns); NIns 118 nanojit/Nativei386.cpp NIns* Assembler::genPrologue() NIns 140 nanojit/Nativei386.cpp NIns *fragEntry = _nIns; NIns 194 nanojit/Nativei386.cpp NIns *Assembler::genEpilogue() NIns 780 nanojit/Nativei386.cpp NIns* Assembler::asm_branch(bool branchOnFalse, LInsp cond, NIns* targ) NIns 821 nanojit/Nativei386.cpp NIns* at = _nIns; NIns 1822 nanojit/Nativei386.cpp NIns* Assembler::asm_fbranch(bool branchOnFalse, LIns *cond, NIns *targ) NIns 1824 nanojit/Nativei386.cpp NIns* at; NIns 2047 nanojit/Nativei386.cpp NIns *eip = _nIns; NIns 2079 nanojit/Nativei386.cpp SWAP(NIns*, _nIns, _nExitIns); NIns 2080 nanojit/Nativei386.cpp SWAP(NIns*, codeStart, exitStart); NIns 2081 nanojit/Nativei386.cpp SWAP(NIns*, codeEnd, exitEnd); NIns 111 nanojit/Nativei386.h const size_t LARGEST_BRANCH_PATCH = 16 * sizeof(NIns); NIns 188 nanojit/Nativei386.h NIns* asm_fbranch(bool, LIns*, NIns*);\ NIns 611 nanojit/Nativei386.h verbose_only( NIns* next = _nIns; (void)next; ) \ NIns 617 nanojit/Nativei386.h verbose_only( NIns* next = _nIns; ) \ NIns 638 nanojit/Nativei386.h verbose_only( NIns* next = _nIns; (void)next; ) \ NIns 649 nanojit/Nativei386.h verbose_only( NIns* next = _nIns; (void)next; ) \ NIns 664 nanojit/Nativei386.h _nIns[0] = (NIns) 0xff; /* jmp */ \ NIns 665 nanojit/Nativei386.h _nIns[1] = (NIns) (0<<6 | 4<<3 | 4); /* modrm: base=sib + disp32 */ \ NIns 666 nanojit/Nativei386.h _nIns[2] = (NIns) ((ss)<<6 | (x)<<3 | 5); /* sib: x<<ss + table */ \