1 |
rhill 14/03/29 06:22:36 |
2 |
|
3 |
Modified: README.history |
4 |
Added: 85_all_fma-instruction-typo.patch |
5 |
Log: |
6 |
Add patch for bug #505960 (invalid instructions on Haswell). |
7 |
|
8 |
Revision Changes Path |
9 |
1.9 src/patchsets/gcc/4.6.4/gentoo/README.history |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.6.4/gentoo/README.history?rev=1.9&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.6.4/gentoo/README.history?rev=1.9&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.6.4/gentoo/README.history?r1=1.8&r2=1.9 |
14 |
|
15 |
Index: README.history |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.6.4/gentoo/README.history,v |
18 |
retrieving revision 1.8 |
19 |
retrieving revision 1.9 |
20 |
diff -u -r1.8 -r1.9 |
21 |
--- README.history 24 Dec 2013 00:51:42 -0000 1.8 |
22 |
+++ README.history 29 Mar 2014 06:22:36 -0000 1.9 |
23 |
@@ -1,3 +1,6 @@ |
24 |
+1.2 29 Mar 2014 |
25 |
+ + 85_all_fma-instruction-typo.patch |
26 |
+ |
27 |
1.1 23 Dec 2013 |
28 |
+ 20_all_gcj-freetype.patch |
29 |
+ 93_all_4.7_pr53550-ICE-build2_stat.patch |
30 |
|
31 |
|
32 |
|
33 |
1.1 src/patchsets/gcc/4.6.4/gentoo/85_all_fma-instruction-typo.patch |
34 |
|
35 |
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 |
36 |
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 |
37 |
|
38 |
Index: 85_all_fma-instruction-typo.patch |
39 |
=================================================================== |
40 |
Haswell with -march=native - Error: no such instruction: `vfmadd312ss .LC21(%rip),%xmm1,%xmm0' |
41 |
https://bugs.gentoo.org/505960 |
42 |
|
43 |
|
44 |
2014-03-29 Ryan Hill <rhill@g.o> |
45 |
|
46 |
* config/i386/sse.md (fma_fmadd_<mode>): Fix typo. |
47 |
(fma_fmsub_<mode>): Likewise. |
48 |
(fma_fnmadd_<mode>): Likewise. |
49 |
(fma_fnmsub_<mode>): Likewise. |
50 |
|
51 |
|
52 |
--- a/gcc/config/i386/sse.md |
53 |
+++ b/gcc/config/i386/sse.md |
54 |
@@ -2067,7 +2067,7 @@ |
55 |
"TARGET_FMA" |
56 |
"@ |
57 |
vfmadd132<ssemodesuffix>\t{%2, %3, %0|%0, %3, %2} |
58 |
- vfmadd312<ssemodesuffix>\t{%3, %2, %0|%0, %2, %3} |
59 |
+ vfmadd213<ssemodesuffix>\t{%3, %2, %0|%0, %2, %3} |
60 |
vfmadd231<ssemodesuffix>\t{%2, %1, %0|%0, %1, %2}" |
61 |
[(set_attr "type" "ssemuladd") |
62 |
(set_attr "mode" "<MODE>")]) |
63 |
@@ -2082,7 +2082,7 @@ |
64 |
"TARGET_FMA" |
65 |
"@ |
66 |
vfmsub132<ssemodesuffix>\t{%2, %3, %0|%0, %3, %2} |
67 |
- vfmsub312<ssemodesuffix>\t{%3, %2, %0|%0, %2, %3} |
68 |
+ vfmsub213<ssemodesuffix>\t{%3, %2, %0|%0, %2, %3} |
69 |
vfmsub231<ssemodesuffix>\t{%2, %1, %0|%0, %1, %2}" |
70 |
[(set_attr "type" "ssemuladd") |
71 |
(set_attr "mode" "<MODE>")]) |
72 |
@@ -2097,7 +2097,7 @@ |
73 |
"TARGET_FMA" |
74 |
"@ |
75 |
vfnmadd132<ssemodesuffix>\t{%2, %3, %0|%0, %3, %2} |
76 |
- vfnmadd312<ssemodesuffix>\t{%3, %2, %0|%0, %2, %3} |
77 |
+ vfnmadd213<ssemodesuffix>\t{%3, %2, %0|%0, %2, %3} |
78 |
vfnmadd231<ssemodesuffix>\t{%2, %1, %0|%0, %1, %2}" |
79 |
[(set_attr "type" "ssemuladd") |
80 |
(set_attr "mode" "<MODE>")]) |
81 |
@@ -2113,7 +2113,7 @@ |
82 |
"TARGET_FMA" |
83 |
"@ |
84 |
vfnmsub132<ssemodesuffix>\t{%2, %3, %0|%0, %3, %2} |
85 |
- vfnmsub312<ssemodesuffix>\t{%3, %2, %0|%0, %2, %3} |
86 |
+ vfnmsub213<ssemodesuffix>\t{%3, %2, %0|%0, %2, %3} |
87 |
vfnmsub231<ssemodesuffix>\t{%2, %1, %0|%0, %1, %2}" |
88 |
[(set_attr "type" "ssemuladd") |
89 |
(set_attr "mode" "<MODE>")]) |