This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
X86 Built-in Functions
- From: Kimmo Fredriksson <kfredrik at cs dot joensuu dot fi>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 26 May 2003 12:48:34 +0300 (EEST)
- Subject: X86 Built-in Functions
- Replyto: Kimmo Fredriksson <kfredrik@cs.joensuu.fi>
You can access the mmx/3dnow/sse instructions using built-in functions.
These are documented (for gcc 3.3) in:
http://gcc.gnu.org/onlinedocs/gcc-3.3/gcc/X86-Built-in-Functions.html#X86%20Built-in%20Functions
However, the sse2 instructions are missing from the documentation, but it
seems that they are implemented by gcc 3.3... Any documentation anywhere?
Or are these broken as they are not documented?
I'd need the equivalents for the following icc (intel cc) builtins:
_mm_add_epi64
_mm_andnot_si128
_mm_and_si128
_mm_cvtsi128_si32
_mm_cvtsi32_si128
_mm_or_si128
_mm_set_epi32
_mm_setzero_si128
_mm_slli_epi64
_mm_slli_si128
_mm_srli_epi64
_mm_srli_si128
_mm_sub_epi64
_mm_xor_si128
What the built-ins in gcc, and what are the corresponding modes?
Thanks.