Lines Matching refs:range
58 #define BRANCHLESS_GET_CABAC_UPDATE(ret, retq, low, range, tmp) \
60 "cmova %%ecx , "range" \n\t"\
66 #define BRANCHLESS_GET_CABAC_UPDATE(ret, retq, low, range, tmp) \
70 "sub %%ecx , "range" \n\t"\
71 "and "tmp" , "range" \n\t"\
72 "add %%ecx , "range" \n\t"\
80 #define BRANCHLESS_GET_CABAC(ret, retq, statep, low, lowword, range, rangeq, tmp, tmpbyte, byte, end, norm_off, lps_off, mlps_off, tables) \
82 "mov "range" , "tmp" \n\t"\
83 "and $0xC0 , "range" \n\t"\
84 "lea ("ret", "range", 2), %%ecx \n\t"\
85 "movzbl "lps_off"("tables", %%rcx), "range" \n\t"\
86 "sub "range" , "tmp" \n\t"\
89 BRANCHLESS_GET_CABAC_UPDATE(ret, retq, low, range, tmp) \
91 "shl %%cl , "range" \n\t"\
120 #define BRANCHLESS_GET_CABAC_UPDATE(ret, low, range, tmp)\
124 "cmova %%ecx , "range" \n\t"\
130 #define BRANCHLESS_GET_CABAC_UPDATE(ret, low, range, tmp)\
135 "sub %%ecx , "range" \n\t" /*RangeLPS - range*/\
136 "and "tmp" , "range" \n\t" /*(RangeLPS - range)&lps_mask*/\
137 "add %%ecx , "range" \n\t" /*new range*/\
144 #define BRANCHLESS_GET_CABAC(ret, retq, statep, low, lowword, range, rangeq, tmp, tmpbyte, byte, end, norm_off, lps_off, mlps_off, tables) \
146 "mov "range" , "tmp" \n\t"\
147 "and $0xC0 , "range" \n\t"\
148 "movzbl "MANGLE(ff_h264_cabac_tables)"+"lps_off"("ret", "range", 2), "range" \n\t"\
149 "sub "range" , "tmp" \n\t"\
150 BRANCHLESS_GET_CABAC_UPDATE(ret, low, range, tmp) \
151 "movzbl "MANGLE(ff_h264_cabac_tables)"+"norm_off"("range"), %%ecx \n\t"\
152 "shl %%cl , "range" \n\t"\
207 : "=&r"(bit), "=&r"(c->low), "=&r"(c->range), "=&q"(tmp)
212 ,"1"(c->low), "2"(c->range)
260 "i"(offsetof(CABACContext, range))
300 "i"(offsetof(CABACContext, range))