aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGraham Stott <grahams@redhat.com>2000-11-09 11:30:02 +0000
committerGraham Stott <grahams@gcc.gnu.org>2000-11-09 11:30:02 +0000
commit6a4afa6c801453c372929f67afe216d5253a0606 (patch)
tree06b53568c6972b6f4979e872894472ffaeddd65a /gcc
parent5361cbb793e64b267460096093609afa6848f503 (diff)
downloadgcc-6a4afa6c801453c372929f67afe216d5253a0606.zip
gcc-6a4afa6c801453c372929f67afe216d5253a0606.tar.gz
gcc-6a4afa6c801453c372929f67afe216d5253a0606.tar.bz2
i386.md (mmx_pinsrw): Output operands in correct order for -mintel-syntax.
* 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. From-SVN: r37341
Diffstat (limited to 'gcc')
-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 2f6938d..7fda910 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 9f662a3..0e70845 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")])