diff options
Diffstat (limited to 'gcc/config/m68hc11/m68hc11.md')
| -rw-r--r-- | gcc/config/m68hc11/m68hc11.md | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/gcc/config/m68hc11/m68hc11.md b/gcc/config/m68hc11/m68hc11.md index d978f96..c1b80f5 100644 --- a/gcc/config/m68hc11/m68hc11.md +++ b/gcc/config/m68hc11/m68hc11.md @@ -1092,7 +1092,7 @@ rtx push = m68hc11_gen_lowpart (HImode, low); rtx src = operands[1]; - /* Source operand must be in a hard register. */ + /* Source operand must be in a hard register. */ if (!H_REG_P (src)) { src = gen_rtx (REG, QImode, REGNO (operands[2])); @@ -1100,7 +1100,7 @@ } /* Source is in D, we can push B then one word of 0 and we do - a correction on the stack pointer. */ + a correction on the stack pointer. */ if (D_REG_P (src)) { emit_move_insn (m68hc11_gen_lowpart (QImode, push), src); @@ -1150,7 +1150,7 @@ rtx low2 = m68hc11_gen_lowpart (HImode, low); rtx src = operands[1]; - /* Source operand must be in a hard register. */ + /* Source operand must be in a hard register. */ if (!H_REG_P (src)) { src = gen_rtx (REG, QImode, REGNO (operands[2])); @@ -1432,7 +1432,7 @@ else if (X_REG_P (operands[0])) { /* X can be used as an indexed addressing in the source. - Get the value before clearing it. */ + Get the value before clearing it. */ if (reg_mentioned_p (ix_reg, operands[1])) { output_asm_insn (\"ldab\\t%b1\", operands); @@ -1599,7 +1599,7 @@ else { /* X can be used as a indexed addressing in the source. - Get the value before clearing it. */ + Get the value before clearing it. */ x_reg_used = reg_mentioned_p (ix_reg, operands[1]); if (x_reg_used) { @@ -1812,7 +1812,7 @@ } ops[2] = gen_label_rtx (); - /* ldx preserves the carry, propagate it by incrementing X directly. */ + /* ldx preserves the carry, propagate it by incrementing X directly. */ output_asm_insn (\"addd\\t%0\", ops); if (!X_REG_P (operands[2])) output_asm_insn (\"ldx\\t%1\", ops); @@ -1886,7 +1886,7 @@ output_asm_insn (\"clra\", ops); } - /* ldx preserves the carry, propagate it by incrementing X directly. */ + /* ldx preserves the carry, propagate it by incrementing X directly. */ output_asm_insn (\"addb\\t%b0\", ops); output_asm_insn (\"adca\\t%h1\", ops); if (!X_REG_P (operands[2])) @@ -2200,7 +2200,7 @@ } /* For X and Y increment, the flags are not complete. Only the Z flag - is updated. For SP increment, flags are not changed. */ + is updated. For SP increment, flags are not changed. */ if (SP_REG_P (operands[0])) { cc_status = cc_prev_status; @@ -2328,7 +2328,7 @@ if (GET_CODE (operands[2]) != CONST_INT) { /* Adding to an address register or with another/same register - is not possible. This must be replaced. */ + is not possible. This must be replaced. */ if (A_REG_P (operands[0]) || H_REG_P (operands[2])) return \"#\"; @@ -2679,20 +2679,20 @@ output_asm_insn (\"xgdx\", operands); /* The status flags correspond to the addd. xgdx/y and tx/ys do not - modify the flags. */ + modify the flags. */ output_asm_insn (\"txs\", operands); return \"xgdx\"; } /* Need to transfer to SP to X,Y and then to D register. - Register X,Y is lost, this is specified by the (clobber) statement. */ + Register X,Y is lost, this is specified by the (clobber) statement. */ output_asm_insn (\"ts%3\", operands); output_asm_insn (\"xgd%3\", operands); output_asm_insn (\"subd\\t%2\", operands); output_asm_insn (\"xgd%3\", operands); /* The status flags correspond to the addd. xgdx/y and tx/ys do not - modify the flags. */ + modify the flags. */ return \"t%3s\"; }") @@ -2705,7 +2705,7 @@ "* { /* Adding to an address register or with another/same register - is not possible. This must be replaced. */ + is not possible. This must be replaced. */ if (A_REG_P (operands[0]) || H_REG_P (operands[2])) return \"#\"; @@ -3640,7 +3640,7 @@ (match_operand:HI 2 "general_operand" "dAuim")]))] "z_replacement_completed == 2 /* If we are adding a small constant to X or Y, it's - better to use one or several inx/iny instructions. */ + better to use one or several inx/iny instructions. */ && !(GET_CODE (operands[3]) == PLUS && ((TARGET_M6812 && (immediate_operand (operands[2], HImode) @@ -3656,7 +3656,7 @@ (parallel [(set (reg:HI D_REGNUM) (match_dup 0)) (set (match_dup 0) (reg:HI D_REGNUM))])] " - /* Save the operand2 in a temporary location and use it. */ + /* Save the operand2 in a temporary location and use it. */ if ((H_REG_P (operands[2]) || reg_mentioned_p (operands[0], operands[2])) && !(SP_REG_P (operands[2]) && GET_CODE (operands[3]) == PLUS)) @@ -3690,7 +3690,7 @@ (match_operand:HI 2 "general_operand" "dAuim")]))] "z_replacement_completed == 2 /* If we are adding a small constant to X or Y, it's - better to use one or several inx/iny instructions. */ + better to use one or several inx/iny instructions. */ && !(GET_CODE (operands[3]) == PLUS && ((TARGET_M6812 && (immediate_operand (operands[2], HImode) @@ -3764,17 +3764,17 @@ && !rtx_equal_p (operands[0], operands[1])) || reg_mentioned_p (operands[0], operands[1])) { - /* Move to the destination register, before the xgdx. */ + /* Move to the destination register, before the xgdx. */ operands[4] = gen_rtx (REG, GET_MODE (operands[1]), REGNO (operands[0])); operands[5] = operands[1]; - /* Apply the operation on D. */ + /* Apply the operation on D. */ operands[3] = gen_rtx (REG, GET_MODE (operands[1]), HARD_D_REGNUM); } else { - /* Generate a copy to same register (nop). */ + /* Generate a copy to same register (nop). */ operands[4] = operands[5] = operands[0]; operands[3] = operands[1]; } @@ -3796,7 +3796,7 @@ (match_operand:QI 2 "general_operand" "dxyuim")]))] "z_replacement_completed == 2 /* Reject a (plus:QI (reg:QI X) (const_int 1|-1)) because the - incqi pattern generates a better code. */ + incqi pattern generates a better code. */ && !(GET_CODE (operands[3]) == PLUS && GET_CODE (operands[2]) == CONST_INT && (INTVAL (operands[2]) == 1 || INTVAL (operands[2]) == -1))" @@ -3812,7 +3812,7 @@ register appears in the source, we have to save the operand[2] value in a temporary location and then use that temp. Otherwise, it's ok and we generate a (set (D) (D)) that - will result in a nop. */ + will result in a nop. */ if (H_REG_P (operands[2])) { operands[5] = gen_rtx (REG, HImode, SOFT_TMP_REGNUM); @@ -3892,11 +3892,11 @@ && !rtx_equal_p (operands[0], operands[1])) || reg_mentioned_p (operands[0], operands[1])) { - /* Move to the destination register, before the xgdx. */ + /* Move to the destination register, before the xgdx. */ operands[4] = operands[0]; operands[5] = operands[1]; - /* Apply the operation on D. */ + /* Apply the operation on D. */ operands[6] = gen_rtx (REG, QImode, HARD_D_REGNUM); } else @@ -4009,7 +4009,7 @@ " { /* The result pattern only works for D register. - Generate 2 one_cmplhi2 instructions. */ + Generate 2 one_cmplhi2 instructions. */ if (!D_REG_P (operands[0])) { rtx ops[2]; @@ -4614,7 +4614,7 @@ output_asm_insn (\"clrb\", operands); output_asm_insn (\"rola\", operands); - /* Clear A without clearing the carry flag. */ + /* Clear A without clearing the carry flag. */ output_asm_insn (\"tba\", operands); output_asm_insn (\"bcc\\t%l0\", ops); output_asm_insn (\"coma\", operands); @@ -4645,7 +4645,7 @@ output_asm_insn (\"asrb\", operands); val--; } - /* Status is ok. */ + /* Status is ok. */ return \"\"; } if (val == 7) |
