aboutsummaryrefslogtreecommitdiff
path: root/gas/config/bfin-aux.h
diff options
context:
space:
mode:
authorJie Zhang <jie.zhang@analog.com>2009-09-03 15:36:02 +0000
committerJie Zhang <jie.zhang@analog.com>2009-09-03 15:36:02 +0000
commitd3a50e14198b40513ff5cebd62b8161bba9223fa (patch)
tree3630efb811c205daedd2bcb566d1eab49a81724e /gas/config/bfin-aux.h
parentfcbc2f09401545b9b5a8fc09d421a90377c6aa79 (diff)
downloadgdb-d3a50e14198b40513ff5cebd62b8161bba9223fa.zip
gdb-d3a50e14198b40513ff5cebd62b8161bba9223fa.tar.gz
gdb-d3a50e14198b40513ff5cebd62b8161bba9223fa.tar.bz2
* config/bfin-parse.y (asm_1): Add LOOP_BEGIN and LOOP_END.
* config/tc-bfin.c (bfin_start_line_hook): Remove. (bfin_loop_beginend): New. * config/tc-bfin.h (bfin_start_line_hook): Don't declare. (md_start_line_hook): Don't define. * config/bfin-aux.h (bfin_loop_beginend): Declare. testsuite/ * gas/bfin/loop.s, gas/bfin/loop.d: New test. * gas/bfin/loop2.s, gas/bfin/loop2.d: New test. * gas/bfin/loop3.s, gas/bfin/loop3.d: New test. * gas/bfin/bfin.exp: Add the new tests.
Diffstat (limited to 'gas/config/bfin-aux.h')
-rwxr-xr-xgas/config/bfin-aux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/bfin-aux.h b/gas/config/bfin-aux.h
index d470797..9c71939 100755
--- a/gas/config/bfin-aux.h
+++ b/gas/config/bfin-aux.h
@@ -126,6 +126,9 @@ bfin_gen_loopsetup (Expr_Node *soffset, REG_T c, int rop,
INSTR_T
bfin_gen_loop (Expr_Node *expr, REG_T reg, int rop, REG_T preg);
+void
+bfin_loop_beginend (Expr_Node *expr, int begin);
+
INSTR_T
bfin_gen_pushpopmultiple (int dr, int pr, int d, int p, int w);