summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/optabs.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/optabs.h')
-rw-r--r--contrib/gcc/optabs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/gcc/optabs.h b/contrib/gcc/optabs.h
index 58fb690..854341b 100644
--- a/contrib/gcc/optabs.h
+++ b/contrib/gcc/optabs.h
@@ -146,6 +146,8 @@ enum optab_index
/* Abs value */
OTI_abs,
OTI_absv,
+ /* Byteswap */
+ OTI_bswap,
/* Bitwise not */
OTI_one_cmpl,
/* Bit scanning and counting */
@@ -315,6 +317,7 @@ extern GTY(()) optab optab_table[OTI_MAX];
#define abs_optab (optab_table[OTI_abs])
#define absv_optab (optab_table[OTI_absv])
#define one_cmpl_optab (optab_table[OTI_one_cmpl])
+#define bswap_optab (optab_table[OTI_bswap])
#define ffs_optab (optab_table[OTI_ffs])
#define clz_optab (optab_table[OTI_clz])
#define ctz_optab (optab_table[OTI_ctz])
OpenPOWER on IntegriCloud