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

Issue 11961013: Fix bug in the x64 assembler's movw instruction. (Closed)

Created:
7 years, 11 months ago by Florian Schneider
Modified:
7 years, 11 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Fix bug in the x64 assembler's movw instruction. The order of prefixes was wrong. The operand size prefix (0x66) must occur before the REX prefix. From the instruction set reference: [...]the REX prefix byte must immediately precede the opcode byte or the escape opcode byte (0FH). [...] Also, make movw(reg, addr) unavailable, consistent with ia32. TEST=runtime/vm/assembler_x64_test.cc Committed: https://code.google.com/p/dart/source/detail?r=17135

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -6 lines) Patch
M runtime/vm/assembler_x64.cc View 1 chunk +2 lines, -6 lines 0 comments Download
M runtime/vm/assembler_x64_test.cc View 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Florian Schneider
7 years, 11 months ago (2013-01-16 12:08:10 UTC) #1
Vyacheslav Egorov (Google)
7 years, 11 months ago (2013-01-16 12:09:18 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698