aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/testsuite/gas/riscv/fence-tso.d11
-rw-r--r--gas/testsuite/gas/riscv/fence-tso.s2
3 files changed, 18 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 069f9cb..d6a4380 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2018-10-02 Palmer Dabbelt <palmer@sifive.com>
+
+ * testsuite/gas/riscv/fence-tso.d: New file.
+ * testsuite/gas/riscv/fence-tso.s: Likewise.
+
2018-09-26 Sandra Loosemore <sandra@codesourcery.com>
* testsuite/gas/all/gas.exp: Skip "Output file must be distinct
diff --git a/gas/testsuite/gas/riscv/fence-tso.d b/gas/testsuite/gas/riscv/fence-tso.d
new file mode 100644
index 0000000..ef8a4cd
--- /dev/null
+++ b/gas/testsuite/gas/riscv/fence-tso.d
@@ -0,0 +1,11 @@
+#as: -march=rv32ic
+#objdump: -dr
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+8330000f[ ]+fence.tso
+
diff --git a/gas/testsuite/gas/riscv/fence-tso.s b/gas/testsuite/gas/riscv/fence-tso.s
new file mode 100644
index 0000000..7770052
--- /dev/null
+++ b/gas/testsuite/gas/riscv/fence-tso.s
@@ -0,0 +1,2 @@
+target:
+ fence.tso