(ARM Built-in Functions): New node.

(ARM Built-in Functions): New node.  Document ARM builtin functions for iWMMXt
support.

From-SVN: r68252
This commit is contained in:
Nick Clifton 2003-06-20 08:08:20 +00:00 committed by Nick Clifton
parent 8f2afc2131
commit 4bc730184b
2 changed files with 164 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-06-20 Nick Clifton <nickc@redhat.com>
* doc/extend.texi (ARM Built-in Functions): New node. Document
ARM builtin functions for iWMMXt support.
2003-06-20 Eric Botcazou <ebotcazou@libertysurf.fr> 2003-06-20 Eric Botcazou <ebotcazou@libertysurf.fr>
* doc/install.texi (--with-gnu-as): Mention SPARC/Solaris and * doc/install.texi (--with-gnu-as): Mention SPARC/Solaris and

View File

@ -5164,6 +5164,7 @@ instructions, but allow the compiler to schedule those calls.
@menu @menu
* Alpha Built-in Functions:: * Alpha Built-in Functions::
* ARM Built-in Functions::
* X86 Built-in Functions:: * X86 Built-in Functions::
* PowerPC AltiVec Built-in Functions:: * PowerPC AltiVec Built-in Functions::
@end menu @end menu
@ -5250,6 +5251,164 @@ void *__builtin_thread_pointer (void)
void __builtin_set_thread_pointer (void *) void __builtin_set_thread_pointer (void *)
@end example @end example
@node ARM Built-in Functions
@subsection ARM Built-in Functions
These built-in functions are available for the ARM family of
processors, when the @option{-mcpu=iwmmxt} switch is used:
@example
typedef int __v2si __attribute__ ((__mode__ (__V2SI__)))
v2si __builtin_arm_waddw (v2si, v2si)
v2si __builtin_arm_waddw (v2si, v2si)
v2si __builtin_arm_wsubw (v2si, v2si)
v2si __builtin_arm_wsubw (v2si, v2si)
v2si __builtin_arm_waddwss (v2si, v2si)
v2si __builtin_arm_wsubwss (v2si, v2si)
v2si __builtin_arm_wsubwss (v2si, v2si)
v2si __builtin_arm_wsubwss (v2si, v2si)
v2si __builtin_arm_wsubwss (v2si, v2si)
v2si __builtin_arm_waddwus (v2si, v2si)
v2si __builtin_arm_wsubwus (v2si, v2si)
v2si __builtin_arm_wsubwus (v2si, v2si)
v2si __builtin_arm_wmaxuw (v2si, v2si)
v2si __builtin_arm_wmaxsw (v2si, v2si)
v2si __builtin_arm_wavg2br (v2si, v2si)
v2si __builtin_arm_wavg2hr (v2si, v2si)
v2si __builtin_arm_wavg2b (v2si, v2si)
v2si __builtin_arm_wavg2h (v2si, v2si)
v2si __builtin_arm_waccb (v2si)
v2si __builtin_arm_wacch (v2si)
v2si __builtin_arm_waccw (v2si)
v2si __builtin_arm_wmacs (v2si, v2si, v2si)
v2si __builtin_arm_wmacsz (v2si, v2si, v2si)
v2si __builtin_arm_wmacu (v2si, v2si, v2si)
v2si __builtin_arm_wmacuz (v2si, v2si)
v2si __builtin_arm_wsadb (v2si, v2si)
v2si __builtin_arm_wsadbz (v2si, v2si)
v2si __builtin_arm_wsadh (v2si, v2si)
v2si __builtin_arm_wsadhz (v2si, v2si)
v2si __builtin_arm_walign (v2si, v2si)
v2si __builtin_arm_tmia (v2si, int, int)
v2si __builtin_arm_tmiaph (v2si, int, int)
v2si __builtin_arm_tmiabb (v2si, int, int)
v2si __builtin_arm_tmiabt (v2si, int, int)
v2si __builtin_arm_tmiatb (v2si, int, int)
v2si __builtin_arm_tmiatt (v2si, int, int)
int __builtin_arm_tmovmskb (v2si)
int __builtin_arm_tmovmskh (v2si)
int __builtin_arm_tmovmskw (v2si)
v2si __builtin_arm_wmadds (v2si, v2si)
v2si __builtin_arm_wmaddu (v2si, v2si)
v2si __builtin_arm_wpackhss (v2si, v2si)
v2si __builtin_arm_wpackwss (v2si, v2si)
v2si __builtin_arm_wpackdss (v2si, v2si)
v2si __builtin_arm_wpackhus (v2si, v2si)
v2si __builtin_arm_wpackwus (v2si, v2si)
v2si __builtin_arm_wpackdus (v2si, v2si)
v2si __builtin_arm_waddb (v2si, v2si)
v2si __builtin_arm_waddh (v2si, v2si)
v2si __builtin_arm_waddw (v2si, v2si)
v2si __builtin_arm_waddbss (v2si, v2si)
v2si __builtin_arm_waddhss (v2si, v2si)
v2si __builtin_arm_waddwss (v2si, v2si)
v2si __builtin_arm_waddbus (v2si, v2si)
v2si __builtin_arm_waddhus (v2si, v2si)
v2si __builtin_arm_waddwus (v2si, v2si)
v2si __builtin_arm_wsubb (v2si, v2si)
v2si __builtin_arm_wsubh (v2si, v2si)
v2si __builtin_arm_wsubw (v2si, v2si)
v2si __builtin_arm_wsubbss (v2si, v2si)
v2si __builtin_arm_wsubhss (v2si, v2si)
v2si __builtin_arm_wsubwss (v2si, v2si)
v2si __builtin_arm_wsubbus (v2si, v2si)
v2si __builtin_arm_wsubhus (v2si, v2si)
v2si __builtin_arm_wsubwus (v2si, v2si)
v2si __builtin_arm_wand (v2si, v2si)
v2si __builtin_arm_wandn (v2si, v2si)
v2si __builtin_arm_wor (v2si, v2si)
v2si __builtin_arm_wxor (v2si, v2si)
v2si __builtin_arm_wcmpeqb (v2si, v2si)
v2si __builtin_arm_wcmpeqh (v2si, v2si)
v2si __builtin_arm_wcmpeqw (v2si, v2si)
v2si __builtin_arm_wcmpgtub (v2si, v2si)
v2si __builtin_arm_wcmpgtuh (v2si, v2si)
v2si __builtin_arm_wcmpgtuw (v2si, v2si)
v2si __builtin_arm_wcmpgtsb (v2si, v2si)
v2si __builtin_arm_wcmpgtsh (v2si, v2si)
v2si __builtin_arm_wcmpgtsw (v2si, v2si)
int __builtin_arm_textrmsb (v2si, int)
int __builtin_arm_textrmsh (v2si, int)
int __builtin_arm_textrmsw (v2si, int)
int __builtin_arm_textrmub (v2si, int)
int __builtin_arm_textrmuh (v2si, int)
int __builtin_arm_textrmuw (v2si, int)
v2si __builtin_arm_tinsrb (v2si, int, int)
v2si __builtin_arm_tinsrh (v2si, int, int)
v2si __builtin_arm_tinsrw (v2si, int, int)
v2si __builtin_arm_wmaxsw (v2si, v2si)
v2si __builtin_arm_wmaxsh (v2si, v2si)
v2si __builtin_arm_wmaxsb (v2si, v2si)
v2si __builtin_arm_wmaxuw (v2si, v2si)
v2si __builtin_arm_wmaxuh (v2si, v2si)
v2si __builtin_arm_wmaxub (v2si, v2si)
v2si __builtin_arm_wminsw (v2si, v2si)
v2si __builtin_arm_wminsh (v2si, v2si)
v2si __builtin_arm_wminsb (v2si, v2si)
v2si __builtin_arm_wminuw (v2si, v2si)
v2si __builtin_arm_wminuh (v2si, v2si)
v2si __builtin_arm_wminub (v2si, v2si)
v2si __builtin_arm_wmuluh (v2si, v2si)
v2si __builtin_arm_wmulsh (v2si, v2si)
v2si __builtin_arm_wmulul (v2si, v2si)
v2si __builtin_arm_wshufh (v2si, int)
v2si __builtin_arm_wsllh (v2si, v2si)
v2si __builtin_arm_wsllw (v2si, v2si)
v2si __builtin_arm_wslld (v2si, v2si)
v2si __builtin_arm_wsrah (v2si, v2si)
v2si __builtin_arm_wsraw (v2si, v2si)
v2si __builtin_arm_wsrad (v2si, v2si)
v2si __builtin_arm_wsrlh (v2si, v2si)
v2si __builtin_arm_wsrlw (v2si, v2si)
v2si __builtin_arm_wsrld (v2si, v2si)
v2si __builtin_arm_wrorh (v2si, v2si)
v2si __builtin_arm_wrorw (v2si, v2si)
v2si __builtin_arm_wrord (v2si, v2si)
v2si __builtin_arm_wsllhi (v2si, int)
v2si __builtin_arm_wsllwi (v2si, int)
v2si __builtin_arm_wslldi (v2si, v2si)
v2si __builtin_arm_wsrahi (v2si, int)
v2si __builtin_arm_wsrawi (v2si, int)
v2si __builtin_arm_wsradi (v2si, v2si)
v2si __builtin_arm_wsrlwi (v2si, int)
v2si __builtin_arm_wsrldi (v2si, int)
v2si __builtin_arm_wrorhi (v2si, int)
v2si __builtin_arm_wrorwi (v2si, int)
v2si __builtin_arm_wrordi (v2si, int)
v2si __builtin_arm_wunpckihb (v2si, v2si)
v2si __builtin_arm_wunpckihh (v2si, v2si)
v2si __builtin_arm_wunpckihw (v2si, v2si)
v2si __builtin_arm_wunpckilb (v2si, v2si)
v2si __builtin_arm_wunpckilh (v2si, v2si)
v2si __builtin_arm_wunpckilw (v2si, v2si)
v2si __builtin_arm_wunpckehsb (v2si)
v2si __builtin_arm_wunpckehsh (v2si)
v2si __builtin_arm_wunpckehsw (v2si)
v2si __builtin_arm_wunpckehub (v2si)
v2si __builtin_arm_wunpckehuh (v2si)
v2si __builtin_arm_wunpckehuw (v2si)
v2si __builtin_arm_wunpckelsb (v2si)
v2si __builtin_arm_wunpckelsh (v2si)
v2si __builtin_arm_wunpckelsw (v2si)
v2si __builtin_arm_wunpckelub (v2si)
v2si __builtin_arm_wunpckeluh (v2si)
v2si __builtin_arm_wunpckeluw (v2si)
v2si __builtin_arm_wsubwss (v2si, v2si)
v2si __builtin_arm_wsraw (v2si, v2si)
v2si __builtin_arm_wsrad (v2si, v2si)
@end example
@node X86 Built-in Functions @node X86 Built-in Functions
@subsection X86 Built-in Functions @subsection X86 Built-in Functions