aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-07-29 19:43:36 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-07-29 19:43:36 +0000
commit8976381e69bd16f581b38ca5d236c2eff1120408 (patch)
treefa9e2554fa102283ded52a73f1757b99f1c6d570 /opcodes
parent59d5bbeb35547e5645b25c17432b68ea46b37222 (diff)
downloadgdb-8976381e69bd16f581b38ca5d236c2eff1120408.zip
gdb-8976381e69bd16f581b38ca5d236c2eff1120408.tar.gz
gdb-8976381e69bd16f581b38ca5d236c2eff1120408.tar.bz2
gas/testsuite/
2007-07-29 H.J. Lu <hongjiu.lu@intel.com> PR binutils/4834 * gas/i386/simd-intel.d: Updated. * gas/i386/simd.d: Likewise. * gas/i386/x86-64-simd-intel.d: Likewise. * gas/i386/x86-64-simd.d: Likewise. * gas/i386/simd.s: Add tests for SSE4 instructions. * gas/i386/x86-64-simd.s: Likewise. opcodes/ 2007-07-29 H.J. Lu <hongjiu.lu@intel.com> PR binutils/4834 * i386-dis.c (EXw): New. (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4 instructions when appropriated.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog7
-rw-r--r--opcodes/i386-dis.c27
2 files changed, 21 insertions, 13 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 63d9e39..671616f 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,10 @@
+2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR binutils/4834
+ * i386-dis.c (EXw): New.
+ (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
+ instructions when appropriated.
+
2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/4834
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 48b701f..4e036f7 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -311,6 +311,7 @@ fetch_data (struct disassemble_info *info, bfd_byte *addr)
#define EM { OP_EM, v_mode }
#define EMd { OP_EM, d_mode }
#define EMx { OP_EM, x_mode }
+#define EXw { OP_EX, w_mode }
#define EXd { OP_EX, d_mode }
#define EXq { OP_EX, q_mode }
#define EXx { OP_EX, x_mode }
@@ -2153,7 +2154,7 @@ static const struct dis386 prefix_user_table[][4] = {
{
{ "(bad)", { XX } },
{ "(bad)", { XX } },
- { "pmovsxbw", { XM, EXx } },
+ { "pmovsxbw", { XM, EXq } },
{ "(bad)", { XX } },
},
@@ -2161,7 +2162,7 @@ static const struct dis386 prefix_user_table[][4] = {
{
{ "(bad)", { XX } },
{ "(bad)", { XX } },
- { "pmovsxbd", { XM, EXx } },
+ { "pmovsxbd", { XM, EXd } },
{ "(bad)", { XX } },
},
@@ -2169,7 +2170,7 @@ static const struct dis386 prefix_user_table[][4] = {
{
{ "(bad)", { XX } },
{ "(bad)", { XX } },
- { "pmovsxbq", { XM, EXx } },
+ { "pmovsxbq", { XM, EXw } },
{ "(bad)", { XX } },
},
@@ -2177,7 +2178,7 @@ static const struct dis386 prefix_user_table[][4] = {
{
{ "(bad)", { XX } },
{ "(bad)", { XX } },
- { "pmovsxwd", { XM, EXx } },
+ { "pmovsxwd", { XM, EXq } },
{ "(bad)", { XX } },
},
@@ -2185,7 +2186,7 @@ static const struct dis386 prefix_user_table[][4] = {
{
{ "(bad)", { XX } },
{ "(bad)", { XX } },
- { "pmovsxwq", { XM, EXx } },
+ { "pmovsxwq", { XM, EXd } },
{ "(bad)", { XX } },
},
@@ -2193,7 +2194,7 @@ static const struct dis386 prefix_user_table[][4] = {
{
{ "(bad)", { XX } },
{ "(bad)", { XX } },
- { "pmovsxdq", { XM, EXx } },
+ { "pmovsxdq", { XM, EXq } },
{ "(bad)", { XX } },
},
@@ -2233,7 +2234,7 @@ static const struct dis386 prefix_user_table[][4] = {
{
{ "(bad)", { XX } },
{ "(bad)", { XX } },
- { "pmovzxbw", { XM, EXx } },
+ { "pmovzxbw", { XM, EXq } },
{ "(bad)", { XX } },
},
@@ -2241,7 +2242,7 @@ static const struct dis386 prefix_user_table[][4] = {
{
{ "(bad)", { XX } },
{ "(bad)", { XX } },
- { "pmovzxbd", { XM, EXx } },
+ { "pmovzxbd", { XM, EXd } },
{ "(bad)", { XX } },
},
@@ -2249,7 +2250,7 @@ static const struct dis386 prefix_user_table[][4] = {
{
{ "(bad)", { XX } },
{ "(bad)", { XX } },
- { "pmovzxbq", { XM, EXx } },
+ { "pmovzxbq", { XM, EXw } },
{ "(bad)", { XX } },
},
@@ -2257,7 +2258,7 @@ static const struct dis386 prefix_user_table[][4] = {
{
{ "(bad)", { XX } },
{ "(bad)", { XX } },
- { "pmovzxwd", { XM, EXx } },
+ { "pmovzxwd", { XM, EXq } },
{ "(bad)", { XX } },
},
@@ -2265,7 +2266,7 @@ static const struct dis386 prefix_user_table[][4] = {
{
{ "(bad)", { XX } },
{ "(bad)", { XX } },
- { "pmovzxwq", { XM, EXx } },
+ { "pmovzxwq", { XM, EXd } },
{ "(bad)", { XX } },
},
@@ -2273,7 +2274,7 @@ static const struct dis386 prefix_user_table[][4] = {
{
{ "(bad)", { XX } },
{ "(bad)", { XX } },
- { "pmovzxdq", { XM, EXx } },
+ { "pmovzxdq", { XM, EXq } },
{ "(bad)", { XX } },
},
@@ -2457,7 +2458,7 @@ static const struct dis386 prefix_user_table[][4] = {
{
{ "(bad)", { XX } },
{ "(bad)", { XX } },
- { "insertps", { XM, EXx, Ib } },
+ { "insertps", { XM, EXd, Ib } },
{ "(bad)", { XX } },
},