summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-09 11:30:02 +0000
committergrahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-09 11:30:02 +0000
commitb5306ca9fda971f04adb8f70b0d22b5dbf199016 (patch)
tree06b53568c6972b6f4979e872894472ffaeddd65a
parenta2136ce62ec8cd14d4cb1b6392da3ffb01baef75 (diff)
downloadgcc-b5306ca9fda971f04adb8f70b0d22b5dbf199016.tar.gz
* config/i386/i386.md (mmx_pinsrw): Output operands in correct
order for -mintel-syntax. Remove comment now that the operand order has been checked. (mmx_pextrw): Likewise. (mmx_pshufw): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37341 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/i386/i386.md9
2 files changed, 11 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2f6938dd6e8..7fda91053e1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2000-11-09 Graham Stott <grahams@redhat.com>
+
+ * config/i386/i386.md (mmx_pinsrw): Output operands in correct
+ order for -mintel-syntax. Remove comment now that the operand
+ order has been checked.
+ (mmx_pextrw): Likewise.
+ (mmx_pshufw): Likewise.
+
2000-11-09 Jakub Jelinek <jakub@redhat.com>
* builtins.c (c_strlen): Use TREE_STRING_LENGTH - 1 for max.
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 9f662a390fe..0e70845b5d4 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -12831,8 +12831,7 @@
(truncate:HI (match_operand:SI 2 "nonimmediate_operand" "rm")))
(match_operand:SI 3 "immediate_operand" "i")))]
"TARGET_SSE"
- ;; @@@ check operand order for intel/nonintel syntax.
- "pinsrw\\t%3, {%2, %0|%0, %2}"
+ "pinsrw\\t{%3, %2, %0|%0, %2, %3}"
[(set_attr "type" "sse")])
(define_insn "mmx_pextrw"
@@ -12841,8 +12840,7 @@
(parallel
[(match_operand:SI 2 "immediate_operand" "i")]))))]
"TARGET_SSE"
- ;; @@@ check operand order for intel/nonintel syntax.
- "pextrw\\t%2, {%1, %0|%0, %1}"
+ "pextrw\\t{%2, %1, %0|%0, %1, %2}"
[(set_attr "type" "sse")])
(define_insn "mmx_pshufw"
@@ -12851,8 +12849,7 @@
(match_operand:V4HI 2 "nonimmediate_operand" "ym")
(match_operand:SI 3 "immediate_operand" "i")] 41))]
"TARGET_SSE"
- ;; @@@ check operand order for intel/nonintel syntax
- "pshufw\\t %3,{%2, %0|%0, %2}"
+ "pshufw\\t{%3, %2, %0|%0, %2, %3}"
[(set_attr "type" "sse")])