From 6a4afa6c801453c372929f67afe216d5253a0606 Mon Sep 17 00:00:00 2001 From: Graham Stott Date: Thu, 9 Nov 2000 11:30:02 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 8 ++++++++ gcc/config/i386/i386.md | 9 +++------ 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 + + * 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 * 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")]) -- 2.30.2