search for: intsanc

Displaying 1 result from an estimated 1 matches for "intsanc".

Did you mean: intsance
2019 Aug 14
3
[RFC][RISCV] Selection of complex codegen patterns into RISCV bit manipulation instructions
...i32 %0, %neg just in case the user wants such optimization but is not aware of all the bits that can be optimized. I'm dealing with the fact that it is pretty hard to select some patterns of DAG nodes in order to replace them with an optimal machine equivalent machine instruction. Take for intsance the count leading zeros operation:     uint32_t clz (uint32_t x)     {         for (int count = 0; count < 32; count++ ) {             if ((x << count) < 0)                 return count;         }         return 32;     } It needs a loop to be performed and that makes it dif...