Copyright (C) 2000-2012 |
GNU Info (gmp.info)Assembler SIMD InstructionsSIMD Instructions ----------------- The single-instruction multiple-data support in current microprocessors is aimed at signal processing algorithms where each data point can be treated more or less independently. There's generally not much support for propagating the sort of carries that arise in GMP. SIMD multiplications of say four 16x16 bit multiplies only do as much work as one 32x32 from GMP's point of view, and need some shifts and adds besides. But of course if say the SIMD form is fully pipelined and uses less instruction decoding then it may still be worthwhile. On the 80x86 chips, MMX has so far found a use in `mpn_rshift' and `mpn_lshift' since it allows 64-bit operations, and is used in a special case for 16-bit multipliers in the P55 `mpn_mul_1'. 3DNow and SSE haven't found a use so far. automatically generated by info2www version 1.2.2.9 |