⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pa.md

📁 gcc-2.95.3 Linux下最常用的C编译器
💻 MD
📖 第 1 页 / 共 5 页
字号:
}"); We need the first constraint alternative in order to avoid; earlyclobbers on all other alternatives.(define_insn ""  [(set (match_operand:SI 0 "register_operand" "=r,r,r,r,r")	(if_then_else:SI	 (match_operator 5 "comparison_operator"	    [(match_operand:SI 3 "register_operand" "r,r,r,r,r")	     (match_operand:SI 4 "arith11_operand" "rI,rI,rI,rI,rI")])	 (match_operand:SI 1 "reg_or_cint_move_operand" "0,r,J,N,K")	 (const_int 0)))]  ""  "@   com%I4clr,%S5 %4,%3,%%r0\;ldi 0,%0   com%I4clr,%B5 %4,%3,%0\;copy %1,%0   com%I4clr,%B5 %4,%3,%0\;ldi %1,%0   com%I4clr,%B5 %4,%3,%0\;ldil L'%1,%0   com%I4clr,%B5 %4,%3,%0\;zdepi %Z1,%0"  [(set_attr "type" "multi,multi,multi,multi,nullshift")   (set_attr "length" "8,8,8,8,8")])(define_insn ""  [(set (match_operand:SI 0 "register_operand" "=r,r,r,r,r,r,r,r")	(if_then_else:SI	 (match_operator 5 "comparison_operator"	    [(match_operand:SI 3 "register_operand" "r,r,r,r,r,r,r,r")	     (match_operand:SI 4 "arith11_operand" "rI,rI,rI,rI,rI,rI,rI,rI")])	 (match_operand:SI 1 "reg_or_cint_move_operand" "0,0,0,0,r,J,N,K")	 (match_operand:SI 2 "reg_or_cint_move_operand" "r,J,N,K,0,0,0,0")))]  ""  "@   com%I4clr,%S5 %4,%3,%%r0\;copy %2,%0   com%I4clr,%S5 %4,%3,%%r0\;ldi %2,%0   com%I4clr,%S5 %4,%3,%%r0\;ldil L'%2,%0   com%I4clr,%S5 %4,%3,%%r0\;zdepi %Z2,%0   com%I4clr,%B5 %4,%3,%%r0\;copy %1,%0   com%I4clr,%B5 %4,%3,%%r0\;ldi %1,%0   com%I4clr,%B5 %4,%3,%%r0\;ldil L'%1,%0   com%I4clr,%B5 %4,%3,%%r0\;zdepi %Z1,%0"  [(set_attr "type" "multi,multi,multi,nullshift,multi,multi,multi,nullshift")   (set_attr "length" "8,8,8,8,8,8,8,8")]);; Conditional Branches(define_expand "beq"  [(set (pc)	(if_then_else (eq (match_dup 1) (match_dup 2))		      (label_ref (match_operand 0 "" ""))		      (pc)))]  ""  "{  if (hppa_branch_type != CMP_SI)    {      emit_insn (gen_cmp_fp (EQ, hppa_compare_op0, hppa_compare_op1));      emit_bcond_fp (NE, operands[0]);      DONE;    }  /* set up operands from compare.  */  operands[1] = hppa_compare_op0;  operands[2] = hppa_compare_op1;  /* fall through and generate default code */}")(define_expand "bne"  [(set (pc)	(if_then_else (ne (match_dup 1) (match_dup 2))		      (label_ref (match_operand 0 "" ""))		      (pc)))]  ""  "{  if (hppa_branch_type != CMP_SI)    {      emit_insn (gen_cmp_fp (NE, hppa_compare_op0, hppa_compare_op1));      emit_bcond_fp (NE, operands[0]);      DONE;    }  operands[1] = hppa_compare_op0;  operands[2] = hppa_compare_op1;}")(define_expand "bgt"  [(set (pc)	(if_then_else (gt (match_dup 1) (match_dup 2))		      (label_ref (match_operand 0 "" ""))		      (pc)))]  ""  "{  if (hppa_branch_type != CMP_SI)    {      emit_insn (gen_cmp_fp (GT, hppa_compare_op0, hppa_compare_op1));      emit_bcond_fp (NE, operands[0]);      DONE;    }  operands[1] = hppa_compare_op0;  operands[2] = hppa_compare_op1;}")(define_expand "blt"  [(set (pc)	(if_then_else (lt (match_dup 1) (match_dup 2))		      (label_ref (match_operand 0 "" ""))		      (pc)))]  ""  "{  if (hppa_branch_type != CMP_SI)    {      emit_insn (gen_cmp_fp (LT, hppa_compare_op0, hppa_compare_op1));      emit_bcond_fp (NE, operands[0]);      DONE;    }  operands[1] = hppa_compare_op0;  operands[2] = hppa_compare_op1;}")(define_expand "bge"  [(set (pc)	(if_then_else (ge (match_dup 1) (match_dup 2))		      (label_ref (match_operand 0 "" ""))		      (pc)))]  ""  "{  if (hppa_branch_type != CMP_SI)    {      emit_insn (gen_cmp_fp (GE, hppa_compare_op0, hppa_compare_op1));      emit_bcond_fp (NE, operands[0]);      DONE;    }  operands[1] = hppa_compare_op0;  operands[2] = hppa_compare_op1;}")(define_expand "ble"  [(set (pc)	(if_then_else (le (match_dup 1) (match_dup 2))		      (label_ref (match_operand 0 "" ""))		      (pc)))]  ""  "{  if (hppa_branch_type != CMP_SI)    {      emit_insn (gen_cmp_fp (LE, hppa_compare_op0, hppa_compare_op1));      emit_bcond_fp (NE, operands[0]);      DONE;    }  operands[1] = hppa_compare_op0;  operands[2] = hppa_compare_op1;}")(define_expand "bgtu"  [(set (pc)	(if_then_else (gtu (match_dup 1) (match_dup 2))		      (label_ref (match_operand 0 "" ""))		      (pc)))]  ""  "{  if (hppa_branch_type != CMP_SI)    FAIL;  operands[1] = hppa_compare_op0;  operands[2] = hppa_compare_op1;}")(define_expand "bltu"  [(set (pc)	(if_then_else (ltu (match_dup 1) (match_dup 2))		      (label_ref (match_operand 0 "" ""))		      (pc)))]  ""  "{  if (hppa_branch_type != CMP_SI)    FAIL;  operands[1] = hppa_compare_op0;  operands[2] = hppa_compare_op1;}")(define_expand "bgeu"  [(set (pc)	(if_then_else (geu (match_dup 1) (match_dup 2))		      (label_ref (match_operand 0 "" ""))		      (pc)))]  ""  "{  if (hppa_branch_type != CMP_SI)    FAIL;  operands[1] = hppa_compare_op0;  operands[2] = hppa_compare_op1;}")(define_expand "bleu"  [(set (pc)	(if_then_else (leu (match_dup 1) (match_dup 2))		      (label_ref (match_operand 0 "" ""))		      (pc)))]  ""  "{  if (hppa_branch_type != CMP_SI)    FAIL;  operands[1] = hppa_compare_op0;  operands[2] = hppa_compare_op1;}");; Match the branch patterns.;; Note a long backward conditional branch with an annulled delay slot;; has a length of 12.(define_insn ""  [(set (pc)	(if_then_else	 (match_operator 3 "comparison_operator"			 [(match_operand:SI 1 "reg_or_0_operand" "rM")			  (match_operand:SI 2 "arith5_operand" "rL")])	 (label_ref (match_operand 0 "" ""))	 (pc)))]  ""  "*{  return output_cbranch (operands, INSN_ANNULLED_BRANCH_P (insn),			 get_attr_length (insn), 0, insn);}"[(set_attr "type" "cbranch") (set (attr "length")    (cond [(lt (abs (minus (match_dup 0) (plus (pc) (const_int 8))))	       (const_int 8184))	   (const_int 4)	   (lt (abs (minus (match_dup 0) (plus (pc) (const_int 8))))	       (const_int 262100))	   (const_int 8)	   (eq (symbol_ref "flag_pic") (const_int 0))	   (const_int 20)]	  (const_int 28)))]);; Match the negated branch.(define_insn ""  [(set (pc)	(if_then_else	 (match_operator 3 "comparison_operator"			 [(match_operand:SI 1 "reg_or_0_operand" "rM")			  (match_operand:SI 2 "arith5_operand" "rL")])	 (pc)	 (label_ref (match_operand 0 "" ""))))]  ""  "*{  return output_cbranch (operands, INSN_ANNULLED_BRANCH_P (insn),			 get_attr_length (insn), 1, insn);}"[(set_attr "type" "cbranch") (set (attr "length")    (cond [(lt (abs (minus (match_dup 0) (plus (pc) (const_int 8))))	       (const_int 8184))	   (const_int 4)	   (lt (abs (minus (match_dup 0) (plus (pc) (const_int 8))))	       (const_int 262100))	   (const_int 8)	   (eq (symbol_ref "flag_pic") (const_int 0))	   (const_int 20)]	  (const_int 28)))]);; Branch on Bit patterns.(define_insn ""  [(set (pc)	(if_then_else	 (ne (zero_extract:SI (match_operand:SI 0 "register_operand" "r")			      (const_int 1)			      (match_operand:SI 1 "uint5_operand" ""))	     (const_int 0))	 (label_ref (match_operand 2 "" ""))	 (pc)))]  ""  "*{  return output_bb (operands, INSN_ANNULLED_BRANCH_P (insn),			 get_attr_length (insn), 0, insn, 0);}"[(set_attr "type" "cbranch") (set (attr "length")    (if_then_else (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))		      (const_int 8184))           (const_int 4)	   (const_int 8)))])(define_insn ""  [(set (pc)	(if_then_else	 (ne (zero_extract:SI (match_operand:SI 0 "register_operand" "r")			      (const_int 1)			      (match_operand:SI 1 "uint5_operand" ""))	     (const_int 0))	 (pc)	 (label_ref (match_operand 2 "" ""))))]  ""  "*{  return output_bb (operands, INSN_ANNULLED_BRANCH_P (insn),			 get_attr_length (insn), 1, insn, 0);}"[(set_attr "type" "cbranch") (set (attr "length")    (if_then_else (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))		      (const_int 8184))           (const_int 4)	   (const_int 8)))])(define_insn ""  [(set (pc)	(if_then_else	 (eq (zero_extract:SI (match_operand:SI 0 "register_operand" "r")			      (const_int 1)			      (match_operand:SI 1 "uint5_operand" ""))	     (const_int 0))	 (label_ref (match_operand 2 "" ""))	 (pc)))]  ""  "*{  return output_bb (operands, INSN_ANNULLED_BRANCH_P (insn),			 get_attr_length (insn), 0, insn, 1);}"[(set_attr "type" "cbranch") (set (attr "length")    (if_then_else (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))		      (const_int 8184))           (const_int 4)	   (const_int 8)))])(define_insn ""  [(set (pc)	(if_then_else	 (eq (zero_extract:SI (match_operand:SI 0 "register_operand" "r")			      (const_int 1)			      (match_operand:SI 1 "uint5_operand" ""))	     (const_int 0))	 (pc)	 (label_ref (match_operand 2 "" ""))))]  ""  "*{  return output_bb (operands, INSN_ANNULLED_BRANCH_P (insn),			 get_attr_length (insn), 1, insn, 1);}"[(set_attr "type" "cbranch") (set (attr "length")    (if_then_else (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))		      (const_int 8184))           (const_int 4)	   (const_int 8)))]);; Branch on Variable Bit patterns.(define_insn ""  [(set (pc)	(if_then_else	 (ne (zero_extract:SI (match_operand:SI 0 "register_operand" "r")			      (const_int 1)			      (match_operand:SI 1 "register_operand" "q"))	     (const_int 0))	 (label_ref (match_operand 2 "" ""))	 (pc)))]  ""  "*{  return output_bvb (operands, INSN_ANNULLED_BRANCH_P (insn),		     get_attr_length (insn), 0, insn, 0);}"[(set_attr "type" "cbranch") (set (attr "length")    (if_then_else (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))		      (const_int 8184))           (const_int 4)	   (const_int 8)))])(define_insn ""  [(set (pc)	(if_then_else	 (ne (zero_extract:SI (match_operand:SI 0 "register_operand" "r")			      (const_int 1)			      (match_operand:SI 1 "register_operand" "q"))	     (const_int 0))	 (pc)	 (label_ref (match_operand 2 "" ""))))]  ""  "*{  return output_bvb (operands, INSN_ANNULLED_BRANCH_P (insn),		     get_attr_length (insn), 1, insn, 0);}"[(set_attr "type" "cbranch") (set (attr "length")    (if_then_else (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))		      (const_int 8184))           (const_int 4)	   (const_int 8)))])(define_insn ""  [(set (pc)	(if_then_else	 (eq (zero_extract:SI (match_operand:SI 0 "register_operand" "r")			      (const_int 1)			      (match_operand:SI 1 "register_operand" "q"))	     (const_int 0))	 (label_ref (match_operand 2 "" ""))	 (pc)))]  ""  "*{  return output_bvb (operands, INSN_ANNULLED_BRANCH_P (insn),		     get_attr_length (insn), 0, insn, 1);}"[(set_attr "type" "cbranch") (set (attr "length")    (if_then_else (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))		      (const_int 8184))           (const_int 4)	   (const_int 8)))])(define_insn ""  [(set (pc)	(if_then_else	 (eq (zero_extract:SI (match_operand:SI 0 "register_operand" "r")			      (const_int 1)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -