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

Issue 1642253003: Auto-sandboxing: add support for a few missing ARM opcodes (Closed)

Created:
4 years, 10 months ago by Derek Schuff
Modified:
4 years, 10 months ago
Reviewers:
Petr Hosek, JF
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Auto-sandboxing: add support for a few missing ARM opcodes This includes dmb, which counts as a memory operation but the instruction has no memory operands, and v{ld,st}mia flavors, which were just left out of the switch table. R=phosek@chromium.org, jfb@chromium.org BUG=none Committed: https://chromium.googlesource.com/native_client/pnacl-llvm/+/a7e65db52f80831dd4b5cdfa5e7d9b060f8d632d

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -0 lines) Patch
M lib/Target/ARM/MCTargetDesc/ARMMCNaClExpander.cpp View 3 chunks +7 lines, -0 lines 0 comments Download
M test/MC/ARM/nacl-autosandbox/load.s View 1 chunk +5 lines, -0 lines 0 comments Download
A test/MC/ARM/nacl-autosandbox/vector.s View 1 chunk +63 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
Derek Schuff
4 years, 10 months ago (2016-01-29 00:40:14 UTC) #1
Derek Schuff
I forgot that try-git-change no longer works. Guess youll just have to take my word ...
4 years, 10 months ago (2016-01-29 00:43:58 UTC) #2
Petr Hosek
lgtm, this seems to be working; I hit more bugs in ARM auto-sandboxing but those ...
4 years, 10 months ago (2016-01-29 02:35:07 UTC) #3
JF
I would rewrite dmb sy to dmb ish. Otherwise looks good. -- You received this ...
4 years, 10 months ago (2016-01-29 10:49:51 UTC) #4
Derek Schuff
On 2016/01/29 10:49:51, JF wrote: > I would rewrite dmb sy to dmb ish. Otherwise ...
4 years, 10 months ago (2016-01-29 16:45:02 UTC) #5
Derek Schuff
Committed patchset #2 (id:20001) manually as a7e65db52f80831dd4b5cdfa5e7d9b060f8d632d (presubmit successful).
4 years, 10 months ago (2016-01-29 16:51:39 UTC) #7
Derek Schuff
On 2016/01/29 16:45:02, Derek Schuff wrote: > On 2016/01/29 10:49:51, JF wrote: > > I ...
4 years, 10 months ago (2016-01-29 16:54:57 UTC) #8
JF
4 years, 10 months ago (2016-01-29 18:28:37 UTC) #9
Message was sent while issue was closed.
It's just not useful in NaCl. We allowed it because compilers emit it, but
using sy instead of ish doesn't synchronize anything more that the NaCl
sandbox can interact with so it's slow for no reason.

Agreed this can be a separate patch :-)

-- 
You received this message because you are subscribed to the Google Groups
"Native-Client-Reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to native-client-reviews+unsubscribe@googlegroups.com.
To post to this group, send email to native-client-reviews@googlegroups.com.
Visit this group at https://groups.google.com/group/native-client-reviews.
For more options, visit https://groups.google.com/d/optout.

Powered by Google App Engine
This is Rietveld 408576698