summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0149-PR-target-48678.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-06-17 17:11:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-23 11:50:07 +0100
commit0faa5f72999fea82fadda8bab70abea2303216c7 (patch)
tree05a8c18d2f67d883f94d2bd6f060ab0f4ac7f156 /meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0149-PR-target-48678.patch
parentc2007ba4cdb64fa9e308d3dae395c03ef4cc9161 (diff)
downloadpoky-0faa5f72999fea82fadda8bab70abea2303216c7.tar.gz
gcc-4.6: Switch to using svn SRC_URI for recipe
We call the recipes 4.6 Remove the backport patches (From OE-Core rev: 68b545f4ff719f2b6e57d68b002dc9845c7a14ae) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0149-PR-target-48678.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0149-PR-target-48678.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0149-PR-target-48678.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0149-PR-target-48678.patch
deleted file mode 100644
index ed87467ad1..0000000000
--- a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0149-PR-target-48678.patch
+++ /dev/null
@@ -1,49 +0,0 @@
1From ac255441a3e973a974d1ab70d00a9b7269103214 Mon Sep 17 00:00:00 2001
2From: jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
3Date: Tue, 19 Apr 2011 16:49:19 +0000
4Subject: [PATCH] PR target/48678
5 * config/i386/i386.md (movstrict<mode>): FAIL if operands[0]
6 is a SUBREG with non-MODE_INT mode inside of it.
7
8 * gcc.target/i386/pr48678.c: New test.
9
10
11git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@172723 138bc75d-0d04-0410-961f-82ee72b054a4
12
13index b50a52a..c50002e 100644
14--- a/gcc/config/i386/i386.md
15+++ b/gcc/config/i386/i386.md
16@@ -2408,6 +2408,9 @@
17 {
18 if (TARGET_PARTIAL_REG_STALL && optimize_function_for_speed_p (cfun))
19 FAIL;
20+ if (GET_CODE (operands[0]) == SUBREG
21+ && GET_MODE_CLASS (GET_MODE (SUBREG_REG (operands[0]))) != MODE_INT)
22+ FAIL;
23 /* Don't generate memory->memory moves, go through a register */
24 if (MEM_P (operands[0]) && MEM_P (operands[1]))
25 operands[1] = force_reg (<MODE>mode, operands[1]);
26new file mode 100644
27index 0000000..6f6727f
28--- /dev/null
29+++ b/gcc/testsuite/gcc.target/i386/pr48678.c
30@@ -0,0 +1,16 @@
31+/* PR target/48678 */
32+/* { dg-do compile } */
33+/* { dg-options "-O2 -msse2" } */
34+
35+#include <emmintrin.h>
36+
37+typedef short T __attribute__((may_alias));
38+struct S { __m128i d; };
39+
40+__m128i
41+foo (short *x, struct S *y, __m128i *z)
42+{
43+ struct S s = *y;
44+ ((T *) &s.d)[0] = *x;
45+ return _mm_cmpeq_epi16 (s.d, *z);
46+}
47--
481.7.0.4
49