1 |
vapier 14/07/31 06:31:00 |
2 |
|
3 |
Modified: 90_all_gcc-4.7-x32.patch README.history |
4 |
Log: |
5 |
update of x32 patch by Greg Turner #513686 |
6 |
|
7 |
Revision Changes Path |
8 |
1.2 src/patchsets/gcc/4.7.4/gentoo/90_all_gcc-4.7-x32.patch |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.7.4/gentoo/90_all_gcc-4.7-x32.patch?rev=1.2&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.7.4/gentoo/90_all_gcc-4.7-x32.patch?rev=1.2&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.7.4/gentoo/90_all_gcc-4.7-x32.patch?r1=1.1&r2=1.2 |
13 |
|
14 |
Index: 90_all_gcc-4.7-x32.patch |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.7.4/gentoo/90_all_gcc-4.7-x32.patch,v |
17 |
retrieving revision 1.1 |
18 |
retrieving revision 1.2 |
19 |
diff -u -r1.1 -r1.2 |
20 |
--- 90_all_gcc-4.7-x32.patch 17 Jun 2014 01:47:24 -0000 1.1 |
21 |
+++ 90_all_gcc-4.7-x32.patch 31 Jul 2014 06:31:00 -0000 1.2 |
22 |
@@ -649,18 +649,18 @@ |
23 |
@@ -10389,14 +10482,18 @@ ix86_expand_prologue (void) |
24 |
if (r10_live && eax_live) |
25 |
{ |
26 |
- t = choose_baseaddr (m->fs.sp_offset - allocate); |
27 |
+ t = gen_rtx_PLUS (Pmode, stack_pointer_rtx, eax); |
28 |
- emit_move_insn (r10, gen_frame_mem (Pmode, t)); |
29 |
+ emit_move_insn (gen_rtx_REG (word_mode, R10_REG), |
30 |
+ gen_frame_mem (word_mode, t)); |
31 |
- t = choose_baseaddr (m->fs.sp_offset - allocate - UNITS_PER_WORD); |
32 |
+ t = plus_constant (t, UNITS_PER_WORD); |
33 |
- emit_move_insn (eax, gen_frame_mem (Pmode, t)); |
34 |
+ emit_move_insn (gen_rtx_REG (word_mode, AX_REG), |
35 |
+ gen_frame_mem (word_mode, t)); |
36 |
} |
37 |
else if (eax_live || r10_live) |
38 |
{ |
39 |
- t = choose_baseaddr (m->fs.sp_offset - allocate); |
40 |
+ t = gen_rtx_PLUS (Pmode, stack_pointer_rtx, eax); |
41 |
- emit_move_insn ((eax_live ? eax : r10), gen_frame_mem (Pmode, t)); |
42 |
+ emit_move_insn (gen_rtx_REG (word_mode, |
43 |
+ (eax_live ? AX_REG : R10_REG)), |
44 |
@@ -1145,15 +1145,14 @@ |
45 |
(clobber (mem:BLK (scratch)))] |
46 |
"" |
47 |
"pop{<imodesuffix>}\t%0" |
48 |
-@@ -3399,9 +3406,9 @@ |
49 |
- }) |
50 |
+@@ -3399,8 +3406,8 @@ |
51 |
|
52 |
(define_insn "*zero_extendsidi2_rex64" |
53 |
-- [(set (match_operand:DI 0 "nonimmediate_operand" "=r,o,?*Ym,?*y,?*Yi,*x") |
54 |
-+ [(set (match_operand:DI 0 "nonimmediate_operand" "=r ,o,?*Ym,?*y,?*Yi,*x") |
55 |
+- [(set (match_operand:DI 0 "nonimmediate_operand" "=r,o,?*Ym,?!*y,?*Yi,*x") |
56 |
++ [(set (match_operand:DI 0 "nonimmediate_operand" "=r ,o,?*Ym,?!*y,?*Yi,*x") |
57 |
(zero_extend:DI |
58 |
-- (match_operand:SI 1 "nonimmediate_operand" "rm,0,r ,m ,r ,m")))] |
59 |
-+ (match_operand:SI 1 "x86_64_zext_general_operand" "rmWz,0,r ,m ,r ,m")))] |
60 |
+- (match_operand:SI 1 "nonimmediate_operand" "rm,0,r ,m ,r ,m")))] |
61 |
++ (match_operand:SI 1 "x86_64_zext_general_operand" "rmWz,0,r ,m ,r ,m")))] |
62 |
"TARGET_64BIT" |
63 |
"@ |
64 |
mov{l}\t{%1, %k0|%k0, %1} |
65 |
@@ -1544,10 +1543,11 @@ |
66 |
(match_operand:DI 2 "register_operand" "a")) |
67 |
- (set (match_operand:DI 0 "register_operand" "=D") |
68 |
- (plus:DI (match_dup 1) |
69 |
-- (const_int 8)))] |
70 |
+- (const_int 8))) |
71 |
+ (set (match_operand:P 0 "register_operand" "=D") |
72 |
+ (plus:P (match_dup 1) |
73 |
-+ (const_int 8)))] |
74 |
++ (const_int 8))) |
75 |
+ (unspec [(const_int 0)] UNSPEC_STOS)] |
76 |
"TARGET_64BIT |
77 |
&& !(fixed_regs[AX_REG] || fixed_regs[DI_REG])" |
78 |
- "stosq" |
79 |
@@ -1556,8 +1556,8 @@ |
80 |
(set_attr "memory" "store") |
81 |
(set_attr "mode" "DI")]) |
82 |
@@ -15936,7 +15951,7 @@ |
83 |
- (plus:P (match_dup 1) |
84 |
- (const_int 4)))] |
85 |
+ (const_int 4))) |
86 |
+ (unspec [(const_int 0)] UNSPEC_STOS)] |
87 |
"!(fixed_regs[AX_REG] || fixed_regs[DI_REG])" |
88 |
- "stos{l|d}" |
89 |
+ "%^stos{l|d}" |
90 |
@@ -1565,8 +1565,8 @@ |
91 |
(set_attr "memory" "store") |
92 |
(set_attr "mode" "SI")]) |
93 |
@@ -15948,7 +15963,7 @@ |
94 |
- (plus:P (match_dup 1) |
95 |
- (const_int 2)))] |
96 |
+ (const_int 2))) |
97 |
+ (unspec [(const_int 0)] UNSPEC_STOS)] |
98 |
"!(fixed_regs[AX_REG] || fixed_regs[DI_REG])" |
99 |
- "stosw" |
100 |
+ "%^stosw" |
101 |
@@ -1574,8 +1574,8 @@ |
102 |
(set_attr "memory" "store") |
103 |
(set_attr "mode" "HI")]) |
104 |
@@ -15960,7 +15975,7 @@ |
105 |
- (plus:P (match_dup 1) |
106 |
- (const_int 1)))] |
107 |
+ (const_int 1))) |
108 |
+ (unspec [(const_int 0)] UNSPEC_STOS)] |
109 |
"!(fixed_regs[AX_REG] || fixed_regs[DI_REG])" |
110 |
- "stosb" |
111 |
+ "%^stosb" |
112 |
|
113 |
|
114 |
|
115 |
1.4 src/patchsets/gcc/4.7.4/gentoo/README.history |
116 |
|
117 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.7.4/gentoo/README.history?rev=1.4&view=markup |
118 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.7.4/gentoo/README.history?rev=1.4&content-type=text/plain |
119 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.7.4/gentoo/README.history?r1=1.3&r2=1.4 |
120 |
|
121 |
Index: README.history |
122 |
=================================================================== |
123 |
RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.7.4/gentoo/README.history,v |
124 |
retrieving revision 1.3 |
125 |
retrieving revision 1.4 |
126 |
diff -u -r1.3 -r1.4 |
127 |
--- README.history 31 Jul 2014 06:28:36 -0000 1.3 |
128 |
+++ README.history 31 Jul 2014 06:31:00 -0000 1.4 |
129 |
@@ -1,3 +1,6 @@ |
130 |
+1.1 31 Jul 2014 |
131 |
+ U 90_all_gcc-4.7-x32.patch |
132 |
+ |
133 |
1.0 17 Jun 2014 |
134 |
+ 10_all_default-fortify-source.patch |
135 |
+ 11_all_default-warn-format-security.patch |