diff options
author | James E. Wilson <wilson@codesourcery.com> | 2010-05-20 06:53:43 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2010-05-19 23:53:43 -0700 |
commit | 9af157ac129e480fa652936b43509ff0faef9dff (patch) | |
tree | ec20eab5ce826fca650d9469e149b4b129243d7c /gcc | |
parent | d8ec9c148fec91f8485786beec721ea341f2968f (diff) | |
download | gcc-9af157ac129e480fa652936b43509ff0faef9dff.zip gcc-9af157ac129e480fa652936b43509ff0faef9dff.tar.gz gcc-9af157ac129e480fa652936b43509ff0faef9dff.tar.bz2 |
mips-dsp.md (add<DSPV:mode>3, [...]): Add ISA_HAS_DSP condition.
* config/mips/mips-dsp.md (add<DSPV:mode>3,
mips_add<DSP:dspfmt1>_s_<DSP:dspfmt2>): Add ISA_HAS_DSP condition.
From-SVN: r159619
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/mips/mips-dsp.md | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ecadc02..4dce403 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -6,6 +6,9 @@ 2010-05-19 James E. Wilson <wilson@codesourcery.com> + * config/mips/mips-dsp.md (add<DSPV:mode>3, + mips_add<DSP:dspfmt1>_s_<DSP:dspfmt2>): Add ISA_HAS_DSP condition. + PR target/43764 * mips.c (mips_call_expr_from_insn): New arg second_call. Set it. (mips_annotate_pic_calls): Pass new arg to mips_call_expr_from_insn. diff --git a/gcc/config/mips/mips-dsp.md b/gcc/config/mips/mips-dsp.md index dd2459e..9e02f72 100644 --- a/gcc/config/mips/mips-dsp.md +++ b/gcc/config/mips/mips-dsp.md @@ -1,4 +1,4 @@ -;; Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +;; Copyright (C) 2005, 2006, 2007, 2008, 2010 Free Software Foundation, Inc. ;; ;; This file is part of GCC. ;; @@ -60,7 +60,7 @@ (match_operand:DSPV 2 "register_operand" "d"))) (set (reg:CCDSP CCDSP_OU_REGNUM) (unspec:CCDSP [(match_dup 1) (match_dup 2)] UNSPEC_ADDQ))])] - "" + "ISA_HAS_DSP" "add<DSPV:dspfmt1>.<DSPV:dspfmt2>\t%0,%1,%2" [(set_attr "type" "arith") (set_attr "mode" "SI")]) @@ -73,7 +73,7 @@ UNSPEC_ADDQ_S)) (set (reg:CCDSP CCDSP_OU_REGNUM) (unspec:CCDSP [(match_dup 1) (match_dup 2)] UNSPEC_ADDQ_S))])] - "" + "ISA_HAS_DSP" "add<DSP:dspfmt1>_s.<DSP:dspfmt2>\t%0,%1,%2" [(set_attr "type" "arith") (set_attr "mode" "SI")]) |