Commit ad16d073 by Nathan Sidwell Committed by Nathan Sidwell

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

From-SVN: r230706
parent cf08c344
2015-11-21 Nathan Sidwell <nathan@acm.org> 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 * config/nvptx/nvptx.c (write_function_decl_and_comment): Print
leading blank line. leading blank line.
(write_func_decl_from_insn): Likewise. (write_func_decl_from_insn): Likewise.
...@@ -731,7 +731,7 @@ ...@@ -731,7 +731,7 @@
[(set (match_operand:SI 0 "nvptx_register_operand" "=R") [(set (match_operand:SI 0 "nvptx_register_operand" "=R")
(clz:SI (match_operand:SDIM 1 "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" (define_expand "ctz<mode>2"
[(set (match_operand:SI 0 "nvptx_register_operand" "") [(set (match_operand:SI 0 "nvptx_register_operand" "")
......
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