Lines Matching refs:bsr
94 ; Generate a test and branch to handle zero inputs because bsr/bsf are very slow.
113 ; Generate a test and branch to handle zero inputs because bsr/bsf are very slow.
131 ; Generate a test and branch to handle zero inputs because bsr/bsf are very slow.
148 ; Generate a test and branch to handle zero inputs because bsr/bsf are very slow.
165 ; Generate a test and branch to handle zero inputs because bsr/bsf are very slow.
183 ; Generate a test and branch to handle zero inputs because bsr/bsf are very slow.
199 ; Generate a test and branch to handle zero inputs because bsr/bsf are very slow.
215 ; Generate a test and branch to handle zero inputs because bsr/bsf are very slow.
231 ; Don't generate the cmovne when the source is known non-zero (and bsr would
254 ; the most significant bit, which is what 'bsr' does natively.
261 %bsr = xor i32 %ctlz, 31
262 ret i32 %bsr
266 ; Generate a test and branch to handle zero inputs because bsr/bsf are very slow.
282 %bsr = xor i32 %ctlz, 31
283 ret i32 %bsr