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

📄 we32k.md

📁 gcc-2.95.3 Linux下最常用的C编译器
💻 MD
📖 第 1 页 / 共 3 页
字号:
  {  output_push_double(&operands[1]);  output_asm_insn(\"call &2, _fdtos\", operands);  return \"\";  }")(define_expand "truncdfsf2"  [(parallel [(set (reg:SF 0)               (float_truncate:SF (match_operand:DF 1 "general_operand" "orF")))              (clobber (reg:SI 1))              (clobber (reg:SI 2))])   (set (match_operand:SF 0 "nonimmediate_operand" "=mr")        (reg:SF 0))]  ""  "")(define_insn "truncsihi2"  [(set (match_operand:HI 0 "nonimmediate_operand" "=mr")        (truncate:HI (match_operand:SI 1 "general_operand" "mri")))]  ""  "movtwh %1, %0")(define_insn "truncsiqi2"  [(set (match_operand:QI 0 "nonimmediate_operand" "=mr")        (truncate:QI (match_operand:SI 1 "general_operand" "mri")))]  ""  "movtwb %1, %0")(define_insn "trunchiqi2"  [(set (match_operand:QI 0 "nonimmediate_operand" "=mr")        (truncate:QI (match_operand:HI 1 "general_operand" "mri")))]  ""  "movthb %1, %0");; sign-extend move instructions(define_insn ""  [(set (match_operand:DF 0 "register_operand" "=r")        (float_extend:DF (match_operand:SF 1 "general_operand" "mrF")))   (clobber (reg:SI 2))]  "REGNO (operands[0]) == 0"  "*  {  output_asm_insn(\"pushw %1\", operands);  output_asm_insn(\"call &1, _fstod\", operands);  return \"\";  }")(define_expand "extendsfdf2"  [(parallel [(set (reg:DF 0)               (float_extend:DF (match_operand:SF 1 "general_operand" "mrF")))              (clobber (reg:SI 2))])   (set (match_operand:DF 0 "nonimmediate_operand" "=or")        (reg:DF 0))]  ""  "")(define_insn "extendhisi2"  [(set (match_operand:SI 0 "nonimmediate_operand" "=mr")        (sign_extend:SI (match_operand:HI 1 "general_operand" "mri")))]  ""  "movbhw %1, %0")(define_insn "extendqisi2"  [(set (match_operand:SI 0 "nonimmediate_operand" "=mr")        (sign_extend:SI (match_operand:QI 1 "general_operand" "mri")))]  ""  "movbbw %1, %0")(define_insn "extendqihi2"  [(set (match_operand:HI 0 "nonimmediate_operand" "=mr")        (sign_extend:HI (match_operand:QI 1 "general_operand" "mri")))]  ""  "movbbh %1, %0");; zero-extend move instructions(define_insn "zero_extendhisi2"  [(set (match_operand:SI 0 "nonimmediate_operand" "=mr")        (zero_extend:SI (match_operand:HI 1 "general_operand" "mri")))]  ""  "movzhw %1, %0")(define_insn "zero_extendqisi2"  [(set (match_operand:SI 0 "nonimmediate_operand" "=mr")        (zero_extend:SI (match_operand:QI 1 "general_operand" "mri")))]  ""  "movzbw %1, %0")(define_insn "zero_extendqihi2"  [(set (match_operand:HI 0 "nonimmediate_operand" "=mr")        (zero_extend:HI (match_operand:QI 1 "general_operand" "mri")))]  ""  "movzbh %1, %0");; bit field instructions(define_insn "extzv"  [(set (match_operand:SI 0 "nonimmediate_operand" "=mr")        (zero_extract:SI (match_operand:SI 1 "general_operand" "mri")                         (match_operand:SI 2 "immediate_operand" "i")                         (match_operand:SI 3 "general_operand" "mri")))]  ""  "*  {  operands[2] = GEN_INT (INTVAL(operands[2]) - 1);  output_asm_insn(\"EXTFW %2, %3, %1, %0\",operands);  return \"\";  }")(define_insn ""  [(set (match_operand:SI 0 "nonimmediate_operand" "=mr")        (zero_extract:SI (match_operand:HI 1 "general_operand" "mri")                         (match_operand:SI 2 "immediate_operand" "i")                         (match_operand:SI 3 "general_operand" "mri")))]  ""  "*  {  operands[2] = GEN_INT (INTVAL(operands[2]) - 1);  output_asm_insn(\"EXTFH %2, %3, {uhalf}%1, {uword}%0\",operands);  return \"\";  }")(define_insn ""  [(set (match_operand:SI 0 "nonimmediate_operand" "=mr")        (zero_extract:SI (match_operand:QI 1 "general_operand" "mri")                         (match_operand:SI 2 "immediate_operand" "i")                         (match_operand:SI 3 "general_operand" "mri")))]  ""  "*  {  operands[2] = GEN_INT (INTVAL(operands[2]) - 1);  output_asm_insn(\"EXTFB %2, %3, {ubyte}%1, {uword}%0\",operands);  return \"\";  }")(define_insn "insv"  [(set (zero_extract:SI (match_operand:SI 0 "nonimmediate_operand" "+mr")                         (match_operand:SI 1 "immediate_operand" "i")                         (match_operand:SI 2 "general_operand" "mri"))        (match_operand:SI 3 "general_operand" "mri"))]  ""  "*  {  operands[1] = GEN_INT (INTVAL(operands[1]) - 1);  output_asm_insn(\"INSFW %1, %2, %3, %0\",operands);  return \"\";  }")(define_insn ""  [(set (zero_extract:SI (match_operand:HI 0 "nonimmediate_operand" "+mr")                         (match_operand:SI 1 "immediate_operand" "i")                         (match_operand:SI 2 "general_operand" "mri"))        (match_operand:SI 3 "general_operand" "mri"))]  ""  "*  {  operands[1] = GEN_INT (INTVAL(operands[1]) - 1);  output_asm_insn(\"INSFH %1, %2, {uword}%3, {uhalf}%0\",operands);  return \"\";  }")(define_insn ""  [(set (zero_extract:SI (match_operand:QI 0 "nonimmediate_operand" "+mr")                         (match_operand:SI 1 "immediate_operand" "i")                         (match_operand:SI 2 "general_operand" "mri"))        (match_operand:SI 3 "general_operand" "mri"))]  ""  "*  {  operands[1] = GEN_INT (INTVAL(operands[1]) - 1);  output_asm_insn(\"INSFB %1, %2, {uword}%3, {ubyte}%0\",operands);  return \"\";  }");; conditional branch instructions(define_insn "beq"  [(set (pc) (if_then_else (eq (cc0) (const_int 0))                           (label_ref (match_operand 0 "" ""))                           (pc)))]  ""  "je %l0")(define_insn "bne"  [(set (pc) (if_then_else (ne (cc0) (const_int 0))                           (label_ref (match_operand 0 "" ""))                           (pc)))]  ""  "jne %l0")(define_insn "bgt"  [(set (pc) (if_then_else (gt (cc0) (const_int 0))                           (label_ref (match_operand 0 "" ""))                           (pc)))]  ""  "jg %l0")(define_insn "bgtu"  [(set (pc) (if_then_else (gtu (cc0) (const_int 0))                           (label_ref (match_operand 0 "" ""))                           (pc)))]  ""  "jgu %l0")(define_insn "blt"  [(set (pc) (if_then_else (lt (cc0) (const_int 0))                           (label_ref (match_operand 0 "" ""))                           (pc)))]  ""  "jl %l0")(define_insn "bltu"  [(set (pc) (if_then_else (ltu (cc0) (const_int 0))                           (label_ref (match_operand 0 "" ""))                           (pc)))]  ""  "jlu %l0")(define_insn "bge"  [(set (pc) (if_then_else (ge (cc0) (const_int 0))                           (label_ref (match_operand 0 "" ""))                           (pc)))]  ""  "jge %l0")(define_insn "bgeu"  [(set (pc) (if_then_else (geu (cc0) (const_int 0))                           (label_ref (match_operand 0 "" ""))                           (pc)))]  ""  "jgeu %l0")(define_insn "ble"  [(set (pc) (if_then_else (le (cc0) (const_int 0))                           (label_ref (match_operand 0 "" ""))                           (pc)))]  ""  "jle %l0")(define_insn "bleu"  [(set (pc) (if_then_else (leu (cc0) (const_int 0))                           (label_ref (match_operand 0 "" ""))                           (pc)))]  ""  "jleu %l0");; reverse-conditional branch instructions(define_insn ""  [(set (pc) (if_then_else (eq (cc0) (const_int 0))                           (pc)                           (label_ref (match_operand 0 "" ""))))]  ""  "jne %l0")(define_insn ""  [(set (pc) (if_then_else (ne (cc0) (const_int 0))                           (pc)                           (label_ref (match_operand 0 "" ""))))]  ""  "je %l0")(define_insn ""  [(set (pc) (if_then_else (gt (cc0) (const_int 0))                           (pc)                           (label_ref (match_operand 0 "" ""))))]  ""  "jle %l0")(define_insn ""  [(set (pc) (if_then_else (gtu (cc0) (const_int 0))                           (pc)                           (label_ref (match_operand 0 "" ""))))]  ""  "jleu %l0")(define_insn ""  [(set (pc) (if_then_else (lt (cc0) (const_int 0))                           (pc)                           (label_ref (match_operand 0 "" ""))))]  ""  "jge %l0")(define_insn ""  [(set (pc) (if_then_else (ltu (cc0) (const_int 0))                           (pc)                           (label_ref (match_operand 0 "" ""))))]  ""  "jgeu %l0")(define_insn ""  [(set (pc) (if_then_else (ge (cc0) (const_int 0))                           (pc)                           (label_ref (match_operand 0 "" ""))))]  ""  "jl %l0")(define_insn ""  [(set (pc) (if_then_else (geu (cc0) (const_int 0))                           (pc)                           (label_ref (match_operand 0 "" ""))))]  ""  "jlu %l0")(define_insn ""  [(set (pc) (if_then_else (le (cc0) (const_int 0))                           (pc)                           (label_ref (match_operand 0 "" ""))))]  ""  "jg %l0")(define_insn ""  [(set (pc) (if_then_else (leu (cc0) (const_int 0))                           (pc)                           (label_ref (match_operand 0 "" ""))))]  ""  "jgu %l0");; call instructions(define_insn "call"  [(call (match_operand:QI 0 "memory_operand" "m")         (match_operand:SI 1 "immediate_operand" "i"))]  ""  "call %1/4, %0")(define_insn "call_value"  [(set (match_operand 0 "register_operand" "=r")        (call (match_operand:QI 1 "memory_operand" "m")              (match_operand:SI 2 "immediate_operand" "i")))]  ""  "call %2/4, %1");; No-op instruction(define_insn "nop"  [(const_int 0)]  ""  "NOP");; jump through a dispatch table instruction(define_expand "casesi"  [(use (match_operand:SI 0 "general_operand" "mri"))   (set (cc0) (compare (match_dup 5)                       (match_operand:SI 1 "general_operand" "mri")))   (set (pc) (if_then_else (lt (cc0) (const_int 0))                           (label_ref (match_operand 4 "" ""))                           (pc)))   (set (match_dup 5) (minus:SI (match_dup 5)                                (match_dup 1)))   (set (cc0) (compare (match_dup 5)                       (match_operand:SI 2 "general_operand" "mri")))   (set (pc) (if_then_else (gtu (cc0) (const_int 0))                           (label_ref (match_dup 4))                           (pc)))   (set (match_dup 5) (ashift:SI (match_dup 5)                                 (const_int 2)))   (set (pc) (mem:SI (plus:SI (label_ref (match_operand 3 "" ""))                              (match_dup 5))))]  ""  "  {  operands[5] = gen_reg_rtx(GET_MODE (operands[0]));  emit_move_insn(operands[5], operands[0]);  }");; jump instructions(define_insn "indirect_jump"  [(set (pc) (match_operand:SI 0 "address_operand" "p"))]  ""  "jmp %a0")(define_insn "jump"  [(set (pc) (label_ref (match_operand 0 "" "")))]  ""  "jmp %l0")

⌨️ 快捷键说明

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