diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-06-17 17:11:43 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-23 11:50:07 +0100 |
commit | 0faa5f72999fea82fadda8bab70abea2303216c7 (patch) | |
tree | 05a8c18d2f67d883f94d2bd6f060ab0f4ac7f156 /meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0164-PR-target-48708.patch | |
parent | c2007ba4cdb64fa9e308d3dae395c03ef4cc9161 (diff) | |
download | poky-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.patch | 63 |
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 @@ | |||
1 | From ad24dcb7c07f1f9d41cb6782ea14c6c1727c4cb0 Mon Sep 17 00:00:00 2001 | ||
2 | From: uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | ||
3 | Date: Thu, 21 Apr 2011 20:23:55 +0000 | ||
4 | Subject: [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 | |||
8 | testsuite/ChangeLog: | ||
9 | |||
10 | PR target/48708 | ||
11 | * gcc.target/i386/pr48708.c: New test. | ||
12 | |||
13 | |||
14 | |||
15 | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@172843 138bc75d-0d04-0410-961f-82ee72b054a4 | ||
16 | |||
17 | index 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; | ||
41 | new file mode 100644 | ||
42 | index 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 | -- | ||
62 | 1.7.0.4 | ||
63 | |||