[NDS32] Implment n12/n13 pipeline.
[gcc.git] / gcc / config / nds32 / nds32.md
index d6c35157e11fd25445497cbabd3d62fa2d077f25..0c1f301e483f2f6692aa66ad94d3473c56e4b3a9 100644 (file)
 ;; ------------------------------------------------------------------------
 
 ;; CPU pipeline model.
-(define_attr "pipeline_model" "n7,n8,e8,n9,n10,simple"
+(define_attr "pipeline_model" "n7,n8,e8,n9,n10,n13,simple"
   (const
     (cond [(match_test "nds32_cpu_option == CPU_N7")  (const_string "n7")
           (match_test "nds32_cpu_option == CPU_E8")  (const_string "e8")
           (match_test "nds32_cpu_option == CPU_N6 || nds32_cpu_option == CPU_N8")  (const_string "n8")
           (match_test "nds32_cpu_option == CPU_N9")  (const_string "n9")
           (match_test "nds32_cpu_option == CPU_N10") (const_string "n10")
+          (match_test "nds32_cpu_option == CPU_N12") (const_string "n13")
+          (match_test "nds32_cpu_option == CPU_N13") (const_string "n13")
           (match_test "nds32_cpu_option == CPU_SIMPLE") (const_string "simple")]
          (const_string "n9"))))