aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-09-01 23:59:10 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-09-01 23:59:10 +0000
commit8114936d8e732bb502a7f7e550ba3e5162cadf12 (patch)
tree33109a52f39a76375b8997f7847f83712ed03159
parent93dcfcd00f87b77ac2d030ee48359eda04d54c67 (diff)
downloadgdb-8114936d8e732bb502a7f7e550ba3e5162cadf12.zip
gdb-8114936d8e732bb502a7f7e550ba3e5162cadf12.tar.gz
gdb-8114936d8e732bb502a7f7e550ba3e5162cadf12.tar.bz2
2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/att-regs.s: Add ymm tests for 16bit and 64bit. * gas/i386/intel-regs.s: Likewise. * gas/i386/att-regs.d: Updated. * gas/i386/intel-regs.d: Likewise.
-rw-r--r--gas/testsuite/ChangeLog8
-rw-r--r--gas/testsuite/gas/i386/att-regs.d4
-rw-r--r--gas/testsuite/gas/i386/att-regs.s3
-rw-r--r--gas/testsuite/gas/i386/intel-regs.d4
-rw-r--r--gas/testsuite/gas/i386/intel-regs.s3
5 files changed, 22 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 03738f5..39e6bc9 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,5 +1,13 @@
2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
+ * gas/i386/att-regs.s: Add ymm tests for 16bit and 64bit.
+ * gas/i386/intel-regs.s: Likewise.
+
+ * gas/i386/att-regs.d: Updated.
+ * gas/i386/intel-regs.d: Likewise.
+
+2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
+
* gas/i386/att-regs.s: Remove a tab.
2009-09-01 Jie Zhang <jie.zhang@analog.com>
diff --git a/gas/testsuite/gas/i386/att-regs.d b/gas/testsuite/gas/i386/att-regs.d
index 47908f8..8b6c14f 100644
--- a/gas/testsuite/gas/i386/att-regs.d
+++ b/gas/testsuite/gas/i386/att-regs.d
@@ -19,6 +19,7 @@ Disassembly of section \.text:
.*[ ]+R_386_16[ ]+tr0
.*[ ]+R_386_16[ ]+mm0
.*[ ]+R_386_16[ ]+xmm0
+.*[ ]+R_386_16[ ]+ymm0
.*[ ]+R_386_32[ ]+rax
.*[ ]+R_386_32[ ]+axl
.*[ ]+R_386_32[ ]+r8b
@@ -44,4 +45,7 @@ Disassembly of section \.text:
.*:[ ]+89 c0[ ]+mov[ ]+%eax,%eax
.*:[ ]+4c[ ]+dec %esp
.*:[ ]+89 c0[ ]+mov[ ]+%eax,%eax
+
+.* <ymm8>:
+.*[ ]+<ymm8>
#pass
diff --git a/gas/testsuite/gas/i386/att-regs.s b/gas/testsuite/gas/i386/att-regs.s
index a297cc7..1001824 100644
--- a/gas/testsuite/gas/i386/att-regs.s
+++ b/gas/testsuite/gas/i386/att-regs.s
@@ -17,6 +17,7 @@
mov tr0, ax ; add al, (bx,si)
mov mm0, ax ; add al, (bx,si)
mov xmm0, ax ; add al, (bx,si)
+ mov ymm0, ax ; add al, (bx,si)
.arch generic32
.code32
@@ -52,3 +53,5 @@
mov r8w, ax
mov r8d, eax
mov r8, rax
+ymm8:
+ jmp ymm8
diff --git a/gas/testsuite/gas/i386/intel-regs.d b/gas/testsuite/gas/i386/intel-regs.d
index 6c52dec..97fc27f 100644
--- a/gas/testsuite/gas/i386/intel-regs.d
+++ b/gas/testsuite/gas/i386/intel-regs.d
@@ -19,6 +19,7 @@ Disassembly of section \.text:
.*[ ]+R_386_16[ ]+tr0
.*[ ]+R_386_16[ ]+mm0
.*[ ]+R_386_16[ ]+xmm0
+.*[ ]+R_386_16[ ]+ymm0
.*[ ]+R_386_32[ ]+rax
.*[ ]+R_386_32[ ]+axl
.*[ ]+R_386_32[ ]+r8b
@@ -44,4 +45,7 @@ Disassembly of section \.text:
.*:[ ]+89 c0[ ]+mov[ ]+%eax,%eax
.*:[ ]+4c[ ]+dec %esp
.*:[ ]+89 c0[ ]+mov[ ]+%eax,%eax
+
+.* <ymm8>:
+.*[ ]+<ymm8>
#pass
diff --git a/gas/testsuite/gas/i386/intel-regs.s b/gas/testsuite/gas/i386/intel-regs.s
index 7d52711..5aac956 100644
--- a/gas/testsuite/gas/i386/intel-regs.s
+++ b/gas/testsuite/gas/i386/intel-regs.s
@@ -17,6 +17,7 @@
mov ax, tr0 ; add [bx+si], al
mov ax, mm0 ; add [bx+si], al
mov ax, xmm0 ; add [bx+si], al
+ mov ax, ymm0 ; add [bx+si], al
.arch generic32
.code32
@@ -52,3 +53,5 @@
mov ax, r8w
mov eax, r8d
mov rax, r8
+ymm8:
+ jmp ymm8