summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgretay <gretay@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-22 13:29:56 +0000
committergretay <gretay@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-22 13:29:56 +0000
commit2ad08b65666f63cb712eba5200ccdc6dd7b20b85 (patch)
treec689f2982f682c9f10431f8894fa14e4e1f12303
parent9e6ac2e5971687465e75325432250091f7e5f87e (diff)
downloadgcc-2ad08b65666f63cb712eba5200ccdc6dd7b20b85.tar.gz
2012-11-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm.md (*arm_abssi2): Define predicable attribute. (*arm_neg_abssi2): Likewise. * config/arm/thumb2.md (*thumb2_abssi2): Likewise. (*thumb2_neg_abssi2): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193724 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/arm/arm.md4
-rw-r--r--gcc/config/arm/thumb2.md4
3 files changed, 11 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3df5d48d7e4..fabcb5dfbb4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2012-11-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * config/arm/arm.md (*arm_abssi2): Define predicable attribute.
+ (*arm_neg_abssi2): Likewise.
+ * config/arm/thumb2.md (*thumb2_abssi2): Likewise.
+ (*thumb2_neg_abssi2): Likewise.
+
2012-11-22 Jakub Jelinek <jakub@redhat.com>
* ree.c (struct ext_modified): Add ATTRIBUTE_PACKED.
diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md
index 7e92b69ad86..520988f2690 100644
--- a/gcc/config/arm/arm.md
+++ b/gcc/config/arm/arm.md
@@ -4263,7 +4263,7 @@
eor%?\\t%0, %1, %1, asr #31\;sub%?\\t%0, %0, %1, asr #31"
[(set_attr "conds" "clob,*")
(set_attr "shift" "1")
- ;; predicable can't be set based on the variant, so left as no
+ (set_attr "predicable" "no, yes")
(set_attr "length" "8")]
)
@@ -4291,7 +4291,7 @@
eor%?\\t%0, %1, %1, asr #31\;rsb%?\\t%0, %0, %1, asr #31"
[(set_attr "conds" "clob,*")
(set_attr "shift" "1")
- ;; predicable can't be set based on the variant, so left as no
+ (set_attr "predicable" "no, yes")
(set_attr "length" "8")]
)
diff --git a/gcc/config/arm/thumb2.md b/gcc/config/arm/thumb2.md
index a5302f479f5..f61ecad7864 100644
--- a/gcc/config/arm/thumb2.md
+++ b/gcc/config/arm/thumb2.md
@@ -141,7 +141,7 @@
eor%?\\t%0, %1, %1, asr #31\;sub%?\\t%0, %0, %1, asr #31"
[(set_attr "conds" "clob,*")
(set_attr "shift" "1")
- ;; predicable can't be set based on the variant, so left as no
+ (set_attr "predicable" "no, yes")
(set_attr "length" "10,8")]
)
@@ -155,7 +155,7 @@
eor%?\\t%0, %1, %1, asr #31\;rsb%?\\t%0, %0, %1, asr #31"
[(set_attr "conds" "clob,*")
(set_attr "shift" "1")
- ;; predicable can't be set based on the variant, so left as no
+ (set_attr "predicable" "no, yes")
(set_attr "length" "10,8")]
)