aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorRamana Radhakrishnan <ramana@gcc.gnu.org>2011-05-26 08:07:45 +0000
committerRamana Radhakrishnan <ramana@gcc.gnu.org>2011-05-26 08:07:45 +0000
commit50fed7bf1a09778cc0cc75e270f2092cb71690da (patch)
tree7eb42d8ca038a56eab00fee758f3b36e42a5caf0 /gcc/config
parent48df3fa66cf86d6da365a459aae689bb937128a3 (diff)
downloadgcc-50fed7bf1a09778cc0cc75e270f2092cb71690da.zip
gcc-50fed7bf1a09778cc0cc75e270f2092cb71690da.tar.gz
gcc-50fed7bf1a09778cc0cc75e270f2092cb71690da.tar.bz2
Fix generation of vorn and vbic for Neon.
From-SVN: r174266
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/arm/neon.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/config/arm/neon.md b/gcc/config/arm/neon.md
index cffd524..2dfa9c1 100644
--- a/gcc/config/arm/neon.md
+++ b/gcc/config/arm/neon.md
@@ -794,8 +794,8 @@
(define_insn "orn<mode>3_neon"
[(set (match_operand:VDQ 0 "s_register_operand" "=w")
- (ior:VDQ (match_operand:VDQ 1 "s_register_operand" "w")
- (not:VDQ (match_operand:VDQ 2 "s_register_operand" "w"))))]
+ (ior:VDQ (not:VDQ (match_operand:VDQ 2 "s_register_operand" "w"))
+ (match_operand:VDQ 1 "s_register_operand" "w")))]
"TARGET_NEON"
"vorn\t%<V_reg>0, %<V_reg>1, %<V_reg>2"
[(set_attr "neon_type" "neon_int_1")]
@@ -803,8 +803,8 @@
(define_insn "orndi3_neon"
[(set (match_operand:DI 0 "s_register_operand" "=w,?=&r,?&r")
- (ior:DI (match_operand:DI 1 "s_register_operand" "w,r,0")
- (not:DI (match_operand:DI 2 "s_register_operand" "w,0,r"))))]
+ (ior:DI (not:DI (match_operand:DI 2 "s_register_operand" "w,0,r"))
+ (match_operand:DI 1 "s_register_operand" "w,r,0")))]
"TARGET_NEON"
"@
vorn\t%P0, %P1, %P2
@@ -816,8 +816,8 @@
(define_insn "bic<mode>3_neon"
[(set (match_operand:VDQ 0 "s_register_operand" "=w")
- (and:VDQ (match_operand:VDQ 1 "s_register_operand" "w")
- (not:VDQ (match_operand:VDQ 2 "s_register_operand" "w"))))]
+ (and:VDQ (not:VDQ (match_operand:VDQ 2 "s_register_operand" "w"))
+ (match_operand:VDQ 1 "s_register_operand" "w")))]
"TARGET_NEON"
"vbic\t%<V_reg>0, %<V_reg>1, %<V_reg>2"
[(set_attr "neon_type" "neon_int_1")]