Commit d437e14c by Kaveh R. Ghazi Committed by Kaveh Ghazi

c4x.md (mulqi3, mulhi3): Use optab_libfunc.

	* config/c4x/c4x.md (mulqi3, mulhi3): Use optab_libfunc.

From-SVN: r129263
parent 77555c50
2007-10-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* config/c4x/c4x.md (mulqi3, mulhi3): Use optab_libfunc.
2007-10-12 Kenneth Zadeck <zadeck@naturalbridge.com> 2007-10-12 Kenneth Zadeck <zadeck@naturalbridge.com>
* global.c (build_insn_chain): Formatting fixes. * global.c (build_insn_chain): Formatting fixes.
...@@ -2085,7 +2085,7 @@ ...@@ -2085,7 +2085,7 @@
operands[2])); operands[2]));
DONE; DONE;
} }
c4x_emit_libcall3 (smul_optab->handlers[(int) QImode].libfunc, c4x_emit_libcall3 (optab_libfunc (smul_optab, QImode),
MULT, QImode, operands); MULT, QImode, operands);
DONE; DONE;
} }
...@@ -7157,7 +7157,7 @@ ...@@ -7157,7 +7157,7 @@
(match_operand:HI 2 "src_operand" ""))) (match_operand:HI 2 "src_operand" "")))
(clobber (reg:CC 21))])] (clobber (reg:CC 21))])]
"" ""
"c4x_emit_libcall3 (smul_optab->handlers[(int) HImode].libfunc, "c4x_emit_libcall3 (optab_libfunc (smul_optab, HImode),
MULT, HImode, operands); MULT, HImode, operands);
DONE;") DONE;")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment