Lines Matching refs:cp
404 unsigned int *cp = (unsigned int *)buffer; in dasm_encode() local
421 case DASM_ESC: *cp++ = *p++; break; in dasm_encode()
423 n = DASM_EXTERN(Dst, (unsigned char *)cp, (ins&2047), !(ins&2048)); in dasm_encode()
426 ins &= 255; while ((((char *)cp - base) & ins)) *cp++ = 0xe1a00000; in dasm_encode()
432 n = *DASM_POS2PTR(D, n) - (int)((char *)cp - base) + 4; in dasm_encode()
436 cp[-1] |= ((n >> 2) & 0x03ffffff); in dasm_encode()
439 cp[-1] |= ((n << 3) & 0x00ffffe0); in dasm_encode()
442 cp[-1] |= ((n << 3) & 0x00ffffe0) | ((n & 3) << 29); in dasm_encode()
444 cp[-1] |= ((n >> 9) & 0x00ffffe0) | (((n >> 12) & 3) << 29); in dasm_encode()
447 cp[-1] |= ((n << 3) & 0x0007ffe0); in dasm_encode()
455 cp[-1] |= (n & ((1<<((ins>>5)&31))-1)) << (ins&31); in dasm_encode()
458 cp[-1] |= ((n&31) << 19) | ((n&32) << 26); in dasm_encode()
461 cp[-1] |= (dasm_imm12((unsigned int)n) << 10); in dasm_encode()
464 cp[-1] |= (dasm_imm13(n, n) << 10); in dasm_encode()
467 cp[-1] |= (dasm_imm13(n, *b++) << 10); in dasm_encode()
471 cp[-1] |= (!(n & ((1<<scale)-1)) && (unsigned int)(n>>scale) < 4096) ? in dasm_encode()
475 default: *cp++ = ins; break; in dasm_encode()
482 if (base + D->codesize != (char *)cp) /* Check for phase errors. */ in dasm_encode()