Fix disassembly of sar(_, imm8)

R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/442003002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22902 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 8f1f7fbb
...@@ -606,7 +606,7 @@ int DisassemblerIA32::D1D3C1Instruction(byte* data) { ...@@ -606,7 +606,7 @@ int DisassemblerIA32::D1D3C1Instruction(byte* data) {
if (op == 0xD1) { if (op == 0xD1) {
imm8 = 1; imm8 = 1;
} else if (op == 0xC1) { } else if (op == 0xC1) {
imm8 = *(data + 2); imm8 = *(data + 1);
count++; count++;
} else if (op == 0xD3) { } else if (op == 0xD3) {
// Shift/rotate by cl. // Shift/rotate by cl.
......
...@@ -606,7 +606,7 @@ int DisassemblerX87::D1D3C1Instruction(byte* data) { ...@@ -606,7 +606,7 @@ int DisassemblerX87::D1D3C1Instruction(byte* data) {
if (op == 0xD1) { if (op == 0xD1) {
imm8 = 1; imm8 = 1;
} else if (op == 0xC1) { } else if (op == 0xC1) {
imm8 = *(data + 2); imm8 = *(data + 1);
count++; count++;
} else if (op == 0xD3) { } else if (op == 0xD3) {
// Shift/rotate by cl. // Shift/rotate by cl.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment