diff options
author | kan <kan@FreeBSD.org> | 2003-07-11 03:40:53 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2003-07-11 03:40:53 +0000 |
commit | 0d580365624a5c68f9e5e130f0e54fe4c8b96822 (patch) | |
tree | c88ded260c2df3d4e9e8c72b19fd37a187d8c7af /contrib/gcc/optabs.h | |
parent | 9404c74f6c7843b012abf90228de7908fba1093a (diff) | |
parent | b2a8872fbe1ec1c49094559ac7b78e6ea4ab7180 (diff) | |
download | FreeBSD-src-0d580365624a5c68f9e5e130f0e54fe4c8b96822.zip FreeBSD-src-0d580365624a5c68f9e5e130f0e54fe4c8b96822.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r117395,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/gcc/optabs.h')
-rw-r--r-- | contrib/gcc/optabs.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/contrib/gcc/optabs.h b/contrib/gcc/optabs.h index 0c488b8..fd80d82 100644 --- a/contrib/gcc/optabs.h +++ b/contrib/gcc/optabs.h @@ -38,14 +38,15 @@ Boston, MA 02111-1307, USA. */ A few optabs, such as move_optab and cmp_optab, are used by special code. */ -typedef struct optab +struct optab GTY(()) { enum rtx_code code; - struct { + struct optab_handlers { enum insn_code insn_code; rtx libfunc; } handlers [NUM_MACHINE_MODES]; -} * optab; +}; +typedef struct optab * optab; /* Given an enum insn_code, access the function to construct the body of that kind of insn. */ @@ -130,6 +131,10 @@ enum optab_index OTI_sin, /* Cosine */ OTI_cos, + /* Exponential */ + OTI_exp, + /* Natural Logarithm */ + OTI_log, /* Compare insn; two operands. */ OTI_cmp, @@ -152,7 +157,7 @@ enum optab_index OTI_MAX }; -extern optab optab_table[OTI_MAX]; +extern GTY(()) optab optab_table[OTI_MAX]; #define add_optab (optab_table[OTI_add]) #define sub_optab (optab_table[OTI_sub]) @@ -197,6 +202,8 @@ extern optab optab_table[OTI_MAX]; #define sqrt_optab (optab_table[OTI_sqrt]) #define sin_optab (optab_table[OTI_sin]) #define cos_optab (optab_table[OTI_cos]) +#define exp_optab (optab_table[OTI_exp]) +#define log_optab (optab_table[OTI_log]) #define cmp_optab (optab_table[OTI_cmp]) #define ucmp_optab (optab_table[OTI_ucmp]) |