Exercises

  1. With a 32-bit data element size , what is the result of a logical right shifting of the following data by 34 bits? With an arithmetic right shift? With a logical left shift?

    0xB83DE7820

  2. Write a function to count the number of bits to contain a signed value.

  3. Write a packed 16— 8-bit SAR, using pseudo vector code.

  4. Write a packed 16— 8-bit SAR, using SIMD instructions.

  5. Write a packed ROL using SIMD.

    1. 8-bit

    2. 16-bit

    3. 32-bit

  6. Write a packed ROR using SIMD.

    1. 8-bit

    2. 16-bit

    3. 32-bit



32.64-Bit 80X86 Assembly Language Architecture
32/64-Bit 80x86 Assembly Language Architecture
ISBN: 1598220020
EAN: 2147483647
Year: 2003
Pages: 191

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net