extend.texi (189824) | extend.texi (219639) |
---|---|
1@c Copyright (C) 1988, 1989, 1992, 1993, 1994, 1996, 1998, 1999, 2000, 2@c 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 3 4@c This is part of the GCC manual. 5@c For copying conditions, see the file gcc.texi. 6 7@node C Extensions 8@chapter Extensions to the C Language Family --- 7197 unchanged lines hidden (view full) --- 7206 7207The following built-in functions are available when @option{-msse3} is used. 7208 7209@table @code 7210@item v2df __builtin_ia32_loadddup (double const *) 7211Generates the @code{movddup} machine instruction as a load from memory. 7212@end table 7213 | 1@c Copyright (C) 1988, 1989, 1992, 1993, 1994, 1996, 1998, 1999, 2000, 2@c 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 3 4@c This is part of the GCC manual. 5@c For copying conditions, see the file gcc.texi. 6 7@node C Extensions 8@chapter Extensions to the C Language Family --- 7197 unchanged lines hidden (view full) --- 7206 7207The following built-in functions are available when @option{-msse3} is used. 7208 7209@table @code 7210@item v2df __builtin_ia32_loadddup (double const *) 7211Generates the @code{movddup} machine instruction as a load from memory. 7212@end table 7213 |
7214The following built-in functions are available when @option{-mssse3} is used. 7215All of them generate the machine instruction that is part of the name 7216with MMX registers. 7217 7218@smallexample 7219v2si __builtin_ia32_phaddd (v2si, v2si) 7220v4hi __builtin_ia32_phaddw (v4hi, v4hi) 7221v4hi __builtin_ia32_phaddsw (v4hi, v4hi) 7222v2si __builtin_ia32_phsubd (v2si, v2si) 7223v4hi __builtin_ia32_phsubw (v4hi, v4hi) 7224v4hi __builtin_ia32_phsubsw (v4hi, v4hi) 7225v8qi __builtin_ia32_pmaddubsw (v8qi, v8qi) 7226v4hi __builtin_ia32_pmulhrsw (v4hi, v4hi) 7227v8qi __builtin_ia32_pshufb (v8qi, v8qi) 7228v8qi __builtin_ia32_psignb (v8qi, v8qi) 7229v2si __builtin_ia32_psignd (v2si, v2si) 7230v4hi __builtin_ia32_psignw (v4hi, v4hi) 7231long long __builtin_ia32_palignr (long long, long long, int) 7232v8qi __builtin_ia32_pabsb (v8qi) 7233v2si __builtin_ia32_pabsd (v2si) 7234v4hi __builtin_ia32_pabsw (v4hi) 7235@end smallexample 7236 7237The following built-in functions are available when @option{-mssse3} is used. 7238All of them generate the machine instruction that is part of the name 7239with SSE registers. 7240 7241@smallexample 7242v4si __builtin_ia32_phaddd128 (v4si, v4si) 7243v8hi __builtin_ia32_phaddw128 (v8hi, v8hi) 7244v8hi __builtin_ia32_phaddsw128 (v8hi, v8hi) 7245v4si __builtin_ia32_phsubd128 (v4si, v4si) 7246v8hi __builtin_ia32_phsubw128 (v8hi, v8hi) 7247v8hi __builtin_ia32_phsubsw128 (v8hi, v8hi) 7248v16qi __builtin_ia32_pmaddubsw128 (v16qi, v16qi) 7249v8hi __builtin_ia32_pmulhrsw128 (v8hi, v8hi) 7250v16qi __builtin_ia32_pshufb128 (v16qi, v16qi) 7251v16qi __builtin_ia32_psignb128 (v16qi, v16qi) 7252v4si __builtin_ia32_psignd128 (v4si, v4si) 7253v8hi __builtin_ia32_psignw128 (v8hi, v8hi) 7254v2di __builtin_ia32_palignr (v2di, v2di, int) 7255v16qi __builtin_ia32_pabsb128 (v16qi) 7256v4si __builtin_ia32_pabsd128 (v4si) 7257v8hi __builtin_ia32_pabsw128 (v8hi) 7258@end smallexample 7259 |
|
7214The following built-in functions are available when @option{-m3dnow} is used. 7215All of them generate the machine instruction that is part of the name. 7216 7217@smallexample 7218void __builtin_ia32_femms (void) 7219v8qi __builtin_ia32_pavgusb (v8qi, v8qi) 7220v2si __builtin_ia32_pf2id (v2sf) 7221v2sf __builtin_ia32_pfacc (v2sf, v2sf) --- 3856 unchanged lines hidden --- | 7260The following built-in functions are available when @option{-m3dnow} is used. 7261All of them generate the machine instruction that is part of the name. 7262 7263@smallexample 7264void __builtin_ia32_femms (void) 7265v8qi __builtin_ia32_pavgusb (v8qi, v8qi) 7266v2si __builtin_ia32_pf2id (v2sf) 7267v2sf __builtin_ia32_pfacc (v2sf, v2sf) --- 3856 unchanged lines hidden --- |