mips.md (clzsi, clzdi): New patterns.
2003-05-23 Eric Christopher <echristo@redhat.com> * config/mips/mips.md (clzsi, clzdi): New patterns. From-SVN: r67142
This commit is contained in:
parent
0de12fcceb
commit
5299653dc1
2 changed files with 30 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2003-05-23 Eric Christopher <echristo@redhat.com>
|
||||
|
||||
* config/mips/mips.md (clzsi, clzdi): New patterns.
|
||||
|
||||
2003-05-23 Geoffrey Keating <geoffk@apple.com>
|
||||
|
||||
* gcc.c (default_compilers): Use -o to specify preprocessor's output
|
||||
|
@ -7,7 +11,7 @@
|
|||
2003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>
|
||||
|
||||
* fixinc/Makefile.in: Correct description.
|
||||
* fixinc/Makefile.in, fixinc/fixfixes.c, fixinc/fixincl.c,
|
||||
* fixinc/Makefile.in, fixinc/fixfixes.c, fixinc/fixincl.c,
|
||||
fixinc/fixlib.c, fixinc/fixlib.h, fixinc/fixtests.c,
|
||||
fixinc/genfixes: Replace "GNU CC" with "GCC".
|
||||
|
||||
|
|
|
@ -3594,6 +3594,31 @@ move\\t%0,%z4\\n\\
|
|||
(set_attr "length" "24")])
|
||||
|
||||
|
||||
|
||||
;;
|
||||
;; ...................
|
||||
;;
|
||||
;; Count leading zeroes.
|
||||
;;
|
||||
;; ...................
|
||||
;;
|
||||
|
||||
(define_insn "clzsi2"
|
||||
[(set (match_operand:SI 0 "register_operand" "=d")
|
||||
(clz:SI (match_operand:SI 1 "register_operand" "d")))]
|
||||
"ISA_HAS_CLZ_CLO"
|
||||
"clz\\t%0,%1"
|
||||
[(set_attr "type" "arith")
|
||||
(set_attr "mode" "SI")])
|
||||
|
||||
(define_insn "clzdi2"
|
||||
[(set (match_operand:DI 0 "register_operand" "=d")
|
||||
(clz:DI (match_operand:DI 1 "register_operand" "d")))]
|
||||
"ISA_HAS_DCLZ_DCLO"
|
||||
"dclz\\t%0,%1"
|
||||
[(set_attr "type" "arith")
|
||||
(set_attr "mode" "DI")])
|
||||
|
||||
;;
|
||||
;; ....................
|
||||
;;
|
||||
|
|
Loading…
Add table
Reference in a new issue