2 # Some generic m68k tests
4 if [istarget
"m68hc11-*-*"] then {
7 if [istarget
"m68hc12-*-*"] then {
10 if [istarget
"m6811-*-*"] then {
13 if [istarget
"m6812-*-*"] then {
16 if [istarget m68
*-*-*] then {
17 gas_test
"t2.s" "" "" "cross-section branch"
18 if [istarget m68
*-motorola
-sysv
] then {
22 gas_test
"pic1.s" "" "" "PIC generation"
24 gas_test
"disperr.s" "-m68020" "" "Incorrect Displacement too long error"
26 gas_test_error
"p2410.s" "" "out-of-range 'bras'"
28 # Reloc types etc. need changing
for aout and coff to pass.
30 clear_xfail
"*-*-*elf*" "*-*-sysv4*" "*-*-rtems" "*-*-*gnu*" "*-*-psos*"
32 run_dump_test operands
34 run_dump_test bitfield
37 run_dump_test mcf
-mov3q
40 run_dump_test mcf
-emac
42 run_dump_test mcf
-trap
43 run_dump_test arch
-cpu
-1
45 set testname
"68000 operands"
46 gas_run
"operands.s" "-m68000" "2>err.out"
47 if ![string match
"child process exited abnormally" $comp_output] then {
48 send_log
"$comp_output\n"
49 verbose
"$comp_output" 3
52 if [regexp_diff
"err.out" "$srcdir/$subdir/op68000.d"] then {
59 if [info exists errorInfo
] then {