Lines Matching refs:CK
157 #define CK(x, st) \ macro
164 #define CK(x, st) ((void)0) macro
247 n = (ins & 255); CK(n < D->maxsection, RANGE_SEC); in dasm_put()
255 if (n >= 0) { CK(n>=10||*pl<0, RANGE_LG); CKPL(lg, LG); goto putrel; } in dasm_put()
284 CK((n & ((1<<((ins>>10)&31))-1)) == 0, RANGE_I); in dasm_put()
288 CK(((n + (1<<(((ins>>5)&31)-1)))>>((ins>>5)&31)) == 0, RANGE_I); in dasm_put()
290 CK((n>>((ins>>5)&31)) == 0, RANGE_I); in dasm_put()
295 CK((n >> 6) == 0, RANGE_I); in dasm_put()
299 CK(dasm_imm12((unsigned int)n) != -1, RANGE_I); in dasm_put()
303 CK(dasm_imm13(n, n) != -1, RANGE_I); in dasm_put()
308 CK(dasm_imm13(n, m) != -1, RANGE_I); in dasm_put()
316 CK((!(n & ((1<<scale)-1)) && (unsigned int)(n>>scale) < 4096) || in dasm_put()
330 #undef CK
393 #define CK(x, st) \ macro
396 #define CK(x, st) ((void)0) macro
429 CK(n >= 0, UNDEF_LG); in dasm_encode()
431 CK(n >= 0, UNDEF_PC); in dasm_encode()
435 CK((n & 3) == 0 && ((n+0x08000000) >> 28) == 0, RANGE_REL); in dasm_encode()
438 CK((n & 3) == 0 && ((n+0x00100000) >> 21) == 0, RANGE_REL); in dasm_encode()
441 CK(((n+0x00100000) >> 21) == 0, RANGE_REL); in dasm_encode()
446 CK((n & 3) == 0 && ((n+0x00008000) >> 16) == 0, RANGE_REL); in dasm_encode()
486 #undef CK