This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, i386] Add {athlon,amdfam10}_decode attributes to x86_shrd insn
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 21 Apr 2010 15:25:56 +0200
- Subject: [PATCH, i386] Add {athlon,amdfam10}_decode attributes to x86_shrd insn
Hello!
2010-04-21 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (x86_shrd): Add athlon_decode and
amdfam10_decode attributes.
Tested on x86_64-pc-linux-gnu {,-m32}, committed to mainline.
Uros.
Index: i386.md
===================================================================
--- i386.md (revision 158593)
+++ i386.md (working copy)
@@ -10319,8 +10319,10 @@
"shrd{l}\t{%s2%1, %0|%0, %1, %2}"
[(set_attr "type" "ishift")
(set_attr "prefix_0f" "1")
+ (set_attr "mode" "SI")
(set_attr "pent_pair" "np")
- (set_attr "mode" "SI")])
+ (set_attr "athlon_decode" "vector")
+ (set_attr "amdfam10_decode" "vector")])
(define_insn "ashrdi3_cvt"
[(set (match_operand:DI 0 "nonimmediate_operand" "=*d,rm")