+2019-06-17 Tom de Vries <tdevries@suse.de>
+
+ * config/nvptx/nvptx.md (define_insn "call_insn"): Rename to ...
+ (define_insn "call_insn_<mode>"): ... this. Use P iterator on
+ match_operand 0.
+ (define_insn "call_value_insn"): Rename to ...
+ (define_insn "call_value_insn_<mode>"): this. Use P iterator on
+ match_operand 0.
+ (define_insn "nvptx_red_partition"): Set unspec_volatile result mode to
+ DI.
+
2019-06-16 John David Anglin <danglin@gcc.gnu.org>
PR middle-end/64242
;; Calls
-(define_insn "call_insn"
+(define_insn "call_insn_<mode>"
[(match_parallel 2 "call_operation"
- [(call (mem:QI (match_operand 0 "call_insn_operand" "Rs"))
+ [(call (mem:QI (match_operand:P 0 "call_insn_operand" "Rs"))
(match_operand 1))])]
""
{
return nvptx_output_call_insn (insn, NULL_RTX, operands[0]);
})
-(define_insn "call_value_insn"
+(define_insn "call_value_insn_<mode>"
[(match_parallel 3 "call_operation"
[(set (match_operand 0 "nvptx_register_operand" "=R")
- (call (mem:QI (match_operand 1 "call_insn_operand" "Rs"))
+ (call (mem:QI (match_operand:P 1 "call_insn_operand" "Rs"))
(match_operand 2)))])]
""
{
(define_insn "nvptx_red_partition"
[(set (match_operand:DI 0 "nonimmediate_operand" "=R")
- (unspec_volatile [(match_operand:DI 1 "const_int_operand")]
+ (unspec_volatile:DI [(match_operand:DI 1 "const_int_operand")]
UNSPECV_RED_PART))]
""
{