diff options
Diffstat (limited to 'gas/testsuite/gas')
-rw-r--r-- | gas/testsuite/gas/ia64/dependency-1.d | 20 | ||||
-rw-r--r-- | gas/testsuite/gas/ia64/dependency-1.s | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/ia64/ia64.exp | 2 |
3 files changed, 29 insertions, 0 deletions
diff --git a/gas/testsuite/gas/ia64/dependency-1.d b/gas/testsuite/gas/ia64/dependency-1.d new file mode 100644 index 00000000000..338128281bf --- /dev/null +++ b/gas/testsuite/gas/ia64/dependency-1.d @@ -0,0 +1,20 @@ +# as: -xexplicit +# objdump: -d +# name: IA64 read-before-write dependency + +# Note - this test is based on a bug reported here: +# http://sources.redhat.com/ml/bug-gnu-utils/2003-03/msg00270.html +# With follows up on the binutils mailing list here: +# http://sources.redhat.com/ml/binutils/2003-04/msg00162.html + +.*: +file format .* + +Disassembly of section \.text: + +0000000000000000 <foo>: + 0:.*0b 40 00 40 10 18.*\[MMI\].*ldfs f8=\[r32\];; + 6:.*00 40 84 30 33 00.*stfd \[r33\]=f8 + c:.*00 00 04 00.*nop\.i 0x0;; + 10:.*0c 00 00 00 01 00.*\[MFI\].*nop.m 0x0 + 16:.*00 00 00 02 00 00.*nop\.f 0x0 + 1c:.*00 00 04 00.*nop\.i 0x0 diff --git a/gas/testsuite/gas/ia64/dependency-1.s b/gas/testsuite/gas/ia64/dependency-1.s new file mode 100644 index 00000000000..7ffa0817eff --- /dev/null +++ b/gas/testsuite/gas/ia64/dependency-1.s @@ -0,0 +1,7 @@ + .text + .auto + .align 32 + +foo: + ldfs f8=[r32] + stfd [r33]=f8 diff --git a/gas/testsuite/gas/ia64/ia64.exp b/gas/testsuite/gas/ia64/ia64.exp index 3a672a76403..88ed2cfb8f2 100644 --- a/gas/testsuite/gas/ia64/ia64.exp +++ b/gas/testsuite/gas/ia64/ia64.exp @@ -39,4 +39,6 @@ if [istarget "ia64-*"] then { run_dump_test "ldxmov-1" run_list_test "ldxmov-2" "" run_dump_test "ltoff22x-1" + + run_dump_test "dependency-1" } |