|
|
DescriptionAdd Sk4f_RoundToInt
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2134753006
CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot
Committed: https://skia.googlesource.com/skia/+/7d3ff7142360f456be4e21e64c6c014cc919785e
Patch Set 1 : Compile fixes #
Total comments: 4
Patch Set 2 : Response to comments #Patch Set 3 : Fix vector conversion #
Depends on Patchset: Messages
Total messages: 65 (49 generated)
Description was changed from ========== Add Sk4f_RoundToInt and Sk4f_RoundToByte BUG=skia: ========== to ========== Add Sk4f_RoundToInt and Sk4f_RoundToByte BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2134753006 CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot ==========
Patchset #1 (id:1) has been deleted
Patchset #1 (id:20001) has been deleted
The CQ bit was checked by msarett@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
There were warnings when CQ was processing your CL: * CQ_EXTRA_TRYBOTS flag is deprecated and will soon be removed. Use CQ_INCLUDE_TRYBOTS instead.
msarett@google.com changed reviewers: + mtklein@google.com, reed@google.com
https://codereview.chromium.org/2134753006/diff/40001/src/opts/SkNx_neon.h File src/opts/SkNx_neon.h (right): https://codereview.chromium.org/2134753006/diff/40001/src/opts/SkNx_neon.h#ne... src/opts/SkNx_neon.h:454: return vcvtq_f32_s32((x + 0.5f).fVec); Might be an opportunity to write some inline assembly here. It looks like newer Arm versions will check the FPSCR register to determine the rounding mode. So we might be able to set FPSCR and avoid the add. http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0489g/Bcfhcbhb...
There were warnings when CQ was processing your CL: * CQ_EXTRA_TRYBOTS flag is deprecated and will soon be removed. Use CQ_INCLUDE_TRYBOTS instead.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-ShuttleA-GPU-GTX660-x86_64-Release-Trybot on master.client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-ShuttleA-GPU...)
The CQ bit was checked by msarett@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
There were warnings when CQ was processing your CL: * CQ_EXTRA_TRYBOTS flag is deprecated and will soon be removed. Use CQ_INCLUDE_TRYBOTS instead.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on master.client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm...)
Patchset #2 (id:60001) has been deleted
The CQ bit was checked by msarett@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
There were warnings when CQ was processing your CL: * CQ_EXTRA_TRYBOTS flag is deprecated and will soon be removed. Use CQ_INCLUDE_TRYBOTS instead.
Patchset #2 (id:80001) has been deleted
Patchset #1 (id:40001) has been deleted
Patchset #1 (id:100001) has been deleted
The CQ bit was checked by msarett@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
There were warnings when CQ was processing your CL: * CQ_EXTRA_TRYBOTS flag is deprecated and will soon be removed. Use CQ_INCLUDE_TRYBOTS instead.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on master.client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm...)
Patchset #1 (id:120001) has been deleted
The CQ bit was checked by msarett@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
There were warnings when CQ was processing your CL: * CQ_EXTRA_TRYBOTS flag is deprecated and will soon be removed. Use CQ_INCLUDE_TRYBOTS instead.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on master.client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm...)
The CQ bit was checked by msarett@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #1 (id:140001) has been deleted
There were warnings when CQ was processing your CL: * CQ_EXTRA_TRYBOTS flag is deprecated and will soon be removed. Use CQ_INCLUDE_TRYBOTS instead.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
https://codereview.chromium.org/2134753006/diff/160001/src/core/SkNx.h File src/core/SkNx.h (right): https://codereview.chromium.org/2134753006/diff/160001/src/core/SkNx.h#newcod... src/core/SkNx.h:305: return { sk_float_round2int(x[0]), If we can't implement this in terms of things from <math.h> (e.g. lrintf) can you leave a note about why we need to use Skia's homebrew instead? https://codereview.chromium.org/2134753006/diff/160001/src/core/SkNx.h#newcod... src/core/SkNx.h:311: SI uint32_t Sk4f_RoundToByte(const Sk4f& x) { Why don't we simplify this by adding just one new call, Sk4i Sk4f_round(Sk4f); and then make sure SkNx_cast<uint8_t>(Sk4i) is implemented well to handle the rest of the trip down to bytes? SkNx_cast<uint8_t>(Sk4f_round(...)).store(&dst)
Description was changed from ========== Add Sk4f_RoundToInt and Sk4f_RoundToByte BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2134753006 CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot ========== to ========== Add Sk4f_RoundToInt and Sk4f_RoundToByte BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2134753006 CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot ==========
Description was changed from ========== Add Sk4f_RoundToInt and Sk4f_RoundToByte BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2134753006 CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot ========== to ========== Add Sk4f_RoundToInt BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2134753006 CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot ==========
Patchset #2 (id:180001) has been deleted
Will rebase this after reed's CL lands. https://codereview.chromium.org/2134753006/diff/160001/src/core/SkNx.h File src/core/SkNx.h (right): https://codereview.chromium.org/2134753006/diff/160001/src/core/SkNx.h#newcod... src/core/SkNx.h:305: return { sk_float_round2int(x[0]), On 2016/07/11 14:05:03, mtklein wrote: > If we can't implement this in terms of things from <math.h> (e.g. lrintf) can > you leave a note about why we need to use Skia's homebrew instead? lrintf() seems fine to me. https://codereview.chromium.org/2134753006/diff/160001/src/core/SkNx.h#newcod... src/core/SkNx.h:311: SI uint32_t Sk4f_RoundToByte(const Sk4f& x) { On 2016/07/11 14:05:03, mtklein wrote: > Why don't we simplify this by adding just one new call, > > Sk4i Sk4f_round(Sk4f); > > and then make sure SkNx_cast<uint8_t>(Sk4i) is implemented well to handle the > rest of the trip down to bytes? > > SkNx_cast<uint8_t>(Sk4f_round(...)).store(&dst) SGTM
don't wait for me -- I seem to be attracting wacky warnings/bugs.
lgtm
The CQ bit was checked by msarett@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
There were warnings when CQ was processing your CL: * CQ_EXTRA_TRYBOTS flag is deprecated and will soon be removed. Use CQ_INCLUDE_TRYBOTS instead.
The CQ bit was unchecked by commit-bot@chromium.org to run a CQ dry run
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot on master.client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm...) Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on master.client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm...)
The CQ bit was checked by msarett@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
There were warnings when CQ was processing your CL: * CQ_EXTRA_TRYBOTS flag is deprecated and will soon be removed. Use CQ_INCLUDE_TRYBOTS instead.
There were warnings when CQ was processing your CL: * CQ_EXTRA_TRYBOTS flag is deprecated and will soon be removed. Use CQ_INCLUDE_TRYBOTS instead.
The CQ bit was unchecked by commit-bot@chromium.org to run a CQ dry run
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by msarett@google.com
The patchset sent to the CQ was uploaded after l-g-t-m from mtklein@google.com Link to the patchset: https://codereview.chromium.org/2134753006/#ps220001 (title: "Fix vector conversion")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
There were warnings when CQ was processing your CL: * CQ_EXTRA_TRYBOTS flag is deprecated and will soon be removed. Use CQ_INCLUDE_TRYBOTS instead.
Message was sent while issue was closed.
Description was changed from ========== Add Sk4f_RoundToInt BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2134753006 CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot ========== to ========== Add Sk4f_RoundToInt BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2134753006 CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Committed: https://skia.googlesource.com/skia/+/7d3ff7142360f456be4e21e64c6c014cc919785e ==========
Message was sent while issue was closed.
Committed patchset #3 (id:220001) as https://skia.googlesource.com/skia/+/7d3ff7142360f456be4e21e64c6c014cc919785e
Message was sent while issue was closed.
CQ bit was unchecked. |