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" "")