This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] gcc/config/c6x/c6x.md (mvilc): Add "SI" for "unspec".
- From: Chen Gang <xili_gchen_5257 at hotmail dot com>
- To: Bernd Schmidt <bernds at codesourcery dot com>, Jeff Law <law at redhat dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 28 Mar 2015 16:36:05 +0800
- Subject: [PATCH] gcc/config/c6x/c6x.md (mvilc): Add "SI" for "unspec".
- Authentication-results: sourceware.org; auth=none
The related warning:
build/genrecog ../../gcc-c6x/gcc/common.md ../../gcc-c6x/gcc/config/c6x/c6x.md \
insn-conditions.md > tmp-recog.c
[...]
../../gcc-c6x/gcc/config/c6x/c6x.md:1443: warning: source missing a mode?
[...]
2015-03-28 Chen Gang <gang.chen.5i5j@gmail.com>
* config/c6x/c6x.md (mvilc): Add "SI" for "unspec".
---
gcc/config/c6x/c6x.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gcc/config/c6x/c6x.md b/gcc/config/c6x/c6x.md
index e957eca..78c9bd4 100644
--- a/gcc/config/c6x/c6x.md
+++ b/gcc/config/c6x/c6x.md
@@ -1442,7 +1442,8 @@
(define_insn "mvilc"
[(set (reg:SI REG_ILC)
- (unspec [(match_operand:SI 0 "register_operand" "a,b")] UNSPEC_MVILC))]
+ (unspec:SI [(match_operand:SI 0 "register_operand" "a,b")]
+ UNSPEC_MVILC))]
"TARGET_INSNS_64PLUS"
"%|%.\\tmvc\\t%$\\t%0, ILC"
[(set_attr "predicable" "no")
--
1.9.3