4 Replies Latest reply on Oct 7, 2013 8:28 AM by himanshu.gautam

    Norm internsic in AMD opetron machines

    mkumar9009

      Norm is an intrinsic generally used in all the DSP processors. It calculates the number of bits which are of same as of sign bits.

      For example, if the processor has 32 bit number say, int x.

      x =19; // 19 in binary will be 0x00000013

      and now I do norm(x) on TI DSP it gives the the shift count as 26. This 26 tells me how much this number can be left shifted.

       

      Is there any such instruction available in AMD opteron machine?