aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2001-01-05 12:30:12 +0000
committerJan Hubicka <jh@suse.cz>2001-01-05 12:30:12 +0000
commit7bc70a8e576bfebc3e3b50a5866527e246a40e4d (patch)
treea8cf90002bb5f537220a691bb18824d991557ceb /include
parent52b15da39a3b3394be9c57d365a7c375533e5198 (diff)
downloadfsf-binutils-gdb-7bc70a8e576bfebc3e3b50a5866527e246a40e4d.zip
fsf-binutils-gdb-7bc70a8e576bfebc3e3b50a5866527e246a40e4d.tar.gz
fsf-binutils-gdb-7bc70a8e576bfebc3e3b50a5866527e246a40e4d.tar.bz2
* tc-i386.c (md_assemble): Handle third byte of the opcode as prefix.
* i386.h (i386_optab): Make [sml]fence template to use immext field.
Diffstat (limited to 'include')
-rw-r--r--include/opcode/ChangeLog8
-rw-r--r--include/opcode/i386.h6
2 files changed, 9 insertions, 5 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index ccb5dd1..db9120e 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,9 +1,13 @@
-Wed Jan 3 16:27:15 MET 2001 Jan hubicka <jh@suse.cz>
+Fri Jan 5 13:22:23 MET 2001 Jan Hubicka <jh@suse.cz>
+
+ * i386.h (i386_optab): Make [sml]fence template to use immext field.
+
+Wed Jan 3 16:27:15 MET 2001 Jan Hubicka <jh@suse.cz>
* i386.h (i386_optab): Fix 64bit pushf template; Add instructions
introduced by Pentium4
-Sat Dec 30 19:03:15 MET 2000 Jan hubicka <jh@suse.cz>
+Sat Dec 30 19:03:15 MET 2000 Jan Hubicka <jh@suse.cz>
* i386.h (i386_optab): Add "rex*" instructions;
add swapgs; disable jmp/call far direct instructions for
diff --git a/include/opcode/i386.h b/include/opcode/i386.h
index 17400ea..dd67c865 100644
--- a/include/opcode/i386.h
+++ b/include/opcode/i386.h
@@ -953,8 +953,8 @@ static const template i386_optab[] = {
{"movnti", 2, 0x0fc3, X, CpuP4, lq_Suf|Modrm, { WordReg|WordMem, WordReg, 0 } },
{"clflush", 1, 0x0fae, 7, CpuP4, FP|Modrm, { ByteMem, 0, 0 } },
-{"lfence", 0, 0x0faee8, X, CpuP4, FP, { 0, 0, 0 } },
-{"mfence", 0, 0x0faef0, X, CpuP4, FP, { 0, 0, 0 } },
+{"lfence", 0, 0x0fae, 0xe8, CpuP4, FP|ImmExt, { 0, 0, 0 } },
+{"mfence", 0, 0x0fae, 0xf0, CpuP4, FP|ImmExt, { 0, 0, 0 } },
{"pause", 0, 0xf390, X, CpuP4, FP, { 0, 0, 0 } },
/* MMX/SSE2 instructions. */
@@ -1172,7 +1172,7 @@ static const template i386_optab[] = {
{"rcpss", 2, 0xf30f53, X, CpuSSE, FP|Modrm, { RegXMM|WordMem, RegXMM, 0 } },
{"rsqrtps", 2, 0x0f52, X, CpuSSE, FP|Modrm, { RegXMM|LLongMem, RegXMM, 0 } },
{"rsqrtss", 2, 0xf30f52, X, CpuSSE, FP|Modrm, { RegXMM|WordMem, RegXMM, 0 } },
-{"sfence", 0, 0x0faef8, X, CpuSSE, FP, { 0, 0, 0 } },
+{"sfence", 0, 0x0fae, 0xf8, CpuSSE, FP|ImmExt, { 0, 0, 0 } },
{"shufps", 3, 0x0fc6, X, CpuSSE, FP|Modrm, { Imm8, RegXMM|LLongMem, RegXMM } },
{"sqrtps", 2, 0x0f51, X, CpuSSE, FP|Modrm, { RegXMM|LLongMem, RegXMM, 0 } },
{"sqrtss", 2, 0xf30f51, X, CpuSSE, FP|Modrm, { RegXMM|WordMem, RegXMM, 0 } },