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

Issue 2340733003: Subzero, MIPS32: Randomly insert NOP (Closed)

Created:
4 years, 3 months ago by obucinac
Modified:
4 years, 3 months ago
CC:
native-client-reviews_googlegroups.com, rich.fuhler_imgtec.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Subzero, MIPS32: Randomly insert NOP Patch implements randomlyInsertNop for MIPS32. Separate test case added because current test is based on function with vector operands, which MIPS32 does not support yet. run-pnacl-sz.py updated, to pass -z argument to objdump, so it does not hide multiple nops (shows ... instead) between instruction. R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=8fbddc6b522683a2d238edee6c07b05e3c718983

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressing review comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -3 lines) Patch
M pydir/run-pnacl-sz.py View 1 1 chunk +3 lines, -2 lines 0 comments Download
M src/IceTargetLoweringMIPS32.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/IceTargetLoweringMIPS32.cpp View 1 chunk +1 line, -1 line 0 comments Download
A tests_lit/llvm2ice_tests/nop-insertion-no-vectors.ll View 1 chunk +206 lines, -0 lines 1 comment Download

Messages

Total messages: 9 (3 generated)
obucinac
One comment here... By MIPS instruction reference, available from the link below, page 293, NOP ...
4 years, 3 months ago (2016-09-14 16:06:16 UTC) #3
Jim Stichnoth
Note: I would personally put low priority on implementing these various code diversity/randomization techniques, because ...
4 years, 3 months ago (2016-09-15 05:24:20 UTC) #4
obucinac
https://codereview.chromium.org/2340733003/diff/1/pydir/run-pnacl-sz.py File pydir/run-pnacl-sz.py (right): https://codereview.chromium.org/2340733003/diff/1/pydir/run-pnacl-sz.py#newcode205 pydir/run-pnacl-sz.py:205: # Show wide instruction encodings, diassemble, and show relocs. ...
4 years, 3 months ago (2016-09-15 10:44:56 UTC) #5
obucinac
On 2016/09/15 05:24:20, stichnot wrote: > Note: I would personally put low priority on implementing ...
4 years, 3 months ago (2016-09-15 10:46:57 UTC) #6
Jim Stichnoth
lgtm https://codereview.chromium.org/2340733003/diff/20001/tests_lit/llvm2ice_tests/nop-insertion-no-vectors.ll File tests_lit/llvm2ice_tests/nop-insertion-no-vectors.ll (right): https://codereview.chromium.org/2340733003/diff/20001/tests_lit/llvm2ice_tests/nop-insertion-no-vectors.ll#newcode1 tests_lit/llvm2ice_tests/nop-insertion-no-vectors.ll:1: ; RUN: %p2i -i %s --filetype=asm --assemble --disassemble ...
4 years, 3 months ago (2016-09-16 00:26:30 UTC) #7
Jim Stichnoth
4 years, 3 months ago (2016-09-16 00:26:44 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
8fbddc6b522683a2d238edee6c07b05e3c718983 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698