diff options
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/config/c4x/c4x.md | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7bafdaa..58c2839 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +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> * global.c (build_insn_chain): Formatting fixes. diff --git a/gcc/config/c4x/c4x.md b/gcc/config/c4x/c4x.md index aab2095..364457d 100644 --- a/gcc/config/c4x/c4x.md +++ b/gcc/config/c4x/c4x.md @@ -2085,7 +2085,7 @@ operands[2])); DONE; } - c4x_emit_libcall3 (smul_optab->handlers[(int) QImode].libfunc, + c4x_emit_libcall3 (optab_libfunc (smul_optab, QImode), MULT, QImode, operands); DONE; } @@ -7157,7 +7157,7 @@ (match_operand:HI 2 "src_operand" ""))) (clobber (reg:CC 21))])] "" - "c4x_emit_libcall3 (smul_optab->handlers[(int) HImode].libfunc, + "c4x_emit_libcall3 (optab_libfunc (smul_optab, HImode), MULT, HImode, operands); DONE;") |
