aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/nds32
diff options
context:
space:
mode:
authorChung-Ju Wu <jasonwucj@gmail.com>2019-02-11 07:04:00 +0000
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>2019-02-11 07:04:00 +0000
commitd29cce74b2f2e5b49d09e8b8ad2b67db21c62ac8 (patch)
tree5086282314f858f88bd679f7b8f35fc744224d15 /gcc/config/nds32
parentbfb31c3d41c80e7b76eb4850e99870d338b4bb64 (diff)
downloadgcc-d29cce74b2f2e5b49d09e8b8ad2b67db21c62ac8.zip
gcc-d29cce74b2f2e5b49d09e8b8ad2b67db21c62ac8.tar.gz
gcc-d29cce74b2f2e5b49d09e8b8ad2b67db21c62ac8.tar.bz2
[NDS32] Add memory mode in call pattern.
gcc/ * config/nds32/nds32.md (call_internal, call_value_internal, sibcall_internal, sibcall_value_internal): Use SImode for mem rtx. From-SVN: r268761
Diffstat (limited to 'gcc/config/nds32')
-rw-r--r--gcc/config/nds32/nds32.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/nds32/nds32.md b/gcc/config/nds32/nds32.md
index cba04c0..f9eba0a 100644
--- a/gcc/config/nds32/nds32.md
+++ b/gcc/config/nds32/nds32.md
@@ -1523,7 +1523,7 @@
)
(define_insn "call_internal"
- [(parallel [(call (mem (match_operand:SI 0 "nds32_call_address_operand" "r, S"))
+ [(parallel [(call (mem:SI (match_operand:SI 0 "nds32_call_address_operand" "r, S"))
(match_operand 1))
(clobber (reg:SI LP_REGNUM))
(clobber (reg:SI TA_REGNUM))])]
@@ -1611,7 +1611,7 @@
(define_insn "call_value_internal"
[(parallel [(set (match_operand 0)
- (call (mem (match_operand:SI 1 "nds32_call_address_operand" "r, S"))
+ (call (mem:SI (match_operand:SI 1 "nds32_call_address_operand" "r, S"))
(match_operand 2)))
(clobber (reg:SI LP_REGNUM))
(clobber (reg:SI TA_REGNUM))])]
@@ -1714,7 +1714,7 @@
})
(define_insn "sibcall_internal"
- [(parallel [(call (mem (match_operand:SI 0 "nds32_call_address_operand" "r, S"))
+ [(parallel [(call (mem:SI (match_operand:SI 0 "nds32_call_address_operand" "r, S"))
(match_operand 1))
(clobber (reg:SI TA_REGNUM))
(return)])]
@@ -1778,7 +1778,7 @@
(define_insn "sibcall_value_internal"
[(parallel [(set (match_operand 0)
- (call (mem (match_operand:SI 1 "nds32_call_address_operand" "r, S"))
+ (call (mem:SI (match_operand:SI 1 "nds32_call_address_operand" "r, S"))
(match_operand 2)))
(clobber (reg:SI TA_REGNUM))
(return)])]