Mercurial > hg > CbC > CbC_gcc
diff gcc/config/spu/spu.h @ 19:58ad6c70ea60
update gcc from 4.4.0 to 4.4.1.
author | kent@firefly.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 24 Sep 2009 13:21:57 +0900 |
parents | a06113de4d67 |
children | 77e2b8dfacca |
line wrap: on
line diff
--- a/gcc/config/spu/spu.h Thu Sep 24 13:06:16 2009 +0900 +++ b/gcc/config/spu/spu.h Thu Sep 24 13:21:57 2009 +0900 @@ -622,3 +622,33 @@ extern GTY(()) rtx spu_compare_op0; extern GTY(()) rtx spu_compare_op1; + +/* Builtins. */ + +enum spu_builtin_type +{ + B_INSN, + B_JUMP, + B_BISLED, + B_CALL, + B_HINT, + B_OVERLOAD, + B_INTERNAL +}; + +struct spu_builtin_description GTY(()) +{ + int fcode; + int icode; + const char *name; + enum spu_builtin_type type; + + /* The first element of parm is always the return type. The rest + are a zero terminated list of parameters. */ + int parm[5]; + + tree fndecl; +}; + +extern struct spu_builtin_description spu_builtins[]; +