* config/nvptx/nvptx.md (clz<mode>2): Use operand 1 for type.

From-SVN: r230706
This commit is contained in:
Nathan Sidwell 2015-11-21 14:01:05 +00:00 committed by Nathan Sidwell
parent cf08c34456
commit ad16d0736d
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2015-11-21 Nathan Sidwell <nathan@acm.org>
* config/nvptx/nvptx.md (clz<mode>2): Use operand 1 for type.
* config/nvptx/nvptx.c (write_function_decl_and_comment): Print
leading blank line.
(write_func_decl_from_insn): Likewise.

View File

@ -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 "ctz<mode>2"
[(set (match_operand:SI 0 "nvptx_register_operand" "")