< prev index next >

src/cpu/ppc/vm/ppc.ad

Print this page

        

@@ -2062,10 +2062,25 @@
   }
 
   return true;  // Per default match rules are supported.
 }
 
+const bool Matcher::match_rule_supported_vector(int opcode, int vlen) {
+
+  // TODO
+  // identify extra cases that we might want to provide match rules for
+  // e.g. Op_ vector nodes and other intrinsics while guarding with vlen
+  if (!has_match_rule(opcode)) {
+    return false;
+  }
+
+  bool ret_value = match_rule_supported(opcode);
+  // Add rules here.
+
+  return ret_value;  // Per default match rules are supported.
+}
+
 const int Matcher::float_pressure(int default_pressure_threshold) {
   return default_pressure_threshold;
 }
 
 int Matcher::regnum_to_fpu_offset(int regnum) {
< prev index next >