aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2015-04-02 14:22:16 +0200
committerUros Bizjak <uros@gcc.gnu.org>2015-04-02 14:22:16 +0200
commit287044d97216beeb8784acb9a916522cc882e9f2 (patch)
tree08db3ad589e0f4f9c668b7b9eac2861b12f60bd1
parentb8cd77f40ce01c28d0186e55c92e9fa4b887cf65 (diff)
downloadgcc-287044d97216beeb8784acb9a916522cc882e9f2.zip
gcc-287044d97216beeb8784acb9a916522cc882e9f2.tar.gz
gcc-287044d97216beeb8784acb9a916522cc882e9f2.tar.bz2
Revert parts of r216820.
* config/i386/i386.md (movqi_internal): Correct type calculation for alternatives 3 and 5. From-SVN: r221840
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/i386.md6
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 119b403..8e4ca65 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2015-04-02 Uros Bizjak <ubizjak@gmail.com>
+
+ Revert parts of r216820.
+ * config/i386/i386.md (movqi_internal): Correct type calculation
+ for alternatives 3 and 5.
+
2015-04-02 Jakub Jelinek <jakub@redhat.com>
PR preprocessor/61977
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 1129b93..cf63afd 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -2533,9 +2533,7 @@
}
[(set_attr "isa" "*,*,*,*,*,*,*,*,*,*,avx512dq,avx512dq")
(set (attr "type")
- (cond [(eq_attr "alternative" "3,5")
- (const_string "imovx")
- (eq_attr "alternative" "7,8,9,10,11")
+ (cond [(eq_attr "alternative" "7,8,9,10,11")
(const_string "mskmov")
(and (eq_attr "alternative" "5")
(not (match_operand:QI 1 "aligned_operand")))
@@ -2546,6 +2544,8 @@
(ior (not (match_test "TARGET_PARTIAL_REG_STALL"))
(not (match_test "TARGET_QIMODE_MATH"))))
(const_string "imov")
+ (eq_attr "alternative" "3,5")
+ (const_string "imovx")
(and (match_test "TARGET_MOVX")
(eq_attr "alternative" "2"))
(const_string "imovx")