arc: Detect usage of illegal double register pairs
[deliverable/binutils-gdb.git] / binutils / testsuite / binutils-all / arc / objdump.exp
index 18f0bb74a18829b2e3cef000e300d36de737a376..542a33676977a831878c935249ab689d2a6aec10 100644 (file)
@@ -72,6 +72,9 @@ proc check_assembly { testname objfile expected { disas_flags "" } } {
 # disassembler has had to guess as the instruction class in use).
 set want "Warning: disassembly.*vmac2hnfr\[ \t\]*r0,r2,r4.*dmulh12.f\[ \t\]*r0,r2,r4.*dmulh11.f"
 check_assembly "Warning test" [do_objfile dsp.s] $want
+set warn_double_reg "Warning: illegal use of double register pair."
+check_assembly "Warning faulty double regs" [do_objfile double_regs.s] \
+    $warn_double_reg
 
 set double_store_hs_expected {std\s*r0r1,\[r3\]}
 set objfile [do_objfile double_store.s]
This page took 0.024282 seconds and 4 git commands to generate.