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

Issue 2424233004: Half float neon port, enable O2 for neon, and denormal test. (Closed)

Created:
4 years, 2 months ago by fbarchard1
Modified:
4 years, 2 months ago
Reviewers:
hubbe
Target Ref:
refs/heads/master
Project:
libyuv
Visibility:
Public.

Description

Half float neon port, enable O2 for neon, and denormal test. HalfFloatPlane unittest for denormal half floats Halffloats have a limited range. It shouldnt normally come up, but if the scale value passed in produces a small value, the half floats will be denormals, which are slow and/or flust to zero. This test ensures they behave the same in C and SIMD and tests the performance of denormals. TEST=TestHalfFloatPlane_denormal BUG=libyuv:560 R=hubbe@chromium.org Committed: https://chromium.googlesource.com/libyuv/libyuv/+/f553db2d30c7c5686a7b41481f6fe96a876c7a6c

Patch Set 1 #

Total comments: 1

Patch Set 2 : NEON halffloat #

Patch Set 3 : add off by 1 test for halffloat #

Patch Set 4 : remove fcvt version of neon disable f16c for intel halffloat test use 1/65535 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -18 lines) Patch
M BUILD.gn View 1 2 chunks +12 lines, -0 lines 0 comments Download
M README.chromium View 1 1 chunk +1 line, -1 line 0 comments Download
M include/libyuv/row.h View 1 2 3 3 chunks +9 lines, -1 line 0 comments Download
M include/libyuv/version.h View 1 1 chunk +1 line, -1 line 0 comments Download
M source/planar_functions.cc View 1 1 chunk +9 lines, -0 lines 0 comments Download
M source/row_any.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M source/row_neon64.cc View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
M unit_test/planar_test.cc View 1 2 3 2 chunks +48 lines, -15 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
fbarchard1
out/Release/libyuv_unittest --gtest_filter=*Half* --libyuv_width=1280 --libyuv_height=720 --libyuv_repeat=999 --libyuv_flags=-1 --libyuv_cpu_info=-1 In Z620 with IvyBridge [ RUN ] LibYUVPlanarTest.TestHalfFloatPlane ...
4 years, 2 months ago (2016-10-18 22:05:31 UTC) #3
hubbe
lgtm https://codereview.chromium.org/2424233004/diff/1/unit_test/planar_test.cc File unit_test/planar_test.cc (right): https://codereview.chromium.org/2424233004/diff/1/unit_test/planar_test.cc#newcode2126 unit_test/planar_test.cc:2126: // happen sicne scale is 1/(1<<bits) where bits ...
4 years, 2 months ago (2016-10-18 22:40:43 UTC) #4
fbarchard1
ptal - did Neon 64 bit version.
4 years, 2 months ago (2016-10-19 02:03:31 UTC) #5
hubbe
LGTM (not qualified to properly review the neon code though) Please update the CL description.
4 years, 2 months ago (2016-10-19 21:16:52 UTC) #6
fbarchard1
4 years, 2 months ago (2016-10-20 01:13:04 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
f553db2d30c7c5686a7b41481f6fe96a876c7a6c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698