projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86/Intel: adjust representation of embedded rounding / SAE
[binutils-gdb.git]
/
opcodes
/
i386-opc.c
diff --git
a/opcodes/i386-opc.c
b/opcodes/i386-opc.c
index 104c7d46c7da7daca89a1f649748f67207f86000..66566bd54b6509e45c8df5ba6166f445d2f45db4 100644
(file)
--- a/
opcodes/i386-opc.c
+++ b/
opcodes/i386-opc.c
@@
-1,5
+1,5
@@
/* Intel 80386 opcode table
/* Intel 80386 opcode table
- Copyright (C) 2007-20
19
Free Software Foundation, Inc.
+ Copyright (C) 2007-20
22
Free Software Foundation, Inc.
This file is part of the GNU opcodes library.
This file is part of the GNU opcodes library.
@@
-23,10
+23,12
@@
#include "i386-opc.h"
#include "i386-tbl.h"
#include "i386-opc.h"
#include "i386-tbl.h"
-/* Segment stuff. */
-const seg_entry cs = { "cs", 0x2e };
-const seg_entry ds = { "ds", 0x3e };
-const seg_entry ss = { "ss", 0x36 };
-const seg_entry es = { "es", 0x26 };
-const seg_entry fs = { "fs", 0x64 };
-const seg_entry gs = { "gs", 0x65 };
+/* To be indexed by segment register number. */
+const unsigned char i386_seg_prefixes[] = {
+ ES_PREFIX_OPCODE,
+ CS_PREFIX_OPCODE,
+ SS_PREFIX_OPCODE,
+ DS_PREFIX_OPCODE,
+ FS_PREFIX_OPCODE,
+ GS_PREFIX_OPCODE
+};