📄 c4x.md
字号:
; (eq_attr "usear3" "1"))); 3 1 );(define_function_unit "ar3" 1 0; (and (eq_attr "cpu" "c4x"); (and (eq_attr "setlda_ar3" "1"); (eq_attr "usear3" "1"))); 2 1 );(define_function_unit "ar3" 1 0; (and (eq_attr "cpu" "c4x"); (and (eq_attr "usear3" "1"); (eq_attr "readar3" "1"))); 2 1 )(define_attr "setar3" "" (cond [(eq_attr "type" "unary,binary") (if_then_else (match_operand 0 "ar3_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)))(define_attr "setlda_ar3" "" (cond [(eq_attr "type" "lda") (if_then_else (match_operand 0 "ar3_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)))(define_attr "usear3" "" (cond [(eq_attr "type" "compare,store") (if_then_else (match_operand 0 "ar3_mem_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "compare,lda,unary,unarycc,binary,binarycc") (if_then_else (match_operand 1 "ar3_mem_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "binary,binarycc") (if_then_else (match_operand 2 "ar3_mem_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "db,dbc") (if_then_else (match_operand 0 "ar3_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)))(define_attr "readar3" "" (cond [(eq_attr "type" "compare") (if_then_else (match_operand 0 "ar3_reg_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "compare,store,lda,unary,unarycc,binary,binarycc") (if_then_else (match_operand 1 "ar3_reg_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "binary,binarycc") (if_then_else (match_operand 2 "ar3_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)));(define_function_unit "ar4" 1 0; (and (eq_attr "cpu" "c4x"); (and (eq_attr "setar4" "1"); (eq_attr "usear4" "1"))); 3 1 );(define_function_unit "ar4" 1 0; (and (eq_attr "cpu" "c4x"); (and (eq_attr "setlda_ar4" "1"); (eq_attr "usear4" "1"))); 2 1 );(define_function_unit "ar4" 1 0; (and (eq_attr "cpu" "c4x"); (and (eq_attr "usear4" "1"); (eq_attr "readar4" "1"))); 2 1 )(define_attr "setar4" "" (cond [(eq_attr "type" "unary,binary") (if_then_else (match_operand 0 "ar4_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)))(define_attr "setlda_ar4" "" (cond [(eq_attr "type" "lda") (if_then_else (match_operand 0 "ar4_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)))(define_attr "usear4" "" (cond [(eq_attr "type" "compare,store") (if_then_else (match_operand 0 "ar4_mem_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "compare,lda,unary,unarycc,binary,binarycc") (if_then_else (match_operand 1 "ar4_mem_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "binary,binarycc") (if_then_else (match_operand 2 "ar4_mem_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "db,dbc") (if_then_else (match_operand 0 "ar4_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)))(define_attr "readar4" "" (cond [(eq_attr "type" "compare") (if_then_else (match_operand 0 "ar4_reg_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "compare,store,lda,unary,unarycc,binary,binarycc") (if_then_else (match_operand 1 "ar4_reg_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "binary,binarycc") (if_then_else (match_operand 2 "ar4_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)));(define_function_unit "ar5" 1 0; (and (eq_attr "cpu" "c4x"); (and (eq_attr "setar5" "1"); (eq_attr "usear5" "1"))); 3 1 );(define_function_unit "ar5" 1 0; (and (eq_attr "cpu" "c4x"); (and (eq_attr "setlda_ar5" "1"); (eq_attr "usear5" "1"))); 2 1 );(define_function_unit "ar5" 1 0; (and (eq_attr "cpu" "c4x"); (and (eq_attr "usear5" "1"); (eq_attr "readar5" "1"))); 2 1 )(define_attr "setar5" "" (cond [(eq_attr "type" "unary,binary") (if_then_else (match_operand 0 "ar5_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)))(define_attr "setlda_ar5" "" (cond [(eq_attr "type" "lda") (if_then_else (match_operand 0 "ar5_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)))(define_attr "usear5" "" (cond [(eq_attr "type" "compare,store") (if_then_else (match_operand 0 "ar5_mem_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "compare,lda,unary,unarycc,binary,binarycc") (if_then_else (match_operand 1 "ar5_mem_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "binary,binarycc") (if_then_else (match_operand 2 "ar5_mem_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "db,dbc") (if_then_else (match_operand 0 "ar5_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)))(define_attr "readar5" "" (cond [(eq_attr "type" "compare") (if_then_else (match_operand 0 "ar5_reg_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "compare,store,lda,unary,unarycc,binary,binarycc") (if_then_else (match_operand 1 "ar5_reg_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "binary,binarycc") (if_then_else (match_operand 2 "ar5_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)));(define_function_unit "ar6" 1 0; (and (eq_attr "cpu" "c4x"); (and (eq_attr "setar6" "1"); (eq_attr "usear6" "1"))); 3 1 );(define_function_unit "ar6" 1 0; (and (eq_attr "cpu" "c4x"); (and (eq_attr "setlda_ar6" "1"); (eq_attr "usear6" "1"))); 2 1 );(define_function_unit "ar6" 1 0; (and (eq_attr "cpu" "c4x"); (and (eq_attr "usear6" "1"); (eq_attr "readar6" "1"))); 2 1 )(define_attr "setar6" "" (cond [(eq_attr "type" "unary,binary") (if_then_else (match_operand 0 "ar6_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)))(define_attr "setlda_ar6" "" (cond [(eq_attr "type" "lda") (if_then_else (match_operand 0 "ar6_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)))(define_attr "usear6" "" (cond [(eq_attr "type" "compare,store") (if_then_else (match_operand 0 "ar6_mem_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "compare,lda,unary,unarycc,binary,binarycc") (if_then_else (match_operand 1 "ar6_mem_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "binary,binarycc") (if_then_else (match_operand 2 "ar6_mem_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "db,dbc") (if_then_else (match_operand 0 "ar6_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)))(define_attr "readar6" "" (cond [(eq_attr "type" "compare") (if_then_else (match_operand 0 "ar6_reg_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "compare,store,lda,unary,unarycc,binary,binarycc") (if_then_else (match_operand 1 "ar6_reg_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "binary,binarycc") (if_then_else (match_operand 2 "ar6_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)));(define_function_unit "ar7" 1 0; (and (eq_attr "cpu" "c4x"); (and (eq_attr "setar7" "1"); (eq_attr "usear7" "1"))); 3 1 );(define_function_unit "ar7" 1 0; (and (eq_attr "cpu" "c4x"); (and (eq_attr "setlda_ar7" "1"); (eq_attr "usear7" "1"))); 2 1 );(define_function_unit "ar7" 1 0; (and (eq_attr "cpu" "c4x"); (and (eq_attr "usear7" "1"); (eq_attr "readar7" "1"))); 2 1 )(define_attr "setar7" "" (cond [(eq_attr "type" "unary,binary") (if_then_else (match_operand 0 "ar7_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)))(define_attr "setlda_ar7" "" (cond [(eq_attr "type" "lda") (if_then_else (match_operand 0 "ar7_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)))(define_attr "usear7" "" (cond [(eq_attr "type" "compare,store") (if_then_else (match_operand 0 "ar7_mem_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "compare,lda,unary,unarycc,binary,binarycc") (if_then_else (match_operand 1 "ar7_mem_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "binary,binarycc") (if_then_else (match_operand 2 "ar7_mem_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "db,dbc") (if_then_else (match_operand 0 "ar7_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)))(define_attr "readar7" "" (cond [(eq_attr "type" "compare") (if_then_else (match_operand 0 "ar7_reg_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "compare,store,lda,unary,unarycc,binary,binarycc") (if_then_else (match_operand 1 "ar7_reg_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "binary,binarycc") (if_then_else (match_operand 2 "ar7_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)));(define_function_unit "ir0" 1 0; (and (eq_attr "cpu" "c4x"); (and (eq_attr "setir0" "1"); (eq_attr "useir0" "1"))); 3 1 );(define_function_unit "ir0" 1 0; (and (eq_attr "cpu" "c4x"); (and (eq_attr "setlda_ir0" "1"); (eq_attr "useir0" "1"))); 2 1 )(define_attr "setir0" "" (cond [(eq_attr "type" "unary,binary") (if_then_else (match_operand 0 "ir0_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)))(define_attr "setlda_ir0" "" (cond [(eq_attr "type" "lda") (if_then_else (match_operand 0 "ir0_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)))(define_attr "useir0" "" (cond [(eq_attr "type" "compare,store") (if_then_else (match_operand 0 "ir0_mem_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "compare,lda,unary,unarycc,binary,binarycc") (if_then_else (match_operand 1 "ir0_mem_operand" "") (const_int 1) (const_int 0)) (eq_attr "type" "binary,binarycc") (if_then_else (match_operand 2 "ir0_mem_operand" "") (const_int 1) (const_int 0))] (const_int 0)));(define_function_unit "ir1" 1 0; (and (eq_attr "cpu" "c4x"); (and (eq_attr "setir1" "1"); (eq_attr "useir1" "1"))); 3 1 );(define_function_unit "ir1" 1 0; (and (eq_attr "cpu" "c4x"); (and (eq_attr "setlda_ir1" "1"); (eq_attr "useir1" "1"))); 2 1 )(define_attr "setir1" "" (cond [(eq_attr "type" "unary,binary") (if_then_else (match_operand 0 "ir1_reg_operand" "") (const_int 1) (const_int 0))] (const_int 0)))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -