OLD | NEW |
1 // VERSION 2 | 1 // VERSION 2 |
2 /* | 2 /* |
3 * Copyright 2011 The LibYuv Project Authors. All rights reserved. | 3 * Copyright 2011 The LibYuv Project Authors. All rights reserved. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license | 5 * Use of this source code is governed by a BSD-style license |
6 * that can be found in the LICENSE file in the root of the source | 6 * that can be found in the LICENSE file in the root of the source |
7 * tree. An additional intellectual property rights grant can be found | 7 * tree. An additional intellectual property rights grant can be found |
8 * in the file PATENTS. All contributing project authors may | 8 * in the file PATENTS. All contributing project authors may |
9 * be found in the AUTHORS file in the root of the source tree. | 9 * be found in the AUTHORS file in the root of the source tree. |
10 */ | 10 */ |
(...skipping 4862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4873 asm volatile ( | 4873 asm volatile ( |
4874 "shr %3 \n" | 4874 "shr %3 \n" |
4875 "cmp $0x0,%3 \n" | 4875 "cmp $0x0,%3 \n" |
4876 "je 100f \n" | 4876 "je 100f \n" |
4877 "sub %1,%0 \n" | 4877 "sub %1,%0 \n" |
4878 "cmp $0x40,%3 \n" | 4878 "cmp $0x40,%3 \n" |
4879 "je 50f \n" | 4879 "je 50f \n" |
4880 | 4880 |
4881 "vmovd %3,%%xmm0 \n" | 4881 "vmovd %3,%%xmm0 \n" |
4882 "neg %3 \n" | 4882 "neg %3 \n" |
4883 "add $0x80,%3 \n" | 4883 "add $0x100,%3 \n" |
4884 "vmovd %3,%%xmm5 \n" | 4884 "vmovd %3,%%xmm5 \n" |
4885 "vpunpcklbw %%xmm0,%%xmm5,%%xmm5 \n" | 4885 "vpunpcklbw %%xmm0,%%xmm5,%%xmm5 \n" |
4886 "vpunpcklwd %%xmm5,%%xmm5,%%xmm5 \n" | 4886 "vpunpcklwd %%xmm5,%%xmm5,%%xmm5 \n" |
4887 "vbroadcastss %%xmm5,%%ymm5 \n" | 4887 "vbroadcastss %%xmm5,%%ymm5 \n" |
4888 "mov $0x80808080,%%eax \n" | 4888 "mov $0x80808080,%%eax \n" |
4889 "vmovd %%eax,%%xmm4 \n" | 4889 "vmovd %%eax,%%xmm4 \n" |
4890 "vbroadcastss %%xmm4,%%ymm4 \n" | 4890 "vbroadcastss %%xmm4,%%ymm4 \n" |
4891 | 4891 |
4892 // General purpose row blend. | 4892 // General purpose row blend. |
4893 LABELALIGN | 4893 LABELALIGN |
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5444 ); | 5444 ); |
5445 } | 5445 } |
5446 #endif // HAS_ARGBLUMACOLORTABLEROW_SSSE3 | 5446 #endif // HAS_ARGBLUMACOLORTABLEROW_SSSE3 |
5447 | 5447 |
5448 #endif // defined(__x86_64__) || defined(__i386__) | 5448 #endif // defined(__x86_64__) || defined(__i386__) |
5449 | 5449 |
5450 #ifdef __cplusplus | 5450 #ifdef __cplusplus |
5451 } // extern "C" | 5451 } // extern "C" |
5452 } // namespace libyuv | 5452 } // namespace libyuv |
5453 #endif | 5453 #endif |
OLD | NEW |