aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>2006-10-23 22:53:29 +0000
committerMichael Meissner <gnu@the-meissners.org>2006-10-23 22:53:29 +0000
commit7918206c559f06d25e8fdd6894cfc3000f1cb22e (patch)
tree868bfcdf63ba0b360547e2ccefd1d1a925d29baf /gas/testsuite
parenta3ffa599fe54e0e5396f1617b7bc1c391055a1b7 (diff)
downloadgdb-7918206c559f06d25e8fdd6894cfc3000f1cb22e.zip
gdb-7918206c559f06d25e8fdd6894cfc3000f1cb22e.tar.gz
gdb-7918206c559f06d25e8fdd6894cfc3000f1cb22e.tar.bz2
Fix AMDFAM10 POPCNT instruction
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/i386/amdfam10.d23
-rw-r--r--gas/testsuite/gas/i386/x86-64-amdfam10.d24
3 files changed, 29 insertions, 24 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index b5fa684..b6b8003 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2006-10-23 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
+
+ * gas/i386/amdfam10.d : Modify to support for the change in POPCNT
+ opcode in amdfam10 architecture.
+ * gas/i386/x86-64-amdfam10.d : Ditto.
+
2006-10-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* gas/sh/sh64/syntax-1.d: Update.
diff --git a/gas/testsuite/gas/i386/amdfam10.d b/gas/testsuite/gas/i386/amdfam10.d
index 79cd764..3d569b5 100644
--- a/gas/testsuite/gas/i386/amdfam10.d
+++ b/gas/testsuite/gas/i386/amdfam10.d
@@ -10,15 +10,14 @@ Disassembly of section .text:
4: f3 66 0f bd 19[ ]+lzcnt \(%ecx\),%bx
9: f3 0f bd d9[ ]+lzcnt %ecx,%ebx
d: f3 66 0f bd d9[ ]+lzcnt %cx,%bx
- 12: 0f b8 19[ ]+popcnt \(%ecx\),%ebx
- 15: 66 0f b8 19[ ]+popcnt \(%ecx\),%bx
- 19: 0f b8 d9[ ]+popcnt %ecx,%ebx
- 1c: 66 0f b8 d9[ ]+popcnt %cx,%bx
- 20: 66 0f 79 ca[ ]+extrq %xmm2,%xmm1
- 24: 66 0f 78 c1 02 04[ ]*extrq \$0x4,\$0x2,%xmm1
- 2a: f2 0f 79 ca[ ]+insertq %xmm2,%xmm1
- 2e: f2 0f 78 ca 02 04[ ]*insertq \$0x4,\$0x2,%xmm2,%xmm1
- 34: f2 0f 2b 09[ ]+movntsd %xmm1,\(%ecx\)
- 38: f3 0f 2b 09[ ]+movntss %xmm1,\(%ecx\)
- 3c: 00 00 [ ]+add %al,\(%eax\)
- ...
+ 12: f3 0f b8 19[ ]+popcnt \(%ecx\),%ebx
+ 16: f3 66 0f b8 19[ ]+popcnt \(%ecx\),%bx
+ 1b: f3 0f b8 d9[ ]+popcnt %ecx,%ebx
+ 1f: f3 66 0f b8 d9[ ]+popcnt %cx,%bx
+ 24: 66 0f 79 ca[ ]+extrq %xmm2,%xmm1
+ 28: 66 0f 78 c1 02 04[ ]*extrq \$0x4,\$0x2,%xmm1
+ 2e: f2 0f 79 ca[ ]+insertq %xmm2,%xmm1
+ 32: f2 0f 78 ca 02 04[ ]*insertq \$0x4,\$0x2,%xmm2,%xmm1
+ 38: f2 0f 2b 09[ ]+movntsd %xmm1,\(%ecx\)
+ 3c: f3 0f 2b 09[ ]+movntss %xmm1,\(%ecx\)
+
diff --git a/gas/testsuite/gas/i386/x86-64-amdfam10.d b/gas/testsuite/gas/i386/x86-64-amdfam10.d
index 3f00d19..c81f011 100644
--- a/gas/testsuite/gas/i386/x86-64-amdfam10.d
+++ b/gas/testsuite/gas/i386/x86-64-amdfam10.d
@@ -12,16 +12,16 @@ Disassembly of section .text:
e: f3 48 0f bd d9[ ]+lzcnt %rcx,%rbx
13: f3 0f bd d9[ ]+lzcnt %ecx,%ebx
17: f3 66 0f bd d9[ ]+lzcnt %cx,%bx
- 1c: 48 0f b8 19[ ]+popcnt \(%rcx\),%rbx
- 20: 0f b8 19[ ]+popcnt \(%rcx\),%ebx
- 23: 66 0f b8 19[ ]+popcnt \(%rcx\),%bx
- 27: 48 0f b8 d9[ ]+popcnt %rcx,%rbx
- 2b: 0f b8 d9[ ]+popcnt %ecx,%ebx
- 2e: 66 0f b8 d9[ ]+popcnt %cx,%bx
- 32: 66 0f 79 ca[ ]+extrq %xmm2,%xmm1
- 36: 66 0f 78 c1 02 04[ ]+extrq \$0x4,\$0x2,%xmm1
- 3c: f2 0f 79 ca[ ]+insertq %xmm2,%xmm1
- 40: f2 0f 78 ca 02 04[ ]+insertq \$0x4,\$0x2,%xmm2,%xmm1
- 46: f2 0f 2b 09[ ]+movntsd %xmm1,\(%rcx\)
- 4a: f3 0f 2b 09[ ]+movntss %xmm1,\(%rcx\)
+ 1c: f3 48 0f b8 19[ ]+popcnt \(%rcx\),%rbx
+ 21: f3 0f b8 19[ ]+popcnt \(%rcx\),%ebx
+ 25: f3 66 0f b8 19[ ]+popcnt \(%rcx\),%bx
+ 2a: f3 48 0f b8 d9[ ]+popcnt %rcx,%rbx
+ 2f: f3 0f b8 d9[ ]+popcnt %ecx,%ebx
+ 33: f3 66 0f b8 d9[ ]+popcnt %cx,%bx
+ 38: 66 0f 79 ca[ ]+extrq %xmm2,%xmm1
+ 3c: 66 0f 78 c1 02 04[ ]+extrq \$0x4,\$0x2,%xmm1
+ 42: f2 0f 79 ca[ ]+insertq %xmm2,%xmm1
+ 46: f2 0f 78 ca 02 04[ ]+insertq \$0x4,\$0x2,%xmm2,%xmm1
+ 4c: f2 0f 2b 09[ ]+movntsd %xmm1,\(%rcx\)
+ 50: f3 0f 2b 09[ ]+movntss %xmm1,\(%rcx\)
...