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

Issue 11088006: Validator_ragel: disallow 16-bit form for SSE4 instructions (popcnt, lzcnt, tzcnt) (Closed)

Created:
8 years, 2 months ago by Vlad Shcherbina
Modified:
8 years, 2 months ago
Reviewers:
khim
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Validator_ragel: disallow 16-bit form for SSE4 instructions (popcnt, lzcnt, tzcnt) This is done to mimic prod. validator behavior. Prod. validator does not allow two non-rex prefixes, and these instructions use f3 (REP prefix) as opcode extension, so it can't be combined with data16 prefix. BUG= http://code.google.com/p/nativeclient/issues/detail?id=3076 TEST= validator_x86/testdata/sse4data16.test Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=9951

Patch Set 1 #

Patch Set 2 : fix copypaste artifacts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2935 lines, -2879 lines) Patch
M src/trusted/validator_ragel/gen/validator_x86_32.c View 1 128 chunks +2862 lines, -2875 lines 0 comments Download
M src/trusted/validator_ragel/unreviewed/general_purpose_instructions.def View 1 3 chunks +28 lines, -4 lines 0 comments Download
A src/trusted/validator_x86/testdata/64/sse4data16.test View 1 1 chunk +45 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Vlad Shcherbina
Please take a look.
8 years, 2 months ago (2012-10-08 16:57:46 UTC) #1
khim
8 years, 2 months ago (2012-10-08 17:21:32 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698