Commit e20f3dd1 by Olga Golovanevsky Committed by Dorit Nuzman

altivec.md: (andvv16qi3...

	* config/rs6000/altivec.md: (andvv16qi3, andv8hi3, one_cmplv16qi2,
        one_cmplv8hi2, one_cmplv4si2, iorv16qi3, iorv8hi3,): New modelling.

Co-Authored-By: Dorit Naishlos <dorit@il.ibm.com>

From-SVN: r80039
parent d5ebbf58
2004-03-28 Olga Golovonevsky <olga@il.ibm.com>
Dorit Naishlos <dorit@il.ibm.com>
* config/rs6000/altivec.md: (andvv16qi3, andv8hi3, one_cmplv16qi2,
one_cmplv8hi2, one_cmplv4si2, iorv16qi3, iorv8hi3,): New modelling.
2004-03-28 Stephane Carrez <stcarrez@nerim.fr>
* config/m68hc11/m68hc11-protos.h (m68hc11_page0_symbol_p): Declare.
......
......@@ -388,6 +388,22 @@
"vaddsws %0,%1,%2"
[(set_attr "type" "vecsimple")])
(define_insn "andv16qi3"
[(set (match_operand:V16QI 0 "register_operand" "=v")
(and:V16QI (match_operand:V16QI 1 "register_operand" "v")
(match_operand:V16QI 2 "register_operand" "v")))]
"TARGET_ALTIVEC"
"vand %0,%1,%2"
[(set_attr "type" "vecsimple")])
(define_insn "andv8hi3"
[(set (match_operand:V8HI 0 "register_operand" "=v")
(and:V8HI (match_operand:V8HI 1 "register_operand" "v")
(match_operand:V8HI 2 "register_operand" "v")))]
"TARGET_ALTIVEC"
"vand %0,%1,%2"
[(set_attr "type" "vecsimple")])
(define_insn "andv4si3"
[(set (match_operand:V4SI 0 "register_operand" "=v")
(and:V4SI (match_operand:V4SI 1 "register_operand" "v")
......@@ -975,6 +991,43 @@
"TARGET_ALTIVEC"
"vnor %0,%1,%2"
[(set_attr "type" "vecsimple")])
(define_insn "one_cmplv16qi2"
[(set (match_operand:V16QI 0 "register_operand" "=v")
(not:V16QI (match_operand:V16QI 1 "register_operand" "v")))]
"TARGET_ALTIVEC"
"vnot %0,%1"
[(set_attr "type" "vecsimple")])
(define_insn "one_cmplv8hi2"
[(set (match_operand:V8HI 0 "register_operand" "=v")
(not:V8HI (match_operand:V8HI 1 "register_operand" "v")))]
"TARGET_ALTIVEC"
"vnot %0,%1"
[(set_attr "type" "vecsimple")])
(define_insn "one_cmplv4si2"
[(set (match_operand:V4SI 0 "register_operand" "=v")
(not:V4SI (match_operand:V4SI 1 "register_operand" "v")))]
"TARGET_ALTIVEC"
"vnot %0,%1"
[(set_attr "type" "vecsimple")])
(define_insn "iorv16qi3"
[(set (match_operand:V16QI 0 "register_operand" "=v")
(ior:V16QI (match_operand:V16QI 1 "register_operand" "v")
(match_operand:V16QI 2 "register_operand" "v")))]
"TARGET_ALTIVEC"
"vor %0,%1,%2"
[(set_attr "type" "vecsimple")])
(define_insn "iorv8hi3"
[(set (match_operand:V8HI 0 "register_operand" "=v")
(ior:V8HI (match_operand:V8HI 1 "register_operand" "v")
(match_operand:V8HI 2 "register_operand" "v")))]
"TARGET_ALTIVEC"
"vor %0,%1,%2"
[(set_attr "type" "vecsimple")])
(define_insn "iorv4si3"
[(set (match_operand:V4SI 0 "register_operand" "=v")
......
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