gas/ChangeLog:
Test cases for the architecture level aware SPARC ASI work.
* gas/testsuite/gas/sparc/sparc.exp: 2 new tests
* gas/testsuite/gas/sparc/asi-bump-warn.s: New test
* gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
* gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
* gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
+2017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
+
+ Test cases for the architecture level aware SPARC ASI work.
+ * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
+ * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
+ * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
+ * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
+ * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
+
2017-02-23 Maciej W. Rozycki <macro@imgtec.com>
* testsuite/gas/mips/jalr4.d: New test.
--- /dev/null
+.*asi-arch-error.s: Assembler messages:
+.*asi-arch-error.s:3: Error: Architecture mismatch on "ldda \[%g0]#ASI_FL16_P,%f0".
+.*asi-arch-error.s:3: \(Requires v9b\|v9c\|v9d\|v9e\|v9v\|v9m.*; requested architecture is v9.\)
--- /dev/null
+# Check for an error if ASI does not conform to architecture level desired.
+ .text
+ ldda [%g0] #ASI_FL16_P, %f0
--- /dev/null
+.*asi-bump-warn.s: Assembler messages:
+.*asi-bump-warn.s:3: Warning: architecture bumped from "v6" to "v9" on "#ASI_P"
--- /dev/null
+# Test to check for the proper bump warning due to the ASI load.
+ .text
+ lda [%g0] #ASI_P, %g1
run_dump_test "plt64"
run_dump_test "gotop64"
run_list_test "hwcaps-bump" "-64 -bump"
+ run_list_test "asi-bump-warn" "-bump"
+ run_list_test "asi-arch-error" "-Av9"
}
run_dump_test "synth"