Re: compiling instrinstics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ranjith kumar <ranjit_kumar_b4u@xxxxxxxxxxx> writes:

>     I know xmmintrin.h header file provides functions
> called intrinstics to exploit simd features of a
> processor.
>  Can anyone tell at which compilation phase (of gcc),
> each of those intrinstics(functions) is replaced by a
> single assembly instruction.

When the tree data structure is expanded into RTL, each call to a
recognized intrinsic function is replaced with one or more RTL
instructions.  A single RTL instruction roughly corresponds to a
single assembly language instruction.

(This answer only applies to gcc 4.0 and later).

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux