aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>2006-07-20 23:09:32 +0000
committerMichael Meissner <gnu@the-meissners.org>2006-07-20 23:09:32 +0000
commit46e742443dd76ef217aa296c9755468c843206e2 (patch)
tree5a7d1c85aa9eb5bdcd47b4f9b028904717934238 /gas
parent16963cb64bd9999537c4a056bff9915bab2911d2 (diff)
downloadgdb-46e742443dd76ef217aa296c9755468c843206e2.zip
gdb-46e742443dd76ef217aa296c9755468c843206e2.tar.gz
gdb-46e742443dd76ef217aa296c9755468c843206e2.tar.bz2
Update amd family 10 instructions to add appropriate alignment for cygwin
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog9
-rw-r--r--gas/testsuite/gas/i386/amdfam10.d2
-rw-r--r--gas/testsuite/gas/i386/amdfam10.s3
-rw-r--r--gas/testsuite/gas/i386/x86-64-amdfam10.d1
-rw-r--r--gas/testsuite/gas/i386/x86-64-amdfam10.s3
5 files changed, 18 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 9366e8d..a3c035d 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,12 @@
+2006-07-20 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
+ Michael Meissner <michael.meissner@amd.com>
+
+ * gas/i386/amdfam10.s: Add .p2align 4,0 to make sure segment is
+ aligned on all systems.
+ * gas/i386/x86-64-amdfam10.s: Likewise.
+ * gas/i386/amdfam10.d: Adjust output for alignment.
+ * gas/i386/x86-64-amdfam10.d: Likewise.
+
2006-07-19 Paul Brook <paul@codesourcery.com>
* gas/arm/archv6t2.d: Adjust expected output for rbit.
diff --git a/gas/testsuite/gas/i386/amdfam10.d b/gas/testsuite/gas/i386/amdfam10.d
index 1c664f6..79cd764 100644
--- a/gas/testsuite/gas/i386/amdfam10.d
+++ b/gas/testsuite/gas/i386/amdfam10.d
@@ -20,3 +20,5 @@ Disassembly of section .text:
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\)
+ ...
diff --git a/gas/testsuite/gas/i386/amdfam10.s b/gas/testsuite/gas/i386/amdfam10.s
index 9b67b9c..bef51fe 100644
--- a/gas/testsuite/gas/i386/amdfam10.s
+++ b/gas/testsuite/gas/i386/amdfam10.s
@@ -16,3 +16,6 @@ foo:
insertq $4,$2,%xmm2,%xmm1
movntsd %xmm1,(%ecx)
movntss %xmm1,(%ecx)
+
+ # Force a good alignment.
+ .p2align 4,0
diff --git a/gas/testsuite/gas/i386/x86-64-amdfam10.d b/gas/testsuite/gas/i386/x86-64-amdfam10.d
index 84d4d52..3f00d19 100644
--- a/gas/testsuite/gas/i386/x86-64-amdfam10.d
+++ b/gas/testsuite/gas/i386/x86-64-amdfam10.d
@@ -24,3 +24,4 @@ Disassembly of section .text:
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\)
+ ...
diff --git a/gas/testsuite/gas/i386/x86-64-amdfam10.s b/gas/testsuite/gas/i386/x86-64-amdfam10.s
index 5a4be49..df04164 100644
--- a/gas/testsuite/gas/i386/x86-64-amdfam10.s
+++ b/gas/testsuite/gas/i386/x86-64-amdfam10.s
@@ -20,3 +20,6 @@ foo:
insertq $4,$2,%xmm2,%xmm1
movntsd %xmm1,(%rcx)
movntss %xmm1,(%rcx)
+
+ # Force a good alignment.
+ .p2align 4,0