diff options
author | Jan Beulich <jbeulich@novell.com> | 2005-03-08 08:27:02 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2005-03-08 08:27:02 +0000 |
commit | 9b505842893b22dea34beb5ba448594173952cd2 (patch) | |
tree | c16b2e614b6b2b8d15ff6b0eb8213ef1996d015f /gas/testsuite | |
parent | ef6a2b41811b88306afc5ce073da33e047d888cd (diff) | |
download | gdb-9b505842893b22dea34beb5ba448594173952cd2.zip gdb-9b505842893b22dea34beb5ba448594173952cd2.tar.gz gdb-9b505842893b22dea34beb5ba448594173952cd2.tar.bz2 |
gas/
2005-03-08 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (emit_one_bundle): Track last slot user insn was
emitted to. Add more precise diagnostics for non-fitting insns based
on that. Eliminate now superfluous special casing of MLX. Clear out
slot information when dropping an insn.
gas/testsuite/
2005-03-08 Jan Beulich <jbeulich@novell.com>
* gas/ia64/no-fit.[ls]: New.
* gas/ia64/ia64.exp: Run new test.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/ia64/ia64.exp | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/ia64/no-fit.l | 8 | ||||
-rw-r--r-- | gas/testsuite/gas/ia64/no-fit.s | 33 |
4 files changed, 47 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 4f1d9f0..6ce90b0 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2005-03-08 Jan Beulich <jbeulich@novell.com> + * gas/ia64/no-fit.[ls]: New. + * gas/ia64/ia64.exp: Run new test. + +2005-03-08 Jan Beulich <jbeulich@novell.com> + * gas/ia64/xdata.[sd], gas/ia64/xdata-ilp32.d: New. * gas/ia64/ia64.exp: Run new tests. diff --git a/gas/testsuite/gas/ia64/ia64.exp b/gas/testsuite/gas/ia64/ia64.exp index 9485fe4..cf384a4 100644 --- a/gas/testsuite/gas/ia64/ia64.exp +++ b/gas/testsuite/gas/ia64/ia64.exp @@ -76,6 +76,7 @@ if [istarget "ia64-*"] then { run_dump_test "bundling" run_list_test "label" "" run_list_test "last" "" + run_list_test "no-fit" "" run_list_test "pound" "-al" run_list_test "proc" "-munwind-check=error" run_list_test "slot2" "" diff --git a/gas/testsuite/gas/ia64/no-fit.l b/gas/testsuite/gas/ia64/no-fit.l new file mode 100644 index 0000000..1dec89c --- /dev/null +++ b/gas/testsuite/gas/ia64/no-fit.l @@ -0,0 +1,8 @@ +.*: Assembler messages: +.*:5: Error: .nop\.i.[[:space:]]+[^23]*[[:space:]]+MFB[[:space:]]+.* +.*:8: Error: .nop\.f.[[:space:]]+[^23]*[[:space:]]+MLX[[:space:]]+.* +.*:12: Error: .nop\.i.[[:space:]]+.*[[:space:]]+2[[:space:]]+.*[[:space:]]+3[[:space:]]+.*[[:space:]]+MFB[[:space:]]+.* +.*:17: Error: .nop\.i.[[:space:]]+[^2]*[[:space:]]+3[[:space:]]+.*[[:space:]]+MFB[[:space:]]+.* +.*:21: Error: .nop\.f.[[:space:]]+.*[[:space:]]+X[[:space:]]+.*[[:space:]]+MLX[[:space:]]+.* +.*:27: Error: .nop.[[:space:]]+[^23M]* +.*:32: Error: .nop.[[:space:]]+[^23M]* diff --git a/gas/testsuite/gas/ia64/no-fit.s b/gas/testsuite/gas/ia64/no-fit.s new file mode 100644 index 0000000..dc992a5 --- /dev/null +++ b/gas/testsuite/gas/ia64/no-fit.s @@ -0,0 +1,33 @@ +.explicit +.text +_start: +{.mfb + nop.i 0 +} +{.mlx + nop.f 0 +} +{.mfb + nop.m 0 + nop.i 0 +} +{.mfb + nop.m 0 + nop.f 0 + nop.i 0 +} +{.mlx + nop.m 0 + nop.f 0 +} +{.mfb + nop 0 + nop 0 + nop 0 + nop 0 +} +{.mlx + nop 0 + nop 0 + nop 0 +} |