public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in src/patchsets/gcc/4.6.4/gentoo: 85_all_fma-instruction-typo.patch README.history
@ 2014-03-29  6:22 Ryan Hill (rhill)
  0 siblings, 0 replies; only message in thread
From: Ryan Hill (rhill) @ 2014-03-29  6:22 UTC (permalink / raw
  To: gentoo-commits

rhill       14/03/29 06:22:36

  Modified:             README.history
  Added:                85_all_fma-instruction-typo.patch
  Log:
  Add patch for bug #505960 (invalid instructions on Haswell).

Revision  Changes    Path
1.9                  src/patchsets/gcc/4.6.4/gentoo/README.history

file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.6.4/gentoo/README.history?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.6.4/gentoo/README.history?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.6.4/gentoo/README.history?r1=1.8&r2=1.9

Index: README.history
===================================================================
RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.6.4/gentoo/README.history,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- README.history	24 Dec 2013 00:51:42 -0000	1.8
+++ README.history	29 Mar 2014 06:22:36 -0000	1.9
@@ -1,3 +1,6 @@
+1.2		29 Mar 2014
+	+ 85_all_fma-instruction-typo.patch
+
 1.1		23 Dec 2013
 	+ 20_all_gcj-freetype.patch
 	+ 93_all_4.7_pr53550-ICE-build2_stat.patch



1.1                  src/patchsets/gcc/4.6.4/gentoo/85_all_fma-instruction-typo.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.6.4/gentoo/85_all_fma-instruction-typo.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.6.4/gentoo/85_all_fma-instruction-typo.patch?rev=1.1&content-type=text/plain

Index: 85_all_fma-instruction-typo.patch
===================================================================
Haswell with -march=native - Error: no such instruction: `vfmadd312ss .LC21(%rip),%xmm1,%xmm0'
https://bugs.gentoo.org/505960


2014-03-29  Ryan Hill  <rhill@gentoo.org>

	* config/i386/sse.md (fma_fmadd_<mode>): Fix typo.
	(fma_fmsub_<mode>): Likewise.
	(fma_fnmadd_<mode>): Likewise.
	(fma_fnmsub_<mode>): Likewise.


--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -2067,7 +2067,7 @@
   "TARGET_FMA"
   "@
    vfmadd132<ssemodesuffix>\t{%2, %3, %0|%0, %3, %2}
-   vfmadd312<ssemodesuffix>\t{%3, %2, %0|%0, %2, %3}
+   vfmadd213<ssemodesuffix>\t{%3, %2, %0|%0, %2, %3}
    vfmadd231<ssemodesuffix>\t{%2, %1, %0|%0, %1, %2}"
   [(set_attr "type" "ssemuladd")
    (set_attr "mode" "<MODE>")])
@@ -2082,7 +2082,7 @@
   "TARGET_FMA"
   "@
    vfmsub132<ssemodesuffix>\t{%2, %3, %0|%0, %3, %2}
-   vfmsub312<ssemodesuffix>\t{%3, %2, %0|%0, %2, %3}
+   vfmsub213<ssemodesuffix>\t{%3, %2, %0|%0, %2, %3}
    vfmsub231<ssemodesuffix>\t{%2, %1, %0|%0, %1, %2}"
   [(set_attr "type" "ssemuladd")
    (set_attr "mode" "<MODE>")])
@@ -2097,7 +2097,7 @@
   "TARGET_FMA"
   "@
    vfnmadd132<ssemodesuffix>\t{%2, %3, %0|%0, %3, %2}
-   vfnmadd312<ssemodesuffix>\t{%3, %2, %0|%0, %2, %3}
+   vfnmadd213<ssemodesuffix>\t{%3, %2, %0|%0, %2, %3}
    vfnmadd231<ssemodesuffix>\t{%2, %1, %0|%0, %1, %2}"
   [(set_attr "type" "ssemuladd")
    (set_attr "mode" "<MODE>")])
@@ -2113,7 +2113,7 @@
   "TARGET_FMA"
   "@
    vfnmsub132<ssemodesuffix>\t{%2, %3, %0|%0, %3, %2}
-   vfnmsub312<ssemodesuffix>\t{%3, %2, %0|%0, %2, %3}
+   vfnmsub213<ssemodesuffix>\t{%3, %2, %0|%0, %2, %3}
    vfnmsub231<ssemodesuffix>\t{%2, %1, %0|%0, %1, %2}"
   [(set_attr "type" "ssemuladd")
    (set_attr "mode" "<MODE>")])





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-03-29  6:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-29  6:22 [gentoo-commits] gentoo commit in src/patchsets/gcc/4.6.4/gentoo: 85_all_fma-instruction-typo.patch README.history Ryan Hill (rhill)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox