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

Issue 413053002: Lower the fcmp instruction for <4 x float> operands. (Closed)

Created:
6 years, 5 months ago by wala
Modified:
6 years, 5 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Visibility:
Public.

Description

Lower the fcmp instruction for <4 x float> operands. Most fcmp conditions map directly to single x86 instructions. For these, the lowering is table driven. BUG=none R=jvoung@chromium.org, stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=ce0ca8f

Patch Set 1 #

Patch Set 2 : Add crosstest. #

Patch Set 3 : Replace uses of std::endl with newlines. #

Total comments: 2

Patch Set 4 : Merge fcmp logic into a single table #

Patch Set 5 : Grammar #

Total comments: 4

Patch Set 6 : Improve table formatting and X macro parameter names #

Unified diffs Side-by-side diffs Delta from patch set Stats (+638 lines, -70 lines) Patch
M crosstest/test_fcmp.pnacl.ll View 1 2 chunks +150 lines, -2 lines 0 comments Download
M crosstest/test_fcmp_main.cpp View 1 2 5 chunks +87 lines, -12 lines 0 comments Download
M src/IceInstX8632.h View 1 2 3 2 chunks +30 lines, -0 lines 0 comments Download
M src/IceInstX8632.cpp View 1 2 3 3 chunks +41 lines, -0 lines 0 comments Download
M src/IceInstX8632.def View 1 chunk +12 lines, -0 lines 0 comments Download
M src/IceTargetLoweringX8632.h View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M src/IceTargetLoweringX8632.cpp View 1 2 3 4 5 7 chunks +114 lines, -37 lines 0 comments Download
M src/IceTargetLoweringX8632.def View 1 2 3 4 5 1 chunk +20 lines, -19 lines 0 comments Download
A tests_lit/llvm2ice_tests/vector-fcmp.ll View 1 chunk +178 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
wala
6 years, 5 months ago (2014-07-23 22:40:07 UTC) #1
Jim Stichnoth
https://codereview.chromium.org/413053002/diff/40001/src/IceTargetLoweringX8632.def File src/IceTargetLoweringX8632.def (right): https://codereview.chromium.org/413053002/diff/40001/src/IceTargetLoweringX8632.def#newcode38 src/IceTargetLoweringX8632.def:38: #define VECTOR_FCMPX8632_TABLE \ Can you just add swap and ...
6 years, 5 months ago (2014-07-24 16:16:20 UTC) #2
wala
https://codereview.chromium.org/413053002/diff/40001/src/IceTargetLoweringX8632.def File src/IceTargetLoweringX8632.def (right): https://codereview.chromium.org/413053002/diff/40001/src/IceTargetLoweringX8632.def#newcode38 src/IceTargetLoweringX8632.def:38: #define VECTOR_FCMPX8632_TABLE \ On 2014/07/24 16:16:19, stichnot wrote: > ...
6 years, 5 months ago (2014-07-24 17:13:24 UTC) #3
Jim Stichnoth
LGTM with bikeshedding. https://codereview.chromium.org/413053002/diff/80001/src/IceTargetLoweringX8632.def File src/IceTargetLoweringX8632.def (right): https://codereview.chromium.org/413053002/diff/80001/src/IceTargetLoweringX8632.def#newcode19 src/IceTargetLoweringX8632.def:19: /* scalar comparison vector comparison */ ...
6 years, 5 months ago (2014-07-24 17:29:36 UTC) #4
jvoung (off chromium)
lgtm
6 years, 5 months ago (2014-07-24 18:39:24 UTC) #5
wala
https://codereview.chromium.org/413053002/diff/80001/src/IceTargetLoweringX8632.def File src/IceTargetLoweringX8632.def (right): https://codereview.chromium.org/413053002/diff/80001/src/IceTargetLoweringX8632.def#newcode19 src/IceTargetLoweringX8632.def:19: /* scalar comparison vector comparison */ \ On 2014/07/24 ...
6 years, 5 months ago (2014-07-24 19:33:34 UTC) #6
wala
6 years, 5 months ago (2014-07-24 19:34:24 UTC) #7
Message was sent while issue was closed.
Committed patchset #6 manually as rce0ca8f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698