This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
--- Ian Lance Taylor <iant@google.com> wrote:
ranjith kumar <ranjit_kumar_b4u@yahoo.co.uk> writes:Please tell me in what file they are defined.
1) Seems that all defintions for MMX, SSE andSSE2are deinred in mmtrin.h,xmmintrin.h andemmintrin.hheader files respectively. Am I right?
Yes.
2) In those header files all functions call _builtin_ia32_*. Where those functions(body) are defined?
They are intrinsic functions automatically defined by the compiler.
defined in3) I thought that associated with each SIMD instruction defined in Intel-ia-32-architectures manual(Basic architecture) there is one function defined in those header files. But for some instructions no functions werethose header files.(For example MOVDQAinstruction)Also those header files contain some morefunctionsfor which no SIMD assembly instructionexist.Examplein emmintrin.h static __inline __m128i _mm_load_si128 (__m128i const *__P) { return (__m128i) __builtin_ia32_loaddqa ((char const *)__P); } What could be the reason?
Those header files follow the implementation described by Intel.In which file they are described? The thing is that I want to go into internals of it. Thanks in advance.
Ian
___________________________________________________________
All New Yahoo! Mail – Tired of unwanted email come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |