Jie Zhang <jie@codesourcery.com>
authorJie Zhang <jie@codesourcery.com>
Mon, 18 Apr 2011 14:01:13 +0000 (14:01 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Mon, 18 Apr 2011 14:01:13 +0000 (14:01 +0000)
commit229a1c5999abbd0e19302c470d27aa0ed867f4f5
treeb61f87519713be7c71673d603293744ee534cf80
parent75e802cc5f06a9db7d7e2509d658538b3142d86b
Jie Zhang  <jie@codesourcery.com>
Richard Earnshaw  <rearnsha@arm.com>

* arm.c (neon_builtin_type_bits): Remove.
(typedef enum neon_builtin_mode): New.
(T_MAX): Don't define.
(typedef enum neon_builtin_datum): Remove bits, codes[],
num_vars and base_fcode.  Add mode, code and fcode.
(VAR1, VAR2, VAR3, VAR4, VAR5, VAR6, VAR7, VAR8, VAR9
VAR10): Change accordingly.
(neon_builtin_data[]): Change accordingly
(arm_init_neon_builtins): Change accordingly.
(neon_builtin_compare): Remove.
(locate_neon_builtin_icode): Remove.
(arm_expand_neon_builtin): Change accordingly.

* arm.h (enum arm_builtins): Move to ...
* arm.c (enum arm_builtins): ... here; and rearrange builtin code.

* arm.c (arm_builtin_decl): Declare.
(TARGET_BUILTIN_DECL): Define.
(enum arm_builtins): Correct ARM_BUILTIN_MAX.
(arm_builtin_decls[]): New.
(arm_init_neon_builtins): Store builtin declarations in
arm_builtin_decls[].
(arm_init_tls_builtins): Likewise.
(arm_init_iwmmxt_builtins): Likewise.  Refactor initialization code.
(arm_builtin_decl): New.

Co-Authored-By: Richard Earnshaw <rearnsha@arm.com>
From-SVN: r172646
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/arm.h