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
This commit is contained in:
parent
d6e7533422
commit
9cc0d86a15
17
devel/binutils/stable/patches/patch-include_opcode_i386_h
Normal file
17
devel/binutils/stable/patches/patch-include_opcode_i386_h
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-include_opcode_i386_h,v 1.1 2004/02/10 23:26:46 brad Exp $
|
||||
--- include/opcode/i386.h.orig 2004-02-06 03:46:57.000000000 -0500
|
||||
+++ include/opcode/i386.h 2004-02-06 03:47:51.000000000 -0500
|
||||
@@ -908,6 +908,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} },
|
Loading…
x
Reference in New Issue
Block a user