| OLD | NEW | 
|   1 /* |   1 /* | 
|   2  * Copyright 2014 The Android Open Source Project |   2  * Copyright 2014 The Android Open Source Project | 
|   3  * |   3  * | 
|   4  * Use of this source code is governed by a BSD-style license that can be |   4  * Use of this source code is governed by a BSD-style license that can be | 
|   5  * found in the LICENSE file. |   5  * found in the LICENSE file. | 
|   6  */ |   6  */ | 
|   7  |   7  | 
|   8 #ifndef SkBlitRow_opts_SSE4_DEFINED |   8 #ifndef SkBlitRow_opts_SSE4_DEFINED | 
|   9 #define SkBlitRow_opts_SSE4_DEFINED |   9 #define SkBlitRow_opts_SSE4_DEFINED | 
|  10  |  10  | 
|  11 #include "SkBlitRow.h" |  11 #include "SkBlitRow.h" | 
|  12  |  12  | 
|  13 /* Check if we are able to build assembly code, GCC/AT&T syntax. |  13 /* Check if we are able to build assembly code, GCC/AT&T syntax. | 
|  14  * Had problems with LLVM-GCC 4.2. |  14  * Had problems with LLVM-GCC 4.2. | 
|  15  */ |  15  */ | 
|  16 #if defined(__clang__) || (defined(__GNUC__) && !defined(SK_BUILD_FOR_MAC)) |  16 #if defined(__clang__) || (defined(__GNUC__) && !defined(SK_BUILD_FOR_MAC)) | 
|  17 extern "C" void S32A_Opaque_BlitRow32_SSE4_asm(SkPMColor* SK_RESTRICT dst, |  17 extern "C" void S32A_Opaque_BlitRow32_SSE4_asm(SkPMColor* SK_RESTRICT dst, | 
|  18                                                const SkPMColor* SK_RESTRICT src, |  18                                                const SkPMColor* SK_RESTRICT src, | 
|  19                                                int count, U8CPU alpha); |  19                                                int count, U8CPU alpha); | 
|  20  |  20  | 
|  21 // Temporarily disabled.  Chrome canary bot fails to link chrome with error: |  21 #define SK_ATT_ASM_SUPPORTED | 
|  22 //   lib/libskia.so: error: undefined reference to 'S32A_Opaque_BlitRow32_SSE4_a
    sm' |  | 
|  23 //#define SK_ATT_ASM_SUPPORTED |  | 
|  24 #endif |  22 #endif | 
|  25  |  23  | 
|  26 #endif |  24 #endif | 
|  27  |  25  | 
| OLD | NEW |