summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0164-PR-target-48708.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/0164-PR-target-48708.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/0164-PR-target-48708.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0164-PR-target-48708.patch63
1 files changed, 0 insertions, 63 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0164-PR-target-48708.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0164-PR-target-48708.patch
deleted file mode 100644
index fde53a48a1..0000000000
--- a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0164-PR-target-48708.patch
+++ /dev/null
@@ -1,63 +0,0 @@
1From ad24dcb7c07f1f9d41cb6782ea14c6c1727c4cb0 Mon Sep 17 00:00:00 2001
2From: uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
3Date: Thu, 21 Apr 2011 20:23:55 +0000
4Subject: [PATCH] PR target/48708
5 * config/i386/i386.c (ix86_expand_vector_set) <V2DImode>: Generate
6 vec_extract and vec_concat for non-SSE4_1 targets.
7
8testsuite/ChangeLog:
9
10 PR target/48708
11 * gcc.target/i386/pr48708.c: New test.
12
13
14
15git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@172843 138bc75d-0d04-0410-961f-82ee72b054a4
16
17index a524d77..6e4bb3b 100644
18--- a/gcc/config/i386/i386.c
19+++ b/gcc/config/i386/i386.c
20@@ -31213,10 +31213,19 @@ ix86_expand_vector_set (bool mmx_ok, rtx target, rtx val, int elt)
21 break;
22
23 case V2DImode:
24- use_vec_merge = TARGET_SSE4_1;
25+ use_vec_merge = TARGET_SSE4_1 && TARGET_64BIT;
26 if (use_vec_merge)
27 break;
28
29+ tmp = gen_reg_rtx (GET_MODE_INNER (mode));
30+ ix86_expand_vector_extract (false, tmp, target, 1 - elt);
31+ if (elt == 0)
32+ tmp = gen_rtx_VEC_CONCAT (mode, tmp, val);
33+ else
34+ tmp = gen_rtx_VEC_CONCAT (mode, val, tmp);
35+ emit_insn (gen_rtx_SET (VOIDmode, target, tmp));
36+ return;
37+
38 case V2DFmode:
39 {
40 rtx op0, op1;
41new file mode 100644
42index 0000000..355c2b2
43--- /dev/null
44+++ b/gcc/testsuite/gcc.target/i386/pr48708.c
45@@ -0,0 +1,15 @@
46+/* { dg-do compile } */
47+/* { dg-options "-O2 -msse2" } */
48+
49+#include <emmintrin.h>
50+
51+typedef long long T __attribute__((may_alias));
52+struct S { __m128i d; };
53+
54+__m128i
55+foo (long long *x, struct S *y, __m128i *z)
56+{
57+ struct S s = *y;
58+ ((T *) &s.d)[0] = *x;
59+ return _mm_cmpeq_epi16 (s.d, *z);
60+}
61--
621.7.0.4
63