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

Issue 961413002: Subzero: Clean up the runtime implementation. (Closed)

Created:
5 years, 9 months ago by Jim Stichnoth
Modified:
5 years, 9 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Subzero: Clean up the runtime implementation. The runtime helpers are given more consistent names: __Sz_<bitcode>_<type1>_<type2> Missing helpers (various vector bitcasts) are implemented. We'd prefer to avoid calling external library functions, e.g. in compiler-rt, but even llc uses these helpers for some bitcode on x86-32, so the alternative is to copy their implementation into Subzero's runtime. BUG= none R=mtrofin@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=c45087913705fe19eca05c321c240fed6058343f

Patch Set 1 #

Total comments: 8

Patch Set 2 : Move the helper function names into a central place #

Total comments: 2

Patch Set 3 : Change static helper strings to be char* instead of IceString #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -87 lines) Patch
M pydir/build-runtime.py View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/szrt.c View 2 chunks +36 lines, -24 lines 0 comments Download
M runtime/szrt_ll.ll View 1 chunk +26 lines, -2 lines 0 comments Download
M src/IceTargetLowering.h View 1 2 1 chunk +34 lines, -0 lines 0 comments Download
M src/IceTargetLoweringX8632.cpp View 1 17 chunks +47 lines, -40 lines 0 comments Download
M tests_lit/llvm2ice_tests/fp.pnacl.ll View 13 chunks +13 lines, -13 lines 0 comments Download
M tests_lit/llvm2ice_tests/vector-bitcast.ll View 4 chunks +6 lines, -6 lines 0 comments Download
M tests_lit/llvm2ice_tests/vector-cast.ll View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
Jim Stichnoth
5 years, 9 months ago (2015-02-27 22:39:44 UTC) #2
Mircea Trofin
https://codereview.chromium.org/961413002/diff/1/runtime/szrt.c File runtime/szrt.c (right): https://codereview.chromium.org/961413002/diff/1/runtime/szrt.c#newcode29 runtime/szrt.c:29: uint32_t __Sz_fptoui_f32_i32(float Value) { What is the motivation for ...
5 years, 9 months ago (2015-02-28 00:45:35 UTC) #3
Jim Stichnoth
https://codereview.chromium.org/961413002/diff/1/runtime/szrt.c File runtime/szrt.c (right): https://codereview.chromium.org/961413002/diff/1/runtime/szrt.c#newcode29 runtime/szrt.c:29: uint32_t __Sz_fptoui_f32_i32(float Value) { On 2015/02/28 00:45:35, Mircea Trofin ...
5 years, 9 months ago (2015-02-28 02:35:44 UTC) #4
Mircea Trofin
lgtm https://codereview.chromium.org/961413002/diff/1/runtime/szrt.c File runtime/szrt.c (right): https://codereview.chromium.org/961413002/diff/1/runtime/szrt.c#newcode29 runtime/szrt.c:29: uint32_t __Sz_fptoui_f32_i32(float Value) { On 2015/02/28 02:35:44, stichnot ...
5 years, 9 months ago (2015-02-28 03:28:57 UTC) #5
Mircea Trofin
lgtm
5 years, 9 months ago (2015-02-28 03:28:58 UTC) #6
Jim Stichnoth
PTAL https://codereview.chromium.org/961413002/diff/1/runtime/szrt.c File runtime/szrt.c (right): https://codereview.chromium.org/961413002/diff/1/runtime/szrt.c#newcode29 runtime/szrt.c:29: uint32_t __Sz_fptoui_f32_i32(float Value) { On 2015/02/28 03:28:56, Mircea ...
5 years, 9 months ago (2015-02-28 04:44:29 UTC) #7
Mircea Trofin
On 2015/02/28 04:44:29, stichnot wrote: > PTAL > > https://codereview.chromium.org/961413002/diff/1/runtime/szrt.c > File runtime/szrt.c (right): > ...
5 years, 9 months ago (2015-02-28 06:50:20 UTC) #8
Jim Stichnoth
5 years, 9 months ago (2015-03-02 07:13:00 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
c45087913705fe19eca05c321c240fed6058343f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698