Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: ports/pixman/nacl.patch

Issue 1217813009: Re-enable lastest SDK testing on naclports. (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: fix Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ports/ninja/pkg_info ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 diff --git a/pixman/pixman-mmx.c b/pixman/pixman-mmx.c
2 --- a/pixman/pixman-mmx.c
3 +++ b/pixman/pixman-mmx.c
4 @@ -97,7 +97,7 @@ _mm_shuffle_pi16 (__m64 __A, int8_t const __N)
5
6 asm ("pshufw %2, %1, %0\n\t"
7 : "=y" (ret)
8 - : "y" (__A), "K" (__N)
9 + : "y" (__A), "X" (__N)
10 );
11
12 return ret;
1 diff --git a/pixman/pixman-x86.c b/pixman/pixman-x86.c 13 diff --git a/pixman/pixman-x86.c b/pixman/pixman-x86.c
2 --- a/pixman/pixman-x86.c 14 --- a/pixman/pixman-x86.c
3 +++ b/pixman/pixman-x86.c 15 +++ b/pixman/pixman-x86.c
4 @@ -80,7 +80,7 @@ detect_cpu_features (void) 16 @@ -80,7 +80,7 @@ detect_cpu_features (void)
5 static pixman_bool_t 17 static pixman_bool_t
6 have_cpuid (void) 18 have_cpuid (void)
7 { 19 {
8 -#if _PIXMAN_X86_64 || defined (_MSC_VER) 20 -#if _PIXMAN_X86_64 || defined (_MSC_VER)
9 +#if _PIXMAN_X86_64 || defined (_MSC_VER) || defined (__native_client__) 21 +#if _PIXMAN_X86_64 || defined (_MSC_VER) || defined (__native_client__)
10 22
11 return TRUE; 23 return TRUE;
12 24
OLDNEW
« no previous file with comments | « ports/ninja/pkg_info ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698