061036c0bbb19fc9fdd5d7419ea07641aaf38f7d
[deliverable/binutils-gdb.git] / gas / testsuite / gas / vax / vax.exp
1 #
2 # Some generic VAX tests
3 #
4
5 proc do_quad {} {
6 set testname "quad.s: quadword immediate values"
7 set x1 0
8 set x2 0
9 set x3 0
10 set file "quad.s"
11 if [istarget vax-*-*elf*] {
12 set file "quad_elf.s"
13 }
14 gas_start $file "-al"
15 while 1 {
16 expect {
17 -re "^ +2\[ \t\]+0000+ 7D8F7856\[ \t\]+movq\[^\n\]*\n" { set x1 1 }
18 -re "^ +2\[ \t\]+3412DDCC\[^\n\]*\n" { set x2 1 }
19 -re "^ +2\[ \t\]+BBAA50\[ \t\]*\r\n" { set x3 1 }
20 -re "\[^\n\]*\n" { }
21 timeout { perror "timeout\n"; break }
22 eof { break }
23 }
24 }
25 gas_finish
26 if [all_ones $x1 $x2 $x3] then { pass $testname } else { fail $testname }
27 }
28
29 if [istarget vax-*-* ] then {
30 do_quad
31
32 if [istarget vax-*-*elf*] {
33 run_dump_test "elf-rel"
34 }
35 }
This page took 0.039436 seconds and 4 git commands to generate.