From 266446be6f7905ccadfc3bfd1fc290dfa48596f7 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 15 Apr 2011 12:48:36 +0000 Subject: [PATCH] Switch SSE and AVX mnemonics. 2011-04-15 H.J. Lu PR target/48612 * config/i386/sse.md (*ieee_smin3): Switch mnemonics. (*ieee_smax3): Likewise. From-SVN: r172492 --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/sse.md | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7a56574df01..83ac2502060 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-04-15 H.J. Lu + + PR target/48612 + * config/i386/sse.md (*ieee_smin3): Switch mnemonics. + (*ieee_smax3): Likewise. + 2011-04-15 Andreas Krebbel * config/s390/s390.md (popcountdi2, popcountsi2, popcounthi2): diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index df5e216fd29..fabd35b184e 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -962,8 +962,8 @@ UNSPEC_IEEE_MIN))] "" "@ - vmin\t{%2, %1, %0|%0, %1, %2} - min\t{%2, %0|%0, %2}" + min\t{%2, %0|%0, %2} + vmin\t{%2, %1, %0|%0, %1, %2}" [(set_attr "isa" "noavx,avx") (set_attr "type" "sseadd") (set_attr "prefix" "orig,vex") @@ -977,8 +977,8 @@ UNSPEC_IEEE_MAX))] "" "@ - vmax\t{%2, %1, %0|%0, %1, %2} - max\t{%2, %0|%0, %2}" + max\t{%2, %0|%0, %2} + vmax\t{%2, %1, %0|%0, %1, %2}" [(set_attr "isa" "noavx,avx") (set_attr "type" "sseadd") (set_attr "prefix" "orig,vex") -- 2.30.2