From 3e2511eb08acc841b6e77430b94ecdbecbf9bbca Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Tue, 16 Jul 2002 03:58:26 +0000 Subject: add 2 operand variants for shld and shrd. this makes possible to compile gnupg with in tree gas. --- gnu/usr.bin/gas/opcode/i386.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/usr.bin') 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}, -- cgit v1.2.3