aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorMingjie Xing <mingjie.xing@gmail.com>2011-01-11 07:22:09 +0000
committerMingjie Xing <mingjie.xing@gmail.com>2011-01-11 07:22:09 +0000
commitc95354ed1373286584d5729f3c0ce97cded6fbce (patch)
tree902dc5eb658c1799a50183eadc15e306557a9c5d /gas/testsuite
parent0d7a18f740233546470b92af36ebb116405bc810 (diff)
downloadgdb-c95354ed1373286584d5729f3c0ce97cded6fbce.zip
gdb-c95354ed1373286584d5729f3c0ce97cded6fbce.tar.gz
gdb-c95354ed1373286584d5729f3c0ce97cded6fbce.tar.bz2
Take unadjusted offset for loongson3a specific instructions.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/mips/loongson-3a-2.d8
-rw-r--r--gas/testsuite/gas/mips/loongson-3a-2.s8
3 files changed, 13 insertions, 8 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index d28da8d..e63bd65 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2011-01-11 Mingjie Xing <mingjie.xing@gmail.com>
+
+ * mips/loongson-3a-2.s, mips/loongson-3a-2.d: Use the real offset
+ value in assembly.
+
2011-01-10 Nathan Sidwell <nathan@codesourcery.com>
Glauber de Oliveira Costa <glommer@gmail.com>
diff --git a/gas/testsuite/gas/mips/loongson-3a-2.d b/gas/testsuite/gas/mips/loongson-3a-2.d
index 4029a60..32fea2e 100644
--- a/gas/testsuite/gas/mips/loongson-3a-2.d
+++ b/gas/testsuite/gas/mips/loongson-3a-2.d
@@ -57,9 +57,9 @@ Disassembly of section .text:
.*: d8912c07 gsldxc1 \$f17,-128\(\$4,\$5\)
.*: f8d23bfe gsswxc1 \$f18,127\(\$6,\$7\)
.*: f9134c07 gssdxc1 \$f19,-128\(\$8,\$9\)
-.*: c98b3fea gslq \$10,\$11,255\(\$12\)
-.*: e9ee402d gssq \$13,\$14,-256\(\$15\)
-.*: ca15bff4 gslqc1 \$f20,\$f21,255\(\$16\)
-.*: ea37c036 gssqc1 \$f22,\$f23,-256\(\$17\)
+.*: c98b3fea gslq \$10,\$11,4080\(\$12\)
+.*: e9ee402d gssq \$13,\$14,-4096\(\$15\)
+.*: ca15bff4 gslqc1 \$f20,\$f21,4080\(\$16\)
+.*: ea37c036 gssqc1 \$f22,\$f23,-4096\(\$17\)
#pass
diff --git a/gas/testsuite/gas/mips/loongson-3a-2.s b/gas/testsuite/gas/mips/loongson-3a-2.s
index 16a38c9..c296b06 100644
--- a/gas/testsuite/gas/mips/loongson-3a-2.s
+++ b/gas/testsuite/gas/mips/loongson-3a-2.s
@@ -58,8 +58,8 @@
gsswxc1 $f18,127($6,$7)
gssdxc1 $f19,-128($8,$9)
- gslq $10,$11,255($12)
- gssq $13,$14,-256($15)
- gslqc1 $f20,$f21,255($16)
- gssqc1 $f22,$f23,-256($17)
+ gslq $10,$11,4080($12)
+ gssq $13,$14,-4096($15)
+ gslqc1 $f20,$f21,4080($16)
+ gssqc1 $f22,$f23,-4096($17)