This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] save takes a single integer (register or 13-bit signed immediate)
- From: Daniel Cederman <cederman at gaisler dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: ebotcazou at adacore dot com, daniel at gaisler dot com
- Date: Fri, 3 Jul 2015 14:08:18 +0200
- Subject: [PATCH] save takes a single integer (register or 13-bit signed immediate)
- Authentication-results: sourceware.org; auth=none
- Authorized-sender: cederman at gaisler dot com
- References: <1435925299-6629-1-git-send-email-cederman at gaisler dot com>
This removes a warning about operand 0 missing mode
gcc/ChangeLog:
2015-06-26 Daniel Cederman <cederman@gaisler.com>
* config/sparc/sparc.md: Window save takes a single integer
---
gcc/config/sparc/sparc.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md
index c296913..66f7306 100644
--- a/gcc/config/sparc/sparc.md
+++ b/gcc/config/sparc/sparc.md
@@ -6490,7 +6490,7 @@
(define_insn "window_save"
[(unspec_volatile
- [(match_operand 0 "arith_operand" "rI")]
+ [(match_operand:SI 0 "arith_operand" "rI")]
UNSPECV_SAVEW)]
"!TARGET_FLAT"
"save\t%%sp, %0, %%sp"
--
2.4.3