Remove unneeded casts to char *.

From-SVN: r13292
This commit is contained in:
Richard Kenner 1996-12-12 07:56:00 -05:00
parent 94339136a3
commit ea55c5c6ee

View File

@ -188,10 +188,12 @@
"*
{
rtx regops[3];
regops[0] = XEXP (operands[0], 0);
regops[1] = XEXP (operands[1], 0);
regops[2] = operands[2];
return (char *)movcnt_regno_adjust(regops);
return movcnt_regno_adjust (regops);
} ")
@ -708,7 +710,7 @@
new_opnds[2] = gen_rtx (CONST_INT, VOIDmode, -INTVAL(operands[2]));
new_opnds[3] = operands[3];
istr = \"disn\";
return (char *)mod_regno_adjust(istr,new_opnds);
return mod_regno_adjust (istr, new_opnds);
}
break;
case 2:
@ -721,7 +723,7 @@
istr = \"dv \";
break;
}
return (char *)mod_regno_adjust(istr,operands);
return mod_regno_adjust (istr, operands);
}")
;; Division for other types is straightforward.
@ -1150,7 +1152,7 @@
(label_ref (match_operand 0 "" ""))
(pc)))]
""
"* return (char *)branch_or_jump(\"ez\",CODE_LABEL_NUMBER(operands[0]));
"* return branch_or_jump (\"ez\", CODE_LABEL_NUMBER (operands[0]));
")
(define_insn "bne"
@ -1160,7 +1162,7 @@
(label_ref (match_operand 0 "" ""))
(pc)))]
""
"* return (char *)branch_or_jump(\"nz\",CODE_LABEL_NUMBER(operands[0]));
"* return branch_or_jump (\"nz\", CODE_LABEL_NUMBER (operands[0]));
")
(define_insn "bgt"
@ -1170,7 +1172,7 @@
(label_ref (match_operand 0 "" ""))
(pc)))]
""
"* return (char *)branch_or_jump(\"gt\",CODE_LABEL_NUMBER(operands[0]));
"* return branch_or_jump (\"gt\", CODE_LABEL_NUMBER (operands[0]));
")
(define_insn "blt"
@ -1180,7 +1182,7 @@
(label_ref (match_operand 0 "" ""))
(pc)))]
""
"* return (char *)branch_or_jump(\"lt\",CODE_LABEL_NUMBER(operands[0]));
"* return branch_or_jump (\"lt\", CODE_LABEL_NUMBER (operands[0]));
")
(define_insn "bge"
@ -1190,7 +1192,7 @@
(label_ref (match_operand 0 "" ""))
(pc)))]
""
"* return (char *)branch_or_jump(\"ge\",CODE_LABEL_NUMBER(operands[0]));
"* return branch_or_jump (\"ge\", CODE_LABEL_NUMBER (operands[0]));
")
(define_insn "ble"
@ -1200,7 +1202,7 @@
(label_ref (match_operand 0 "" ""))
(pc)))]
""
"* return (char *)branch_or_jump(\"le\",CODE_LABEL_NUMBER(operands[0]));
"* return branch_or_jump (\"le\", CODE_LABEL_NUMBER (operands[0]));
")
@ -1252,7 +1254,7 @@
(pc)
(label_ref (match_operand 0 "" ""))))]
""
"* return (char *)branch_or_jump(\"nz\",CODE_LABEL_NUMBER(operands[0]));
"* return branch_or_jump (\"nz\", CODE_LABEL_NUMBER (operands[0]));
")
(define_insn ""
@ -1262,7 +1264,7 @@
(pc)
(label_ref (match_operand 0 "" ""))))]
""
"* return (char *)branch_or_jump(\"ez\",CODE_LABEL_NUMBER(operands[0]));
"* return branch_or_jump (\"ez\", CODE_LABEL_NUMBER (operands[0]));
")
(define_insn ""
@ -1272,7 +1274,7 @@
(pc)
(label_ref (match_operand 0 "" ""))))]
""
"* return (char *)branch_or_jump(\"le\",CODE_LABEL_NUMBER(operands[0]));
"* return branch_or_jump (\"le\", CODE_LABEL_NUMBER (operands[0]));
")
(define_insn ""
@ -1282,7 +1284,7 @@
(pc)
(label_ref (match_operand 0 "" ""))))]
""
"* return (char *)branch_or_jump(\"ge\",CODE_LABEL_NUMBER(operands[0]));
"* return branch_or_jump (\"ge\", CODE_LABEL_NUMBER (operands[0]));
")
(define_insn ""
@ -1292,7 +1294,7 @@
(pc)
(label_ref (match_operand 0 "" ""))))]
""
"* return (char *)branch_or_jump(\"lt\",CODE_LABEL_NUMBER(operands[0]));
"* return branch_or_jump (\"lt\", CODE_LABEL_NUMBER (operands[0]));
")
(define_insn ""
@ -1302,7 +1304,7 @@
(pc)
(label_ref (match_operand 0 "" ""))))]
""
"* return (char *)branch_or_jump(\"gt\",CODE_LABEL_NUMBER(operands[0]));
"* return branch_or_jump (\"gt\", CODE_LABEL_NUMBER (operands[0]));
")