aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/optabs.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/optabs.c')
-rw-r--r--gcc-4.9/gcc/optabs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/optabs.c b/gcc-4.9/gcc/optabs.c
index 54f07ab02..cd31b0e63 100644
--- a/gcc-4.9/gcc/optabs.c
+++ b/gcc-4.9/gcc/optabs.c
@@ -465,6 +465,9 @@ optab_for_tree_code (enum tree_code code, const_tree type,
case DOT_PROD_EXPR:
return TYPE_UNSIGNED (type) ? udot_prod_optab : sdot_prod_optab;
+ case SAD_EXPR:
+ return TYPE_UNSIGNED (type) ? usad_optab : ssad_optab;
+
case WIDEN_MULT_PLUS_EXPR:
return (TYPE_UNSIGNED (type)
? (TYPE_SATURATING (type)