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

Issue 1535443005: [MIPS] Make validator allow only two load patterns via $t8 (Closed)

Created:
5 years ago by petarj
Modified:
4 years, 11 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/src/native_client@master
Target Ref:
refs/heads/master
Project:
nacl
Visibility:
Public.

Description

[MIPS] Make validator allow only two load patterns via $t8 Validator now allows (only) two load word patterns via $t8, with zero and one word displacement, i.e. lw reg, 0($t8) lw reg, 4($t8) This is related to the change how we access TLS pointers for both user code and IRT. For more, see #4345. Moving the value of $t8 to another register is allowed, though this will be changed shortly with the new validator. Also, fixed minor presubmit failures in the files this change touches. BUG= https://bugs.chromium.org/p/nativeclient/issues/detail?id=4345 Committed: https://chromium.googlesource.com/native_client/src/native_client/+/26c7e6ae1327a43c948f4666fef9e84fe351ab7c

Patch Set 1 #

Total comments: 7

Patch Set 2 : Update per code review. #

Total comments: 2

Patch Set 3 : Minor update. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -18 lines) Patch
M src/trusted/validator_mips/build.scons View 1 chunk +1 line, -0 lines 0 comments Download
M src/trusted/validator_mips/gen/decode.cc View 5 chunks +6 lines, -4 lines 0 comments Download
M src/trusted/validator_mips/inst_classes.h View 1 5 chunks +28 lines, -7 lines 0 comments Download
M src/trusted/validator_mips/mips-opt.table View 1 chunk +3 lines, -3 lines 0 comments Download
M src/trusted/validator_mips/mips32.table View 1 chunk +1 line, -1 line 0 comments Download
M src/trusted/validator_mips/model.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
A src/trusted/validator_mips/testdata/test_tp_access.S View 1 1 chunk +72 lines, -0 lines 0 comments Download
A src/trusted/validator_mips/testdata/test_tp_access.err View 1 chunk +31 lines, -0 lines 0 comments Download
M src/trusted/validator_mips/validation-report.py View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/trusted/validator_mips/validator.h View 2 chunks +11 lines, -0 lines 0 comments Download
M src/trusted/validator_mips/validator.cc View 2 chunks +29 lines, -1 line 0 comments Download

Messages

Total messages: 25 (12 generated)
petarj
PTAL.
5 years ago (2015-12-17 19:39:38 UTC) #3
petarj
ping.
4 years, 12 months ago (2015-12-24 13:52:11 UTC) #6
Mark Seaborn
How is moving the value of $t8 to another register treated now? I'm not sure ...
4 years, 12 months ago (2015-12-27 03:46:35 UTC) #7
Deznutz
lgtm
4 years, 12 months ago (2015-12-27 16:44:38 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1535443005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1535443005/1
4 years, 12 months ago (2015-12-27 16:44:50 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: nacl-presubmit on tryserver.nacl (JOB_FAILED, http://build.chromium.org/p/tryserver.nacl/builders/nacl-presubmit/builds/505)
4 years, 12 months ago (2015-12-27 16:46:46 UTC) #13
petarj
> How is moving the value of $t8 to another register treated now? It is ...
4 years, 12 months ago (2015-12-28 14:07:00 UTC) #15
Mark Seaborn
On 2015/12/28 14:07:00, petarj wrote: > > How is moving the value of $t8 to ...
4 years, 11 months ago (2015-12-30 02:12:41 UTC) #16
petarj
On 2015/12/30 02:12:41, Mark Seaborn wrote: >>> How is moving the value of $t8 to ...
4 years, 11 months ago (2015-12-30 17:04:58 UTC) #18
petarj
ping.
4 years, 11 months ago (2016-01-11 14:41:02 UTC) #19
Mark Seaborn
LGTM
4 years, 11 months ago (2016-01-11 17:17:23 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1535443005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1535443005/40001
4 years, 11 months ago (2016-01-11 18:07:53 UTC) #23
commit-bot: I haz the power
4 years, 11 months ago (2016-01-11 18:58:01 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/native_client/src/native_client/+/26c7e6ae1...

Powered by Google App Engine
This is Rietveld 408576698