]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c4x.md (mulqi3, mulhi3): Use optab_libfunc.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Fri, 12 Oct 2007 15:24:35 +0000 (15:24 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Fri, 12 Oct 2007 15:24:35 +0000 (15:24 +0000)
* config/c4x/c4x.md (mulqi3, mulhi3): Use optab_libfunc.

From-SVN: r129263

gcc/ChangeLog
gcc/config/c4x/c4x.md

index 7bafdaa2650beece3827c280bc00b048e10c9562..58c283948233e9159ee27ccf81c7d639f6ed869d 100644 (file)
@@ -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.
index aab2095aa35ba6b372ebaf28608af086c8ba3ea2..364457d9347791f31d06c9856d793df587034918 100644 (file)
                                           operands[2]));
             DONE;
          }
-       c4x_emit_libcall3 (smul_optab->handlers[(int) QImode].libfunc,
+       c4x_emit_libcall3 (optab_libfunc (smul_optab, QImode),
                          MULT, QImode, operands);
        DONE;
      }
                             (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;")