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

Issue 2215553002: Subzero: Fix sign issues for inlined memset lowering. (Closed)

Created:
4 years, 4 months ago by Jim Stichnoth
Modified:
4 years, 4 months ago
Reviewers:
Eric Holk, Karl, John
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: Fix sign issues for inlined memset lowering. For certain cases of inlined memset lowering, the 8-bit value wasn't being properly spread/replicated into the 32-bit immediate to be stored. Specifically, if the 8-bit value is between -128 and -1 (i.e. 0x80 to 0xff), the spread value would be something like 0xffffff80 instead of 0x80808080. BUG= b/30502279 R=jpp@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=59ce615334de49a062aa40f34232890458b8770d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -1 line) Patch
M src/IceTargetLoweringX86BaseImpl.h View 1 chunk +2 lines, -1 line 0 comments Download
M tests_lit/llvm2ice_tests/nacl-mem-intrinsics.ll View 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (3 generated)
Jim Stichnoth
4 years, 4 months ago (2016-08-04 01:52:26 UTC) #3
John
lgtm
4 years, 4 months ago (2016-08-04 13:47:50 UTC) #4
Jim Stichnoth
4 years, 4 months ago (2016-08-04 14:03:01 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
59ce615334de49a062aa40f34232890458b8770d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698