* config/nvptx/nvptx.md (clz<mode>2): Use operand 1 for type.
authorNathan Sidwell <nathan@acm.org>
Sat, 21 Nov 2015 14:01:05 +0000 (14:01 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Sat, 21 Nov 2015 14:01:05 +0000 (14:01 +0000)
From-SVN: r230706

gcc/ChangeLog
gcc/config/nvptx/nvptx.md

index 8e41f5b5c53b2ecb4d39f500d40c76b307cfb5ba..ee27e99b2c7a09d88cb288a5ccccc7e1c72d33b3 100644 (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.
index aa9f5f630895c564f17a8345b55859a6adf4deae..c95d147ecf9aee37a28cd3c5671ac51c28b5122f 100644 (file)
   [(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" "")