From ad16d0736dce88703c8469fd506547a484087ee4 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Sat, 21 Nov 2015 14:01:05 +0000 Subject: [PATCH] * config/nvptx/nvptx.md (clz2): Use operand 1 for type. From-SVN: r230706 --- gcc/ChangeLog | 2 ++ gcc/config/nvptx/nvptx.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8e41f5b5c53..ee27e99b2c7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2015-11-21 Nathan Sidwell + * config/nvptx/nvptx.md (clz2): Use operand 1 for type. + * config/nvptx/nvptx.c (write_function_decl_and_comment): Print leading blank line. (write_func_decl_from_insn): Likewise. diff --git a/gcc/config/nvptx/nvptx.md b/gcc/config/nvptx/nvptx.md index aa9f5f63089..c95d147ecf9 100644 --- a/gcc/config/nvptx/nvptx.md +++ b/gcc/config/nvptx/nvptx.md @@ -731,7 +731,7 @@ [(set (match_operand:SI 0 "nvptx_register_operand" "=R") (clz:SI (match_operand:SDIM 1 "nvptx_register_operand" "R")))] "" - "%.\\tclz.b%T0\\t%0, %1;") + "%.\\tclz.b%T1\\t%0, %1;") (define_expand "ctz2" [(set (match_operand:SI 0 "nvptx_register_operand" "") -- 2.30.2