Lines Matching refs:cp
348 unsigned int *cp = (unsigned int *)buffer; in dasm_encode() local
365 case DASM_ESC: *cp++ = *p++; break; in dasm_encode()
367 n = DASM_EXTERN(Dst, (unsigned char *)cp, (ins&2047), !(ins&2048)); in dasm_encode()
370 ins &= 255; while ((((char *)cp - base) & ins)) *cp++ = 0xe1a00000; in dasm_encode()
376 n = *DASM_POS2PTR(D, n) - (int)((char *)cp - base) - 4; in dasm_encode()
380 cp[-1] |= ((n >> 2) & 0x00ffffff); in dasm_encode()
398 cp[-1] |= ((n>>((ins>>10)&31)) & ((1<<((ins>>5)&31))-1)) << (ins&31); in dasm_encode()
401 cp[-1] |= dasm_imm12((unsigned int)n); in dasm_encode()
404 cp[-1] |= ((n & 0xf000) << 4) | (n & 0x0fff); in dasm_encode()
407 cp[-1] |= n >= 0 ? (0x00800000 | (n & 0x0f) | ((n & 0xf0) << 4)) : in dasm_encode()
411 cp[-1] |= n >= 0 ? (0x00800000 | n) : (-n); in dasm_encode()
413 default: *cp++ = ins; break; in dasm_encode()
420 if (base + D->codesize != (char *)cp) /* Check for phase errors. */ in dasm_encode()