Commit d29cce74 by Chung-Ju Wu Committed by Chung-Ju Wu

[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
parent bfb31c3d
2019-02-11 Chung-Ju Wu <jasonwucj@gmail.com>
* config/nds32/nds32.md (call_internal, call_value_internal,
sibcall_internal, sibcall_value_internal): Use SImode for mem rtx.
2019-02-11 Hans-Peter Nilsson <hp@axis.com>
* config/cris/cris.c (cris_preferred_minimum_alignment): Fix name
......
......@@ -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)])]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment