Compare commits

..

No commits in common. "86b09b24506650f226e5f270275a01f8e7498f62" and "7fd0bd197ee458a1c81be975b15308728a523331" have entirely different histories.

3 changed files with 4 additions and 5 deletions

View File

@ -23,9 +23,6 @@ extern "C" {
#if !defined(LIBYUV_DISABLE_SME) && defined(CLANG_HAS_SME) && \
defined(__aarch64__)
#define STREAMING_COMPATIBLE __arm_streaming_compatible
#else // defined(LIBYUV_DISABLE_SME) || !defined(CLANG_HAS_SME) ||
// !defined(__aarch64__)
#define STREAMING_COMPATIBLE
#endif // !defined(LIBYUV_DISABLE_SME) && defined(CLANG_HAS_SME) &&
// defined(__aarch64__)

View File

@ -805,6 +805,8 @@ __arm_locally_streaming static void HalfRow_16_SME(uint16_t* dst_ptr,
const uint16_t* src_ptr,
ptrdiff_t src_stride,
int width) {
int y1_fraction = 128;
int y0_fraction = 256 - y1_fraction;
const uint16_t* src_ptr1 = src_ptr + src_stride;
int vl;
@ -931,6 +933,8 @@ __arm_locally_streaming static void HalfRow_16To8_SME(uint8_t* dst_ptr,
ptrdiff_t src_stride,
int scale,
int width) {
int y1_fraction = 128;
int y0_fraction = 256 - y1_fraction;
const uint16_t* src_ptr1 = src_ptr + src_stride;
// 15 - clz(scale), + 8 to shift result into the high half of the lane to

View File

@ -2523,8 +2523,6 @@ static int TestHalfFloatPlane(int benchmark_width,
}
free_aligned_buffer_page_end(orig_y);
free_aligned_buffer_page_end(dst_c);
free_aligned_buffer_page_end(dst_opt);
return max_diff;
}