]> git.pld-linux.org Git - packages/cross-gcc.git/blame - cross-gcc-c6x.patch
new package
[packages/cross-gcc.git] / cross-gcc-c6x.patch
CommitLineData
b5b0b447
ER
1Index: gcc/config/c6x/c6x.c
2===================================================================
3RCS file: /cvs/cvsfiles/devo/gcc/config/c6x/c6x.c,v
4retrieving revision 1.16
5diff -u -3 -p -r1.16 c6x.c
6--- gcc/config/c6x/c6x.c 26 Jan 2014 17:41:28 -0000 1.16
7+++ gcc/config/c6x/c6x.c 20 Jun 2014 13:07:59 -0000
8@@ -5894,6 +5894,9 @@ static struct hw_doloop_hooks c6x_doloop
9 static void
10 c6x_hwloops (void)
11 {
12+ /* start-sanitize-redhat */
13+ if (0) /* CFG called too late. */
14+ /* end-sanitize-redhat */
15 if (optimize)
16 reorg_loops (true, &c6x_doloop_hooks);
17 }
18Index: gcc/config/c6x/c6x.md
19===================================================================
20RCS file: /cvs/cvsfiles/devo/gcc/config/c6x/c6x.md,v
21retrieving revision 1.10
22diff -u -3 -p -r1.10 c6x.md
23--- gcc/config/c6x/c6x.md 26 Jan 2014 17:41:28 -0000 1.10
24+++ gcc/config/c6x/c6x.md 4 Jul 2014 10:37:34 -0000
25@@ -1432,7 +1432,7 @@
26 (plus:SI (match_dup 0)
27 (const_int -1)))
28 (clobber (match_dup 2))])] ; match_scratch
29- "TARGET_INSNS_64PLUS && optimize"
30+ "TARGET_INSNS_64PLUS && optimize && 0"
31 {
32 /* The loop optimizer doesn't check the predicates... */
33 if (GET_MODE (operands[0]) != SImode)
34@@ -1485,7 +1485,7 @@
35 (plus:SI (match_dup 3)
36 (const_int -1)))
37 (clobber (match_scratch:SI 2 "=X,&AB,&AB,&AB"))]
38- "TARGET_INSNS_64PLUS && optimize"
39+ "TARGET_INSNS_64PLUS && optimize && 0"
40 "#"
41 [(set_attr "type" "spkernel")])
42
43@@ -1499,7 +1499,7 @@
44 (plus:SI (match_dup 3)
45 (const_int -1)))
46 (clobber (match_scratch 2))]
47- ""
48+ "0"
49 [(set (match_dup 2) (plus:SI (match_dup 3) (const_int -1)))
50 (set (match_dup 0) (match_dup 2))
51 (set (pc)
This page took 0.061978 seconds and 4 git commands to generate.