summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-07-16 03:58:26 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-07-16 03:58:26 +0000
commit3e2511eb08acc841b6e77430b94ecdbecbf9bbca (patch)
tree33922057db4f99f67c231870d790a420ad3fb423
parent041c1efd8f0ef31fc9b769ddd9b34fffbb7e88ca (diff)
add 2 operand variants for shld and shrd. this makes possible to compile
gnupg with in tree gas.
-rw-r--r--gnu/usr.bin/gas/opcode/i386.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/gas/opcode/i386.h b/gnu/usr.bin/gas/opcode/i386.h
index 5599eb36faf..c6a2240c25f 100644
--- a/gnu/usr.bin/gas/opcode/i386.h
+++ b/gnu/usr.bin/gas/opcode/i386.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: i386.h,v 1.7 2002/07/12 21:54:20 fgsch Exp $ */
+/* $OpenBSD: i386.h,v 1.8 2002/07/16 03:58:25 fgsch Exp $ */
/* i386-opcode.h -- Intel 80386 opcode table
Copyright (C) 1989, 1991, Free Software Foundation.
@@ -245,6 +245,7 @@ static const template i386_optab[] = {
{"shld", 3, 0x0fa4, _, Modrm, Imm8, WordReg, WordReg|Mem},
{"shld", 3, 0x0fa5, _, Modrm, ShiftCount, WordReg, WordReg|Mem},
+{"shld", 2, 0x0fa5, _, Modrm, WordReg, WordReg|Mem, 0},
{"shr", 2, 0xd0, 5, W|Modrm, Imm1, Reg|Mem, 0},
{"shr", 2, 0xc0, 5, W|Modrm, Imm8, Reg|Mem, 0},
@@ -253,6 +254,7 @@ static const template i386_optab[] = {
{"shrd", 3, 0x0fac, _, Modrm, Imm8, WordReg, WordReg|Mem},
{"shrd", 3, 0x0fad, _, Modrm, ShiftCount, WordReg, WordReg|Mem},
+{"shrd", 2, 0x0fad, _, Modrm, WordReg, WordReg|Mem, 0},
{"sar", 2, 0xd0, 7, W|Modrm, Imm1, Reg|Mem, 0},
{"sar", 2, 0xc0, 7, W|Modrm, Imm8, Reg|Mem, 0},