Lines Matching refs:cp
409 do { if (!(x) && !(n = DASM_ADD_VENEER(D, buffer, ins, b, cp, o))) \
428 unsigned int *cp = (unsigned int *)buffer; in dasm_encode() local
445 case DASM_ESC: *cp++ = *p++; break; in dasm_encode()
447 n = DASM_EXTERN(Dst, (unsigned char *)cp, (ins&2047), !(ins&2048)); in dasm_encode()
450 ins &= 255; while ((((char *)cp - base) & ins)) *cp++ = 0xd503201f; in dasm_encode()
454 ptrdiff_t na = (ptrdiff_t)D->globals[-n-10] - (ptrdiff_t)cp + 4; in dasm_encode()
462 n = *DASM_POS2PTR(D, n) - (int)((char *)cp - base) + 4; in dasm_encode()
466 cp[-1] |= ((n >> 2) & 0x03ffffff); in dasm_encode()
469 cp[-1] |= (((unsigned)n << 3) & 0x00ffffe0); in dasm_encode()
472 cp[-1] |= (((unsigned)n << 3) & 0x00ffffe0) | ((n & 3) << 29); in dasm_encode()
474 cp[-1] |= ((n >> 9) & 0x00ffffe0) | (((n >> 12) & 3) << 29); in dasm_encode()
477 cp[-1] |= (((unsigned)n << 3) & 0x0007ffe0); in dasm_encode()
479 cp[0] = (unsigned int)((ptrdiff_t)cp - 4 + n); in dasm_encode()
480 cp[1] = (unsigned int)(((ptrdiff_t)cp - 4 + n) >> 32); in dasm_encode()
481 cp += 2; in dasm_encode()
488 na = (na >> 12) - (((ptrdiff_t)cp - 4) >> 12); in dasm_encode()
490 na = na - (ptrdiff_t)cp + 4; in dasm_encode()
501 cp[-1] |= (n & ((1<<((ins>>5)&31))-1)) << (ins&31); in dasm_encode()
504 cp[-1] |= ((n&31) << 19) | ((n&32) << 26); in dasm_encode()
507 cp[-1] |= (dasm_imm12((unsigned int)n) << 10); in dasm_encode()
510 cp[-1] |= (dasm_imm13(n, n) << 10); in dasm_encode()
513 cp[-1] |= (dasm_imm13(n, *b++) << 10); in dasm_encode()
517 cp[-1] |= (!(n & ((1<<scale)-1)) && (unsigned int)(n>>scale) < 4096) ? in dasm_encode()
522 *cp++ = n; in dasm_encode()
525 cp[-1] |= (n & 0x1f) << (ins & 0x1f); in dasm_encode()
527 default: *cp++ = ins; break; in dasm_encode()
534 if (base + D->codesize != (char *)cp) /* Check for phase errors. */ in dasm_encode()