diff options
author | 2004-02-01 18:00:04 +0000 | |
---|---|---|
committer | 2004-02-01 18:00:04 +0000 | |
commit | 03da0ce42caff97378772b5a9fa40796b6b755c3 (patch) | |
tree | a4fda71150ac81fedf618eb70cc7c795ec5ed7f3 | |
parent | Permit '-' in a mnemonic. This is needed for the new VIA C3 xmove-rng (diff) | |
download | wireguard-openbsd-03da0ce42caff97378772b5a9fa40796b6b755c3.tar.xz wireguard-openbsd-03da0ce42caff97378772b5a9fa40796b6b755c3.zip |
Add support for xmove-rng and xcrypt-{ecb,cbc,cfb,ofb} instructions found
in VIA C3 cpus. Very simple encoding: 0f a7 {c0, c8, d0, e0, d8}. This
change is placed into the public domain, so someone get it back to FSF
-rw-r--r-- | gnu/usr.bin/binutils/include/opcode/i386.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/include/opcode/i386.h b/gnu/usr.bin/binutils/include/opcode/i386.h index 38de44aca0a..071f7159c4a 100644 --- a/gnu/usr.bin/binutils/include/opcode/i386.h +++ b/gnu/usr.bin/binutils/include/opcode/i386.h @@ -895,6 +895,13 @@ static const template i386_optab[] = { /* 2nd. official undefined instr. */ {"ud2b", 0, 0x0fb9, X, Cpu686, NoSuf, { 0, 0, 0} }, +/* VIA C3 extensions */ +{"xstore-rng",0, 0x0fa7, 0xc0, Cpu686, ImmExt|NoSuf|IsString, { 0, 0, 0} }, +{"xcrypt-ecb",0, 0x0fa7, 0xc8, Cpu686, ImmExt|NoSuf|IsString, { 0, 0, 0} }, +{"xcrypt-cbc",0, 0x0fa7, 0xd0, Cpu686, ImmExt|NoSuf|IsString, { 0, 0, 0} }, +{"xcrypt-cfb",0, 0x0fa7, 0xe0, Cpu686, ImmExt|NoSuf|IsString, { 0, 0, 0} }, +{"xcrypt-ofb",0, 0x0fa7, 0xe8, Cpu686, ImmExt|NoSuf|IsString, { 0, 0, 0} }, + {"cmovo", 2, 0x0f40, X, Cpu686, wlq_Suf|Modrm, { WordReg|WordMem, WordReg, 0} }, {"cmovno", 2, 0x0f41, X, Cpu686, wlq_Suf|Modrm, { WordReg|WordMem, WordReg, 0} }, {"cmovb", 2, 0x0f42, X, Cpu686, wlq_Suf|Modrm, { WordReg|WordMem, WordReg, 0} }, |