Lines Matching refs:cp
349 unsigned int *cp = (unsigned int *)buffer; in dasm_encode() local
366 case DASM_ESC: *cp++ = *p++; break; in dasm_encode()
368 n = DASM_EXTERN(Dst, (unsigned char *)cp, (ins&2047), !(ins&2048)); in dasm_encode()
371 ins &= 255; while ((((char *)cp - base) & ins)) *cp++ = 0xe1a00000; in dasm_encode()
375 n = (int)((ptrdiff_t)D->globals[-n] - (ptrdiff_t)cp - 4); in dasm_encode()
381 n = *DASM_POS2PTR(D, n) - (int)((char *)cp - base) - 4; in dasm_encode()
385 cp[-1] |= ((n >> 2) & 0x00ffffff); in dasm_encode()
403 cp[-1] |= ((n>>((ins>>10)&31)) & ((1<<((ins>>5)&31))-1)) << (ins&31); in dasm_encode()
406 cp[-1] |= dasm_imm12((unsigned int)n); in dasm_encode()
409 cp[-1] |= ((n & 0xf000) << 4) | (n & 0x0fff); in dasm_encode()
412 cp[-1] |= n >= 0 ? (0x00800000 | (n & 0x0f) | ((n & 0xf0) << 4)) : in dasm_encode()
416 cp[-1] |= n >= 0 ? (0x00800000 | n) : (-n); in dasm_encode()
418 default: *cp++ = ins; break; in dasm_encode()
425 if (base + D->codesize != (char *)cp) /* Check for phase errors. */ in dasm_encode()